#63 open
Justin Drew

Plex Support

Reported by Justin Drew | May 1st, 2012 @ 07:15 AM

I recently found Maraschino through a friend and love the functionality to integrate with SickBeard, CouchPotato, SABnzbd, and Trakt. However, I prefer to use Plex instead of XBMC so don't always get the full functionality. As I didn't see this anywhere else, I wanted to make the formal request to have Plex support added. Plex is a fork of XBMC so I believe much of the backend connectivity to the database should be the same, just a matter of changing for variations I'd think.

Anyways, thanks for Maraschino and hope to see support for Plex in the future!

Comments and changes to this ticket

  • A.J. Elsinga

    A.J. Elsinga June 27th, 2012 @ 10:42 PM

    I second that.

    I wrote some very rudimentary Plex support for Maraschino. Only the modules Recently Added, Recently Added Movies and Recently Added Albums are working. There is almost no error handling.

    Just add your server the normal way and select the type, XBMC or Plex. After that configure under the Recently Added modules your library ID for that category. If you don't know what they are go to http://:32400/library/sections. In the resulting XML find your library with title= and use the number mentioned with key=

    The source is in my plexdev tree

  • Justin Drew

    Justin Drew June 29th, 2012 @ 02:39 PM

    Sweet! Glad to see this getting added. I'll give it a chance ASAP and provide some feedback.

  • Justin Drew

    Justin Drew June 29th, 2012 @ 02:50 PM

    I've cloned your repo and attempted to setup a new server but I'm not seeing where it specifies XBMC or Plex? It just appears to be the normal server setup. It also for some reason says I'm behind one commit but when I try to do a pull it says I'm up to date...?

  • A.J. Elsinga

    A.J. Elsinga June 29th, 2012 @ 02:57 PM

    Did you use the plexdev branch? I didn't put it in the master (yet)

  • Justin Drew

    Justin Drew June 29th, 2012 @ 04:42 PM

    I'm fairly certain I did... I removed the old Maraschino directory and cloned from your link. I'll try it again and see if I possibly got the master branch by accident.

  • Justin Drew

    Justin Drew June 29th, 2012 @ 04:52 PM

    Alright, so I did a new clone from your repo and I'm still only seeing XBMC Servers under the settings cog on the right. I don't see anything where I tell it it's Plex instead of XBMC. The settings for the server appear to be the same as for XBMC is what I mean. It's stuck saying I'm one commit behind also:

    11:49:11 :: INFO :: UPDATER :: Update available, you are 1 commits behind
    11:49:14 :: DEBUG :: UPDATER :: Trying to execute: "git pull origin master" with shell in /Applications/maraschino
    DEBUG:MAIN:UPDATER :: Trying to execute: "git pull origin master" with shell in /Applications/maraschino
    11:49:15 :: DEBUG :: UPDATER :: Git output: From https://github.com/elsingaa/maraschino
    * branch master -> FETCH_HEAD Already up-to-date.

    DEBUG:MAIN:UPDATER :: Git output: From https://github.com/elsingaa/maraschino
    * branch master -> FETCH_HEAD Already up-to-date.

    11:49:15 :: INFO :: UPDATER :: Already up to date
    INFO:MAIN:UPDATER :: Already up to date
    11:49:15 :: DEBUG :: UPDATER :: Git output: From https://github.com/elsingaa/maraschino
    * branch master -> FETCH_HEAD Already up-to-date.

    DEBUG:MAIN:UPDATER :: Git output: From https://github.com/elsingaa/maraschino
    * branch master -> FETCH_HEAD Already up-to-date.

    11:49:15 :: INFO :: UPDATER :: Update complete
    INFO:MAIN:UPDATER :: Update complete
    11:49:15 :: INFO :: Restarting Maraschino with: ['/usr/bin/python', '/Applications/maraschino/Maraschino.py']
    INFO:MAIN:Restarting Maraschino with: ['/usr/bin/python', '/Applications/maraschino/Maraschino.py']
    11:49:15 :: INFO :: Opening database at: /Applications/maraschino/maraschino.db
    11:49:15 :: DEBUG :: UPDATER :: Trying to execute: "git rev-parse HEAD" with shell in /Applications/maraschino
    11:49:15 :: DEBUG :: UPDATER :: Git output: e9322a1c2fb6893049e8d274adecd77c13a82263

    11:49:15 :: INFO :: UPDATER :: Checking for updates

    I do believe I see the Recently Added Episodes, Movies, and Albums; but I can't recall if those were there for the XBMC version or not.

  • A.J. Elsinga

    A.J. Elsinga June 29th, 2012 @ 05:33 PM

    It looks as if it is still getting the master branch.

    If you git clone -b plexdev use git://github.com/elsingaa/maraschino.git you clone the plexdev branch, instead of the master.

  • Justin Drew

    Justin Drew June 29th, 2012 @ 10:55 PM

    Alright, it looks like I got it working! Strange that I wasn't grabbing the right one. Anyways, I got the Recently Added functionality working, which looks pretty cool. Can't wait to see more functionality be added in the future. If you don't mind, I'll be happy to make a post on the Plex forums to help spread the word and get some more testers for you.

  • A.J. Elsinga
  • Justin Drew

    Justin Drew July 1st, 2012 @ 02:46 AM

    Alright, I've created a new thread on the forums to let everybody know about Maraschino and about thew new functionality. You can find it here - http://forums.plexapp.com/index.php/topic/43555-maraschino/. I've tried to give a step by step example to get OS X users up and running with it quickly I hope. I've instructed all issues to be reported here and that you won't be watching that thread for issues. I've also explicitly stated this is still beta. I used the two snap shots of Maraschino you have on the project page but uploaded to the forums (to prevent bandwidth drains on your project page); I hope you guys don't mind.

    Anyways, can't wait to see more functionality added in the future and more users I hope!

  • gugahoi

    gugahoi July 1st, 2012 @ 05:39 AM

    • State changed from “new” to “open”
    • Tag set to plex

    Wow! I think this is awesome! I do not use Plex whatsoever but am very happy that plex users will be able to use the software too!

    @Elsinga -- I commend you for your work. When you feel you have made good progress, please open up a PR and we will do our best to quickly merge this in. Furthermore when I am finished with my current todo list for Maraschino I can try and help you with the coding a bit. How did you find Plex's api to be in comparison with XBMC's? Is the code heavily changed?

  • A.J. Elsinga

    A.J. Elsinga July 1st, 2012 @ 08:22 AM

    The XBMC API is based on JSON IIRC, Plex is based on XML. It's all browseable from http://:32400/

    As soon as I cleaned up the code some more I will do a PR.

  • Jonathan Jacob

    Jonathan Jacob July 6th, 2012 @ 01:14 AM

    I have maraschino running however my log is paused at: INFO :: UPDATER :: Up to date
    When I launch a browser page to maraschino- Its blank.

    21:10:20 :: INFO :: Opening database at: /Applications/maraschino/maraschino.db
    21:10:20 :: CRITICAL :: Opening database failed
    21:10:20 :: WARNING :: Checking if PATH exists: /Applications/maraschino/maraschino.db
    21:10:20 :: INFO :: Database successfully initialised
    21:10:20 :: DEBUG :: UPDATER :: Trying to execute: "git rev-parse HEAD" with shell in /Applications/maraschino
    21:10:20 :: DEBUG :: UPDATER :: Git output: d5ad124b01a10841bcb9d3d8b0ffa021806ca84a

    21:10:20 :: INFO :: UPDATER :: Checking for updates
    21:10:20 :: INFO :: TRAKT :: Creating dir /Applications/maraschino/static/images/trakt/shows
    21:10:20 :: INFO :: TRAKT :: Creating dir /Applications/maraschino/static/images/trakt/movies
    21:10:21 :: INFO :: Starting Maraschino on 0.0.0.0:7000
    21:10:21 :: INFO :: UPDATER :: Up to date

    any help is appreciated.

  • A.J. Elsinga

    A.J. Elsinga July 8th, 2012 @ 03:46 PM

    Are you getting the initial green screen with grass and droplets? If yes: you'll have to add servers with the menu on the top right. After that you can add recently added movies or series to the main screen. You add the widgets with the cog on the top left of the screen.

    It looks like the database is being created, so no problems there.

  • Perplexed

    Perplexed September 9th, 2012 @ 10:47 AM

    This project has great potential. I have just begun working to get the recently added widget to link into plex's new webclient (http://elan.plexapp.com/2012/08/28/part-3-introducing-the-new-plex-...).

    Imagine an entire htpc experience within the browser!

  • marty gworek

    marty gworek September 21st, 2012 @ 03:29 PM

    Trying to get this to work with my plex server. It keeps telling me its having trouble connecting to my server.

    I have the ip and port 32400 listed in the config for the xbmc port. I do not have anything under username or password.

    Any thoughts?

    Thanks

  • Alex Tripp

    Alex Tripp April 17th, 2013 @ 02:28 PM

    I have followed the instructions to install this and when I start it up I receive this error when I navigate to the web page:

    JavaScript evaluation error: 'ReferenceError: LESS_WEBROOT is not defined'

    http://myurl.com:7000/static/less/site.less on line 1, column 25:

    1
    
    @import "module-applications.less";
    
    2
    
    @import "module-currently_playing.less";
    

    JavaScript evaluation error: 'ReferenceError: LESS_WEBROOT is not defined'

    http://myurl.com:7000/static/less/base.less on line 2, column 0:

    1
    
    @import "webroot.less";
    
    2
    
    3
    
    /*--- reset and fixes ---*/
    
    Remote control
    Search
    Edit
    Manage
        Misc settings
        Server settings
        Check for updates
        View log
        Restart
        Restart
        Shutdown
        Shutdown
    Media servers
        Add server...
        Add
    

    There is a newer version available, you are 350 commits behind. Update Now Dismiss
    Welcome to Maraschino

    Just a few simple steps to get started:

    Click here to enter your XBMC server settings so that Maraschino knows what was recently added, can browse your library, etc.
    Hover over the top-left corner of the page and click the cog icon to enter configuration mode. From here you can customise Marschino by adding modules.
    

    Need help? Visit maraschinoproject.com or click the Maraschino logo in the top left.

    • Add module

    • Add module

    • Add module

  • Alex Tripp

    Alex Tripp April 17th, 2013 @ 02:29 PM

    Forgot to sanitize my URL there, anyway to edit?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Open-source front-end for XBMC HTPCs

Shared Ticket Bins

Tags

Pages