Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plex support for Maraschino #285

Open
wants to merge 113 commits into
base: master
Choose a base branch
from
Open

Plex support for Maraschino #285

wants to merge 113 commits into from

Conversation

bob3695
Copy link

@bob3695 bob3695 commented Jan 19, 2013

This is not 100% complete but is at a stable point where it can be brought into the main repo for people to start enjoying.

elsingaa and others added 30 commits June 22, 2012 15:13
@Hellowlol
Copy link

Any news on this @N3MIS15 ? It would be a awesome addition.

@N3MIS15
Copy link
Collaborator

N3MIS15 commented Jun 23, 2013

I'm sure it would, but its just too hacky and incomplete as it stands IMO. I have other pull requests to try and make the core XBMC stuff more flexible. Personally I dislike plex and their antics, I will not be offering support for any of the plex features (I am not a user of plex and most likely never will be). I am however more than happy to try and expand Maraschino's usability if the authors of this PR are willing to follow thru with any issues that may arise.

This may be a rant, but you need to understand that once something gets pulled into master it needs to be supported. I will not be offering any plex related support since I have never really used it and dont plan too.

@that1guy
Copy link

@N3MIS15 This is sad to hear. The Plex community is thriving, and rightly so - the Plex team has done wonderful and creative things to benefit HTPC users (I love the web interface, and the PMS to decentralize the server vs. clients), XBMC has some cool tricks up it's sleeve too. We all have our opinions on which product is better, and we're all smart enough people to make either product do what we want it to do. I believe your stance on only supporting XBMC is only limiting the success of Maraschino... thus, I am sad. Thanks to those who have taken the time to write the code to make this work.

@gugahoi
Copy link
Collaborator

gugahoi commented Oct 13, 2013

@that1guy I do agree with you that the choice of no Plex support is not helping Maraschino grow however this was not the point raised. As you did say it is more of a personal matter and replicating the features used towards XBMC in this project into another software is no easy feat. Even if we, Maraschino developers, have our own strong opinions about it, none of us are familiar with Plex therefore it does not make sense to implement it. Having that said if I personally had the time to do it I would be glad to however at this point in time it is just not feasible. Everyone is welcome to do the modifications they please tho, this is why open source is so awesome, doesn't mean it will go into the master repository.

@dpippin
Copy link

dpippin commented Feb 2, 2014

@N3MIS15 I Would love to see this ported to Plex also. Hopefully the day will come around where it will support it or perhaps something better will come along. Although I have never used Maraschino it looks nice. Keep up the good work. Thanks!

@gugahoi
Copy link
Collaborator

gugahoi commented Feb 11, 2014

Soooo I am thinking of trying to go for a merge here. It would require heaps of testing so I would like to ask for some help if people can. To start off, I dont use plex but I'll find a way to get it properly setup and then I'll need to familiarize myself with the backend. Are this PR and the other plex related one a single one or are they completely different?

@N3MIS15
Copy link
Collaborator

N3MIS15 commented Feb 11, 2014

Meh, I am against merging this. Its too incomplete and tacked on.

@gugahoi
Copy link
Collaborator

gugahoi commented Feb 11, 2014

Doesnt need to be in it's current state. I want to find the best possible implementation within my abilities. Maybe after some work I'll get to the same conclusion you have...

@N3MIS15
Copy link
Collaborator

N3MIS15 commented Feb 11, 2014

There are things XBMC can do that plex cant (and possibly visa versa).

When i re-wrote the library module, i purposely named everything "xbmc" with the intention of having plex and xbmc modules seperate so that 1 did not influence the other in a bad way.
I will jump on irc and explain my thinking a bit more if you like..

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 16, 2014

Ok guys so since people dont seem to be replying here and I could not get it to work I have taken upon myself to develop something.
You can find it here: https://github.com/gugahoi/maraschino/tree/plex
I have stripped out all XBMC related things and have started interfacing with Plex. Development will prob be slow and I am not sure if it will ever become as useful as XBMC's integration since Plex has a totally different approach to things and no documentation relating their interface.
Hope people find it useful and would love for feedback and ideas.

