styxit / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
http://htpc.io
MIT License
530 stars 181 forks source link

Plex integration #16

Closed svenvg93 closed 10 years ago

svenvg93 commented 11 years ago

Will there be in the future integration with Plex?? and possibly in what time frame???

maxdmyers commented 11 years ago

Not much, sorry. My dad was in the hospital for a bit. I should be able to resume work tomorrow. I’ll post an update with where I leave off.


Max Myers

On Monday, October 28, 2013 at 10:31 AM, svenvg93 wrote:

@maxdmyers (https://github.com/maxdmyers) is there has been some progress??

— Reply to this email directly or view it on GitHub (https://github.com/styxit/HTPC-Manager/issues/16#issuecomment-27215995).

svenvg93 commented 11 years ago

Okew, I hope everything goes well with your dad. Take your time.

styxit commented 11 years ago

I think @joen-mauritzon is (also?) working on this. At least he made some commits regarding plex. I'm not sure if this is for his personal use or maybe will send a pull request once he's finished.

maxdmyers commented 11 years ago

Yup, looks like he's got it. I'm stopping work on this indefinitely, unless he refuses to submit a pull request for some reason.

svenvg93 commented 11 years ago

Do you guys have an link. So we can see it.

roboroy commented 11 years ago

https://github.com/joen-mauritzon/HTPC-Manager

styxit commented 11 years ago

I would recommend to wait until this has been finished and accepted as a pull request before using this on a daily base.

wazoo commented 11 years ago

That fork doesn't work, the section IDs are hard coded in which won't work (i.e. Movies are 1), its a good first try though. It does require that python-lxml be installed and allow without authentication on local networks enabled, though.

styxit commented 11 years ago

That is probably also the reason is is not yet merged or made public :stuck_out_tongue_winking_eye: Like i said, better wait until it has been merged into my master-branch or someone else finishes the plex integration.

wazoo commented 11 years ago

Yeah, I was just curious and couldn't resist :) Maybe I will fix what he has already, it has the basic functionality for "Latest Movies" and "Latest TV" but I don't think it exposes any control.

fonix232 commented 11 years ago

Pretty interesting integration of Plex into the main view, replacing XBMC... Makes me question, what happens if a user wants both?

I believe we might need more flexibility on the front page, e.g. a drag-n-drop widget system. I know it means a LOT of work, and sounds easier than being done, but it would definitely profit in the future, as the features expand.

svenvg93 commented 11 years ago

Any updates??

joen-mauritzon commented 10 years ago

I see that you're talking about my fork here. I made it mainly for fun (learn some Python) so I'm not sure if I get enough time to actually finish it. The front page works for me (and thats mainly the page I use), thats why I kind of stopped working on it. I might try to get some time into it, but since I move to a house soon I dont think I'll have much spare time in the near future.

shapetheLOLa commented 10 years ago

What a shame :(

joen-mauritzon commented 10 years ago

Indeed, its a shame. I added some more stuff just now, but there is still a lot of stuff missing.. Styxit has been busy with the functionality in the standard version ;)

svenvg93 commented 10 years ago

How goes the development?

wazoo commented 10 years ago

@svenvg93 Are you aware that every time you ask for an update it emails everyone on this thread? If you want to see progress you could try contributing some code, if not then I imagine someone will post an update when there is one.

tester22 commented 10 years ago

Would be great if someone with a huge library could test this: https://github.com/tester22/HTPC-Manager I don't have that many items in my library and I am working on optimizing the speed.

tahngarth commented 10 years ago

@tester22 Just loaded it up and it's definitely on the slow side. It seems to load about 4 covers per second. It also got hung up on an image, it spent at least a minute then I assume timed out and continued on. I also noticed that all movies gets grouped into a single "Movies" group and all TV gets lumped together ( I have Anime, Kids TV and TV). It's looking awesome so far though, thanks!

shapetheLOLa commented 10 years ago

I also loaded it just up. I have about 150 Movies and it loaded rather fast, I don't know what server version tahngarth is running or maybe he considers big libraries from 500 Movies upwards :D Also I do have about 50 TV Shows and also there id did load up pretty fast, great work !

tester22 commented 10 years ago

@tahngarth I decided to make the Plex integration as similar to the XBMC as possible. Therefor I am merging all sections prior to sending data back to the user (this might be the bottleneck). Would it be better if I split the library in sections? If so I could use paginate on the serverside and that would hopefully reduce the loadtime alot. But it seems strange that it takes that long. What hardware are you using. I am using a Raspberry Pi as HTPC server and my Plex Server is on a Readynas and with that minimal hardware I load the 50 images in 4-5 sec.

styxit commented 10 years ago

Loading times on xbmc (and probably also your plex module) can be really long when loading the images if PIL is not installed. because the full size images are downloaded every time without resizing and probably also with our caching.

tahngarth commented 10 years ago

Exactly 250 movies around 23 seconds to load. 179 TV shows and it took about 10 seconds. It didn't' seem to get hung on any and went much faster this time. The server is a 6 core amd 16 gigs of ram, HTPC Manager and Plex running on different VM's within that server. "Would it be better if I split the library in sections?" Define sections, chunks of the alphabet, or unmerging the similar media types (TV, Anime, etc)? I actually don't consider my library large, I'd say medium at best. Is the Latest Movies/Latest TV shows expected to work at this point?

tahngarth commented 10 years ago

Installed pillow (for some reason I installed python 32 and can't find a 32bit PIL installer) and it definitely made things much faster.

tester22 commented 10 years ago

Ok will split the library in sections. Recently added is not working yet but had some progress with other things today. image

styxit commented 10 years ago

@tester22 If you need any help or information from me, just let me know. If you can get Plex up and running smoothly, i would be happy to merge it into the main branch!

svenvg93 commented 10 years ago

@tester22 Great work!! I look forward to the functions you want to build in.

Robpollard commented 10 years ago

Hi! I'd be delighted to see this in HTCP-Manager. I'm running it on a Synoloy NAS and having access to plex would be aweseome, since I don't use XBMC.

mbnn commented 10 years ago

When can this be merged into the master branch? Cause it works like a charm!

JanStevens commented 10 years ago

Yes I would love to see a merge of this to the master branch

styxit commented 10 years ago

@tester22 any comment on this? Are you planning on adding any crucial functions soon, or is this ready for merging?

tester22 commented 10 years ago

I planned to add a couple of features before this was merged but havn't been able to finish them:

But maybe it can be merged sooner.

21 feb 2014 kl. 21:38 skrev Styxit notifications@github.com:

@tester22 any comment on this? Are you planning on adding any crucial functions soon, or is this ready for merging?

— Reply to this email directly or view it on GitHub.

firstchair commented 10 years ago

+1

tester22 commented 10 years ago

@tahngarth I have made some changes to how data is loaded from Plex so would be nice if you could test it and let me know if it works better now.

tahngarth commented 10 years ago

Sorry, was out of town. Seems to load a lot faster now, if it loads at all. The very first time I tried it the movies section never loaded, as soon as I refreshed it it loaded very nicely. Haven't had an issue since.

tester22 commented 10 years ago

Great the issue with the first load was probably due to an old version of the javascript loaded in the browser. Will try to tidy up the code and add some more features before it is time for a pull request. This is wha't I am planning to add before the pull request:

styxit commented 10 years ago

Good to see this is still continuing!

hashworks commented 10 years ago

Would love to see this in here as well.

tester22 commented 10 years ago

I am almost done with the integration now. There are some javascript issues that needs to be fixed and once that is done I will make a Pull request.

shapetheLOLa commented 10 years ago

Any idea when this will be implemented in main branch? :(

styxit commented 10 years ago

Just wait until @tester22 says its ready.