PleXBMC client for XBMC

Right - let me have a look.  I still haven;t been able to find time to test it properly, but I'll get it on my main TV tonight and see what happens.

Thanks for your time. would be perfect subtitles local + xbmc addon.

There's an undocumented Plex API  (well, as in as far as it's not immediately obvious - all the API is undocumented!) I can hit which gives a long list of valid fanart paths to use for rotating backgrounds (http://ip:32400/library/arts).  Not sure how to use it though with multi-image.  I was thinking of getting the helper to set a window property every 5 seconds which might change the background, but no idea if that would work in practise (or if there is a better way atm).

EDIT: by the way, tried Amber.  Looking good.  I'm looking at altering the script to fix the multiple "shared.." entries (if you clikc the display shared as manu item setting), which are set per media type - so just need to consolidate them, but this means running a different skin argument (as I have no real way of know what way to display the shared sections).  working on it now.

Amber looks good for me two, same problem here for the "shared" sections. Now i can't decide which skin to use between quartzv3 and amber :))

Thanks both for your work guys.

Thanks for your time. would be perfect subtitles local + xbmc addon.

Amber looks good for me two, same problem here for the "shared" sections. Now i can't decide which skin to use between quartzv3 and amber :))

Thanks both for your work guys.

It seems that you're talking about sharing your Plex media with others? If so, I have no shared stuff so I'm not able to test properly... Screenshots and explanation of this feature might help to solve it better skin wise. 

Any hope of getting Shelve Items for Aeon Nox with this running? I love XBMC's Aeon Nox 4.1.9! It is one of the, if not thee most popular skins on XBMC...

But with PLEXBMC I can't get Widgets/Shelves to work with my TV shows/Movies on the Main Menu screen...

i'm looking at this at the moment.

Any progress with Aeon Nox and shelves?

Hey. 

I have downloaded the last version from your git (3.2) and my local subtitles seems to work.

Well at the beginning it works, but always subtitles turn off after few minutes and I have to reload the movie from this moment in order to have subtitles back.

I've not been able to reproduce this from a wide range of foreign audio and subtitle media I have (Korean, french, Japanese).  They are all selecting the right audio (English if available, else the native audio language) and the correct subs (again, first english is available, else nothing is selected).  

If you can create a log file I've have a look at it and see if it's something to do with a particular configuration you have.

It seems that you're talking about sharing your Plex media with others? If so, I have no shared stuff so I'm not able to test properly... Screenshots and explanation of this feature might help to solve it better skin wise. 

Just sent on a pull request - but shared... links only turn up if myplex is switched on. Then, rather than have all shared sections on the main menu, it creates a link to a list of shared sections.  It's more to keep things tidy if you have a lot of stuff shared from other people.  Without the fix, you get a "shared..." entry for each media type (as I originally created it for quartz V3).

New%20Picture.jpg

Any progress with Aeon Nox and shelves?

I think you may have to guide me here.  Are you looking at the "featured" menu item, as I cannot see a "recently added" type linkscreen anywhere.  I've even added some stuff into the XBMC library to try and hunt it down.

I’m asking if you made it possible to include shelves for “Recent” and “On Deck” for our plexbmc shortcuts on the main menu… Like it was actually Plex and my Movies and TV shows shortcuts had Shelves/Widgets above them.

I've not been able to reproduce this from a wide range of foreign audio and subtitle media I have (Korean, french, Japanese).  They are all selecting the right audio (English if available, else the native audio language) and the correct subs (again, first english is available, else nothing is selected).  

If you can create a log file I've have a look at it and see if it's something to do with a particular configuration you have.

Hi, apparently the error is gone (on my last watched movies and tvshow no problem), I think it was my subtitles which had a problem. If the error comes back I will send you a log file.

Any clues about the xbmc subtitles plugin who doesn't work with plexbmc 3.2 ?

Just sent on a pull request - but shared... links only turn up if myplex is switched on. Then, rather than have all shared sections on the main menu, it creates a link to a list of shared sections.  It's more to keep things tidy if you have a lot of stuff shared from other people.  Without the fix, you get a "shared..." entry for each media type (as I originally created it for quartz V3).

New%20Picture.jpg

Thank you for your answer, i have the same screenshot at home.

It's in GitHub version - grab a ZIP or clone the repo.

BTW,  I'm still on 3.1.6 and everything is OK with subtitles. Can try to test with 3.2.0 later.

Any clues about the xbmc subtitles plugin who doesn't work with plexbmc 3.2 ?

Looks like an XBMC issue - when my addon is monitoring playback to update the resume time, it's stopping all other XBMC addons from running.  Seems to be a problem with blocking on some services and isn't strictly pleXBMC related.  I'm guessing it came in with 12 or 12.1?  Wh0ne did it stop working for you?

http://trac.xbmc.org/ticket/14212

EDIT: I've just added an option to turn off playback monitorng if Subtitiles are more important than tracking the resume time.  Other than that, it may be having to wait for XBMC to be fixed.

Ok, I got Netflix streaming to the Pi with this Addon!

Here is my setup:

PMS on Win 7, Netflix Addon installed

XBMC via openelec on Raspberry Pi B 512MB

Plexbmc Addon & Plexbmc Helper installed through Plexbmc repo

Plexbmc set to always transcode, source Auto. Didn't change any other settings

Caveats: Netflix Addon for PMS is limited to USA. Any other region or unblock-us region switcher do not work.

Ok I'm losing my mind here. If anyone could help I'd appreciate it. I have done all of this. 3.1.5 Plexbmc, 12.1 Frodo, Quartz V3, 3.1.3 Helper, Openelec (I had raspbmc but tried openelec just to get this working). I am in the US, changed every language/location setting to my locale. Always Transcode is on, Plexbmc works great. I can browse and view my Instant Queue, but I cannot get anything in Netflix to play. I can stream all my movies from the PMS fine. The only other issue I've noticed is when I try to go to preferences under Plex channels I get a script error. I can post the log output later when I get back home.

Any clues about the xbmc subtitles plugin who doesn't work with plexbmc 3.2 ?

Looks like an XBMC issue - when my addon is monitoring playback to update the resume time, it's stopping all other XBMC addons from running. Seems to be a problem with blocking on some services and isn't strictly pleXBMC related. I'm guessing it came in with 12 or 12.1? Wh0ne did it stop working for you?

http://trac.xbmc.org/ticket/14212

EDIT: I've just added an option to turn off playback monitorng if Subtitiles are more important than tracking the resume time. Other than that, it may be having to wait for XBMC to be fixed.


I don't get it (as always). I'm on 3.1.6 and never had a problem with either resume time or subtitle downloader. It would be unusable for me if subs were not working as this is the first thing I do when I start a movie - fire up subs downloading.

Are you running 12.1?

Indeed I am 12.1 on os x 10.8.3

Btw, I don’t have helper installed if this makes any difference.

Indeed I am 12.1 on os x 10.8.3

Just been trying this out on all my platforms and linux/Rpi and Windows both have this issue - but on OSX it works..

Here are the errors when I try to play netflix. This is selecting something from the Instant Queue. Any ideas?

Main Error:

ERROR: OpenDemuxStream - Error creating demuxer


Log area of error:
20:43:08 T:2770113632  NOTICE: PleXBMC -> getTranscodeSettings: Transcode override.  Will play media with addon transcoding settings
20:43:08 T:2770113632  NOTICE: PleXBMC -> getTranscodeSettings: We are set to Transcode, overriding stream selection
20:43:08 T:2770113632  NOTICE: PleXBMC -> getTranscodeSettings: Transcode format is m3u8
20:43:08 T:2770113632  NOTICE: PleXBMC -> getTranscodeSettings: Transcode quality is 8
20:43:08 T:2770113632  NOTICE: PleXBMC -> getTranscodeSettings: Plex Client Capability = X-Plex-Client-Capabilities=protocols%3Dhttp-live-streaming%2Chttp-m$
20:43:09 T:2770113632  NOTICE: == ENTER: transcode ==
20:43:09 T:2770113632  NOTICE: PleXBMC -> transcode: Using preferred transcoding server: 192.168.0.3:32400
20:43:09 T:2770113632  NOTICE: PleXBMC -> transcode: incoming URL is: plex://192.168.0.3:32400/video/:/webkit?url=http%3A%2F%2Fwww.netflix.com%2FWiPlayer%3F$
20:43:09 T:2770113632  NOTICE: PleXBMC -> transcode: new transcode request is: /video/:/transcode/segmented/start.m3u8?url=http%3A%2F%2Fwww.netflix.com%2FWi$
20:43:09 T:2770113632  NOTICE: PleXBMC -> transcode: Message to hash is /video/:/transcode/segmented/start.m3u8?url=http%3A%2F%2Fwww.netflix.com%2FWiPlayer%$
20:43:09 T:2770113632  NOTICE: PleXBMC -> transcode: HMAC after hash is aae74dbd0b04b1b35c9e2caab697a42cdf17b27f0e8da44103676015075dea2d
20:43:09 T:2770113632  NOTICE: PleXBMC -> transcode: Transcoded media location URL http://192.168.0.3:32400/video/:/transcode/segmented/start.m3u8?url=http%$
20:43:09 T:2770113632  NOTICE: PleXBMC -> videoPluginPlay: XBMC HSL limit detected, will pre-fetch m3u8 playlist
20:43:09 T:2770113632  NOTICE: == ENTER: getURL ==
20:43:09 T:2770113632  NOTICE: PleXBMC -> getURL: url = http://192.168.0.3:32400/video/:/transcode/segmented/start.m3u8?url=http%3A%2F%2Fwww.netflix.com%2FW$
20:43:09 T:2770113632  NOTICE: PleXBMC -> getURL: header = {}
20:43:09 T:2770113632  NOTICE: PleXBMC -> getURL: ====== XML returned =======
20:43:09 T:2770113632  NOTICE: #EXTM3U
                                            #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=4000000
                                            session/13146127-226d-4056-aeba-41099dcde7e9/8/index.m3u8
20:43:09 T:2770113632  NOTICE: PleXBMC -> getURL: ====== XML finished ======
20:43:09 T:2770113632  NOTICE: PleXBMC -> videoPluginPlay: URL to Play: http://192.168.0.3:32400/video/:/transcode/segmented/session/13146127-226d-4056-aeba$
20:43:09 T:2770113632  NOTICE: PleXBMC -> videoPluginPlay: Prefix is: system
20:43:09 T:2770113632  NOTICE: PleXBMC -> videoPluginPlay: Final URL is : http://192.168.0.3:32400/video/:/transcode/segmented/session/13146127-226d-4056-ae$
20:43:09 T:2770113632  NOTICE: == ENTER: pluginTranscodeMonitor ==
20:43:09 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Not playing yet...sleep for 2
20:43:11 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Not playing yet...sleep for 2
20:43:13 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Not playing yet...sleep for 2
20:43:14 T:3043450880  NOTICE: COMXPlayer: Opening: http://192.168.0.3:32400/video/:/transcode/segmented/session/13146127-226d-4056-aeba-41099dcde7e9/8/inde$
20:43:14 T:3043450880 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
20:43:14 T:3043450880  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
20:43:14 T:2656040032  NOTICE: Thread COMXPlayer start, auto delete: false
20:43:14 T:2656040032  NOTICE: Creating InputStream
20:43:14 T:2656040032  NOTICE: Creating Demuxer
20:43:15 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:19 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:23 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:27 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:31 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:35 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:39 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:43 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Waiting for playback to finish
20:43:44 T:2656040032   ERROR: OpenDemuxStream - Error creating demuxer
20:43:44 T:2656040032  NOTICE: COMXPlayer::OnExit()
20:43:44 T:2656040032  NOTICE: COMXPlayer::OnExit() deleting input stream
20:43:44 T:3043450880   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.plexbmc/?url=http%3A//192.168.0.3%3A32400/video/net$
20:43:44 T:3043450880 WARNING: CreateFile, successfuly opened  instead of  pluginTranscodeMonitor: Playback Stopped
20:43:48 T:2770113632  NOTICE: PleXBMC -> pluginTranscodeMonitor: Stopping PMS transcode job with session: 13146127-226d-4056-aeba-41099dcde7e9
20:43:48 T:2770113632  NOTICE: == ENTER: getURL ==
20:43:48 T:2770113632  NOTICE: PleXBMC -> getURL: url = http://192.168.0.3:32400/video/:/transcode/segmented/stop?session=13146127-226d-4056-aeba-41099dcde7$
20:43:48 T:2656040032  NOTICE: Thread Jobworker start, auto delete: true
 

Just been trying this out on all my platforms and linux/Rpi and Windows both have this issue - but on OSX it works..

Well, nice to know I'm not going mad :)

Hello all.  Relatively new user of plex here.  I have a PMS set up on a Synolgy DS412+ and I've been very happy with it so far, does everything I want (except when playing stuff on the PS3 I get the annoying cinavia thing, but that's the PS3...).  I put Plexbmc on a Pi the other night, and it all looks good, but I'm having trouble starting playback from the plex app on my phone.  I can select the Pi from the playback devices on my phone, (iPhone 4S) but when I go to play it, the Pi comes up with an "opening stream" box, but then it just goes blank and nothing plays, or I get sound and no picture.  If I start up a film using a keyboard connected to the Pi it's all fine and I can control playback using the xbmcRemote app no problem at all.

On a similar note is there anything in the pipeline to get some simple remote options in the plex phone app, such as pause, FF, RW etc?

I have Plexbmc version 3.1.4, Plexbmc helper version 3.1.2 and the Quartz skin v 0.7.5

Apologies if I've missed anything or not provided details you need.

Thanks

Oli

Hello all.  Relatively new user of plex here.  I have a PMS set up on a Synolgy DS412+ and I've been very happy with it so far, does everything I want (except when playing stuff on the PS3 I get the annoying cinavia thing, but that's the PS3...).  I put Plexbmc on a Pi the other night, and it all looks good, but I'm having trouble starting playback from the plex app on my phone.  I can select the Pi from the playback devices on my phone, (iPhone 4S) but when I go to play it, the Pi comes up with an "opening stream" box, but then it just goes blank and nothing plays, or I get sound and no picture.  If I start up a film using a keyboard connected to the Pi it's all fine and I can control playback using the xbmcRemote app no problem at all.

Yeah, I sometimes find the Pi a little quirky - i'm not sure if it's just too bust to process things on time and then stuffs up.  I generally find it chugging away trying to cache thumbnails.

On a similar note is there anything in the pipeline to get some simple remote options in the plex phone app, such as pause, FF, RW etc?

Those should already work

EDIT: with the exception of sending key strokes - as XBMC has removed this function.  You can only send text strings now in XBMC.