@ramdodger
Copy link

@gugahoi i've tried to pull your latest development and test as i'm also very interested in getting this to work with plex but i get prompted for authentication when initiating the pull...

@ramdodger
Copy link

@gugahoi i was able to pull through a zip file and get it working. looks great! think there is any way you could add the ability to click on a recently added TV show or Movie and open the Plex web interface? let me know if you need assistance with this moving forward. i'd love to see this project moving again.

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 16, 2014

@ramdodger my bad, didnt even know this was a feature in github but must have made something wrong. I'll check it out and fix it. For the moment tho all I have done is display the stuff in the "on deck" session. I am not sure how I will go about developing things further since I cant seem to find the documentation for the plex stuff. I already know they have some big problems with getting json information out of some sections which kind of sucks since I hate dealing with xml files. Definitely open to ideas about everything tho.

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 16, 2014

@ramdodger i tried to checkout the branch on a remote machine and everything seemed fine. These are the steps if you wish to still use git:

git clone git://github.com/gugahoi/maraschino/
cd maraschino
git checkout plex

Let me know if you still have any problems. I am still studying Plex's stuff but for now it's mostly guessing since I cannot for the life of me find their docs. If anyone knows where they are please let me know.

@Watso4183
Copy link

http://dev.plexapp.com/docs/api/
On Mar 16, 2014 7:08 AM, "Gustavo Hoirisch" notifications@github.com
wrote:

@ramdodger https://github.com/ramdodger i tried to checkout the branch
on a remote machine and everything seemed fine. These are the steps if you
wish to still use git:

git clone git://github.com/gugahoi/maraschino/
cd maraschino
git checkout plex

Let me know if you still have any problems. I am still studying Plex's
stuff but for now it's mostly guessing since I cannot for the life of me
find their docs. If anyone knows where they are please let me know.

Reply to this email directly or view it on GitHubhttps://github.com//pull/285#issuecomment-37754368
.

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 16, 2014

I think thats their internal plugin functions, i could be wrong tho. I need the info like how to access the servers id remotely to read it's functionality and library and stuff like that. So far I know how to get basic info but there are tons of things in there I have no idea of their use like librarySectionUUID. I want a document explaining that for example.

@Watso4183
Copy link

Sorry about that. I'm thinking this is what your looking for then:

https://plexapp.zendesk.com/hc/en-us/articles/201638786-Plex-Media-Server-URL-Commands

I'll have to take a look at your fork and see if I can lend any help.

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 17, 2014

Oh perfect, thats some of the info I need. I'll be reading it up later today.

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 18, 2014

@ramdodger I managed to add links to the web interface and also episode numbers, still learning tho. Maybe you can do some feature requests over on my own repo? That might be easier to track things regarding plex and give me ideas.

@ramdodger
Copy link

I was able to clone the latest release, looks great! the only issue i am
having is that i;m unable to use "My Plex" credentials for authentication. In fact i need to leave the username and password fields blank to see any content. when i click on an episode it opens up the plex web interface and i get "media server not found."

On Tue, Mar 18, 2014 at 9:36 AM, Gustavo Hoirisch
notifications@github.comwrote:

@ramdodger https://github.com/ramdodger I managed to add links to the
web interface and also episode numbers, still learning tho. Maybe you can
do some feature requests over on my own repo? That might be easier to track
things regarding plex and give me ideas.

Reply to this email directly or view it on GitHubhttps://github.com//pull/285#issuecomment-37932648
.

Bobby Anderson

@Wraithers
Copy link

@gugahoi Hi there, I just came across Maraschino, and then this thread since I'm a Plex user and wanted to say thanks for the effort, so far. I cloned the repo, installed it and have it running for Couchpotato and Sickbeard.

