Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Installing plugins

stormeriderstormerider Posts: 758Members, Plex Pass ✭✭
If you don't have a client around to use the app store, how can you go about installing plugins? I have Windows, Linux, and Roku in the house... none of these allow the use of the app store for plugin management. I'd be really curious to get a plugin for CBS working, as a lot of the shows I watch are from there.

Thanks!

Comments

  • EleminohpEleminohp Posts: 2Members
    I am also in the same boat...I can't find anywhere to install the plugins
  • EleminohpEleminohp Posts: 2Members
    I am also in the same boat...I can't find anywhere to install the plugins
  • hippojayhippojay Posts: 958Members, Plex Pass Plex Pass
    What client do you use for watching movies? Just the roku?
  • robertpolsonrobertpolson Posts: 133Members
    edited September 2011
    How do I add a plugin in UBuntu?

    I thought that this would work:

    Download the plugin. The use the "sudo mv" command to move the bundle plugin to Plug-Ins folder.

    "sudo mv /media/Media\ ext4/KinoPoisk.bundle/ /usr/lib/plexmediaserver/Resources/Plug-ins"

    source --> destination folder

    This is where plugin in Ubuntu are "/usr/lib/plexmediaserver/Resources/Plug-ins"

    However, the plugin kinopoisk does not show up in Agent section of PMS.

    How do I make it work?
  • leonsioleonsio Posts: 77Members
    look at your library path, it contains plugin directory too

    the library path is: "${HOME}/Library/Application Support" HOME = your user

    then put the plugin in the plugin folder under library path

    example by me
    /mnt/daten/Plex/Library/Application Support/Plex Media Server/Plug-ins
  • robertpolsonrobertpolson Posts: 133Members
    leonsio wrote:

    look at your library path, it contains plugin directory too

    the library path is: "${HOME}/Library/Application Support" HOME = your user

    then put the plugin in the plugin folder under library path

    example by me
    /mnt/daten/Plex/Library/Application Support/Plex Media Server/Plug-ins


    Are you referring to Apple OS file structure or Ubuntu, because what you have listed is valid for Mac but not for Ubuntu linux? There is no such thing as "${HOME}/Library/Application Support" in my Ubuntu installation.
  • leonsioleonsio Posts: 77Members
    take a look on the start_pms script ;)

    root@mediastore:~# cat /etc/default/plexmediaserver 
    # default script for Plex Media Server
    
    # the number of plugins that can run at the same time
    PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
    
    # ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
    PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000
    
    # where the mediaserver should store the transcodes
    PLEX_MEDIA_SERVER_TMPDIR=/tmp
    
    # uncomment to set it to something else
    # PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support"
    PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/mnt/daten/Plex/Library/Application Support"
    


    root@mediastore:~# cat /usr/sbin/start_pms 
    #!/bin/sh
    
    #change these parameters in /etc/default/plexmediaserver
    export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
    export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
    export PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000
    export PLEX_MEDIA_SERVER_TMPDIR=/tmp
    export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application Support"
    
    test -f /etc/default/plexmediaserver && . /etc/default/plexmediaserver
    
    export LD_LIBRARY_PATH="${PLEX_MEDIA_SERVER_HOME}"
    export TMPDIR="${PLEX_MEDIA_SERVER_TMPDIR}"
    
    echo $PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS $PLEX_MEDIA_SERVER_MAX_STACK_SIZE $PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR
    
    ulimit -s $PLEX_MAX_STACK_SIZE
    
    (cd /usr/lib/plexmediaserver; ./Plex\ Media\ Server)
    
  • robertpolsonrobertpolson Posts: 133Members
    edited September 2011
    I am so confused about this. Are you using Ubuntu or some other Linux distor?

    I have no folders inside /mnt/ other than the one I created exfat.

    Inside my "/home/asus/" user folder there is no "Library" folder.

    Do I have to manually create an Application support folder in my user home folder?

    I can't figure out where ${HOME} is.

    Please take a look at my screenshots.

    [attachment=8140:folders.jpg]

    Plex:

    [attachment=8141:plugins.jpg]
  • robertpolsonrobertpolson Posts: 133Members
    edited September 2011
    I finally figured out what you were talking about. However, I know have a new problem. Since I added the new application support folder, my entire Plex library is gone? How do I locate my previous/origianl Plex user library and move/copy it to the new application support folder?

    Edit 1: I am also confused why can't I just add MyPlugin.bundle to "/usr/lib/plexmediaserver/Resources/Plug-ins", change permission to root and use it? All other plugins are there, but Plex does not recognize MyPlugin when I copy it there.

    Edit 2: I just followed your instructions and made the PLugin work. However, Plex now has to rescan everything and recreate everything. How do I backup my data for future reference?

    P.S. Thank you for your help.
  • georgechogeorgecho Posts: 2Members

    I finally figured out what you were talking about. However, I know have a new problem. Since I added the new application support folder, my entire Plex library is gone? How do I locate my previous/origianl Plex user library and move/copy it to the new application support folder?

    Edit 1: I am also confused why can't I just add MyPlugin.bundle to "/usr/lib/plexmediaserver/Resources/Plug-ins", change permission to root and use it? All other plugins are there, but Plex does not recognize MyPlugin when I copy it there.

    Edit 2: I just followed your instructions and made the PLugin work. However, Plex now has to rescan everything and recreate everything. How do I backup my data for future reference?

    P.S. Thank you for your help.



    Hi
    Can you please tell me what exactly you did to get your plugin to load (be visible under Preferencess > Agents?) I'm trying to load a similar plugin for eTVnet.com.

    Thnx,
    George
  • jimapplebeejimapplebee Posts: 6Members, Plex Pass Plex Pass

    I know this is an old forum topic but I was banging my head against this one for an hour or two as well.  

    Plex Plugins are in 2 locations in Ubuntu 12.  

    /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/  Is where you put the *.bundle in order for it to show up in Plex Channel list.  

     

    The "stock" bundles that come standard are located:  /usr/lib/plexmediaserver/Resources/Plug-ins 

     

    Hope this helps.  

     

    Jet

Sign In or Register to comment.