However, in the Plex module, when I click on any movie/TV show, plex.tv/web opens and I get a message saying 'Media server not found', just like @ramdodger. I opened up the plex.tv/web server myself and noticed the issue was the URL structure.

For example with Bates Motel, the URL Maraschino opens is:
http://plex.tv/web/app#!/server/False/details/%2Flibrary%2Fmetadata%2F8132%2F,
while the Plex web app loads it as:
http://plex.tv/web/app#!/server/db4f5914c3c848e17ffd2869b71aca466512b355/details/%2Flibrary%2Fmetadata%2F8132%2F

As you can see, where the server ID (?) - db4f5914c3c848e17ffd2869b71aca466512b355 - is supposed to be, Maraschino instead writes it as False.

I will open an issue on the Plex tree as well, just thought I'd post here as well to corroborate what @ramdodger said yesterday.

@Wraithers
Copy link

@gugahoi Ah, it seems there's no 'Issue' tab on the right-side. I'm relatively new to GitHub, so am I missing something..?

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 20, 2014

@Wraithers @ramdodger Yes I suspected that could be an issue. At the moment I chose to pick the server based on the internal IP address from Maraschino's own settings so if your plexserver is located at 192.168.0.25 then use that in maraschino's own settings and it should work (it does for me at least). We should move this discussion somewhere else. Post it in my own repository at http://github.com/gugahoi/maraschino

@ramdodger
Copy link

i hope you are not giving up on this project and are working on other
things. id really like to see the "recently added" section in the Plex
module as well as the ability to choose Plex server or use "myplex" as an
alternative as i think people would like to use this outside of their
network, like i do.

On Thu, Mar 20, 2014 at 1:20 AM, Gustavo Hoirisch
notifications@github.comwrote:

@Wraithers https://github.com/Wraithers @ramdodgerhttps://github.com/ramdodgerYes I suspected that could be an issue. At the moment I chose to pick the
server based on the internal IP address from Maraschino's own settings so
if your plexserver is located at 192.168.0.25 then use that in maraschino's
own settings and it should work (it does for me at least). We should move
this discussion somewhere else. Post it in my own repository at
http://github.com/gugahoi/maraschinohttps://github.com/gugahoi/maraschino

Reply to this email directly or view it on GitHubhttps://github.com//pull/285#issuecomment-38136094
.

Bobby Anderson

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 30, 2014

@ramdodger Not sure if you have seen the branch over on my repository. There is an initial implementation but I havent had a lot of time this past week and dont see myself spending a lot of time on it for another couple of weeks. Doesnt mean I gave up just not at the top of my prority list right now. I would love it if you could test things over there and let me know ur opinion and ideas so that when I do sit down to code I can know on what to focus.

https://github.com/gugahoi/maraschino/tree/plex

@gugahoi
Copy link
Collaborator

gugahoi commented Apr 7, 2014

@ramdodger I have worked on it a bit more this past weekend and have added a significant amount of features. There are now recently added modules for photos, albums, episodes and movies and a now playing bar. Users can change the servers from servers associated with their myPlex account too however at the moment it has to be a server local to maraschino as I am using the local ip address.

Here is how it is looking:
screen shot 2014-04-07 at 11 54 54 am

PS.: I am considering closing this PR since the owner has not spoken in a while and I couldn't get anything to work from it.

@Hellowlol
Copy link

Looks great @gugahoi !

@Syco54645
Copy link

@gugahoi I will gladly test. I have it running off of the plex branch on unraid but am not seeing any of the plex related modules. Am I missing something? Maybe it is not running correctly...

@gugahoi
Copy link
Collaborator

gugahoi commented Aug 2, 2014

@Syco54645 I have now dedicated my repository for Maraschino for Plex, just use the master branch over there and if you are moving your db from the xbmc version you will need to sign in to plex from Maraschino on the top right hand corner menu. Otherwise, if starting from scratch just follow the instructions on start up and you should be good. Let me know if you are still having problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet