PleXBMC client for XBMC

Hello.

3.0.7 was working perfectly for me.

3.1.3 is totally buggy for me, I can connect to my PMS (i think) because i can see the sections on the main menu, but i can't access to my medias in all sections, screen stay empty and i have the message "plexbmc script error" 

here is the debug log :

http://pastebin.com/gDuD1fzZ

Thank you again for your work hippojay

Noob needing help

Script failed! :plugin.video.plexbmc

running PMS 0.9.7.12-db37d6d on windows7 ultimate, plexbmc works fine on that machine.

had it running on openelec Rpi and another win7 machine until last night when i got the script failed on both.

here is the debug log for the win7 hoping this will be the easiest to fix

10:53:01 T:1448  NOTICE: -->Python Interpreter Initialized<--
10:53:02 T:1448  NOTICE: ===== PLEXBMC START =====
10:53:02 T:1448  NOTICE: PleXBMC -> running Python: (2, 6, 6, 'final', 0)
10:53:02 T:1448  NOTICE: PleXBMC -> running PleXBMC: 3.1.3
10:53:02 T:1448  NOTICE: PleXBMC -> Running with cElementTree on Python 2.5+
10:53:02 T:1448  NOTICE: PleXBMC -> Platform: Windows
10:53:02 T:1448  NOTICE: PleXBMC -> Debug is turned off.  Running silent
10:53:02 T:1448  NOTICE: HTTP response error: 401 Unauthorized
10:53:02 T:1448  NOTICE: HTTP response error: 401 Unauthorized
10:53:03 T:3800   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type:
                                            Error Contents: list indices must be integers, not str
                                            Traceback (most recent call last):
                                              File "C:\Users\Loki\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py", line 4006, in
                                                setMasterServer()
                                              File "C:\Users\Loki\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py", line 3929, in setMasterServer
                                                servers=getMasterServer(True)
                                              File "C:\Users\Loki\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py", line 2203, in getMasterServer
                                                for serverData in discoverAllServers().values():
                                              File "C:\Users\Loki\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py", line 310, in discoverAllServers
                                                return deduplicateServers(das_servers)
                                              File "C:\Users\Loki\AppData\Roaming\XBMC\addons\plugin.video.plexbmc\default.py", line 407, in deduplicateServers
                                                if onedevice['uuid'] == twodevice['uuid']:
                                            TypeError: list indices must be integers, not str
                                            -->End of Python script error report<--
 
any help would be greatly appreciated!
 
and thanks for the great work

It seems the latest version (3.1.3) is not working for me. 

I can no longer connect to my remote plex server:

Noob needing help

Script failed! :plugin.video.plexbmc

running PMS 0.9.7.12-db37d6d on windows7 ultimate, plexbmc works fine on that machine.

had it running on openelec Rpi and another win7 machine until last night when i got the script failed on both.

here is the debug log for the win7 hoping this will be the easiest to fix

Ok - I should have this fixed now.  The problem occurs when a non responding server is configured manually (i.e. hostname/ip address is input) - even though it was non-responding, it still got added as a blabk server - and hence thw errors.

The reason that they are not-responding is that they are asking for authorisation info - so I assume they are not on the local LAN.  If you want to access remote password protected servers, you can only do this via myplex.

Ok - I should have this fixed now.  The problem occurs when a non responding server is configured manually (i.e. hostname/ip address is input) - even though it was non-responding, it still got added as a blabk server - and hence thw errors.

The reason that they are not-responding is that they are asking for authorisation info - so I assume they are not on the local LAN.  If you want to access remote password protected servers, you can only do this via myplex.

I have my PMS on a dedicated ip to bypass uverse not having port forwarding built in. took me while to figure that out.

so the script error sould be fixed in the next update?

do you think there is work around i can use until then?

Thanks for all your work

Ok - I should have this fixed now.  The problem occurs when a non responding server is configured manually (i.e. hostname/ip address is input) - even though it was non-responding, it still got added as a blabk server - and hence thw errors.

The reason that they are not-responding is that they are asking for authorisation info - so I assume they are not on the local LAN.  If you want to access remote password protected servers, you can only do this via myplex.

My PMS is local, and, u r right, is configured manually because is on dedicated ip, so i think it's faster to find it than use discovery.

For the moment, i have downgraded to 3.0.7 and disabled auto update of plexbmc plugin.

Do you advise us to use disovery, or stay on 3.0.7 and wait for a fix (new version) ?

Thank you again !

I have my PMS on a dedicated ip to bypass uverse not having port forwarding built in. took me while to figure that out.

so the script error sould be fixed in the next update?

do you think there is work around i can use until then?

Thanks for all your work

To use plexbmc this weekend I have :

- uninstall plexbmc plugin 3.1.3

- disable plexbmc repo

- install plexbmc 3.0.7

It's working again, waiting for the fix :)

Good and bad news on the Netflix front.

Good news is, I got a free trial and a free vpn trial and have found out why it wasn't working.

Bad news is that this is due to an issue with the ffmpeg libraries and therefore is not fixable by me or team XBMC. Looks like it needs a newer ffmpeg that removes a 1kb limit on http requests. So this means no Netflix (and possibly other channels that use flash/silverlight and have long http requests).

Edit: Not beaten yet  :D

To use plexbmc this weekend I have :

- uninstall plexbmc plugin 3.1.3

- disable plexbmc repo

- install plexbmc 3.0.7

It's working again, waiting for the fix :)

Back up and running!!! thanks for the help

Awesome plugin, thanks for the work.

Quick request for a fix/feature

If a video has two files attached to it:

  1. When the video is selected from the user's library, the choices will display in a new window with the filenames (which is great). Is it possible to add information, such as the bitrate, to the multiple files?
  2. When the video is accessed as a shared library, no choices are displayed and it gives a script fail. 

It's pretty consistent, so you could likely find the issue if you troubleshoot it yourself; but, if you still need a log file I'll try to get one in a couple days.

I've also noticed several other script failures related to users that attempt to use shared libraries, but the multi-file video issue is most common and troublesome.

bradleytf, on 17 Mar 2013 - 06:50, said:

  • When the video is selected from the user's library, the choices will display in a new window with the filenames (which is great). Is it possible to add information, such as the bitrate, to the multiple files?

Can do - although there is a lack of space in those dialogs. A long file name, plus some extra info means it would scroll quite often.  I've put this info into the share lib view though, so it would be a flavour of what would be  available (see below - I don;t get the file name data in shared views [probably for security/privacy] so can only display file attributes)
 

  • When the video is accessed as a shared library, no choices are displayed and it gives a script fail.
It's pretty consistent, so you could likely find the issue if you troubleshoot it yourself; but, if you still need a log file I'll try to get one in a couple days.

Yes, found and fixed. problem was that the file data doesn't appear in shared library views (not sure if that was always the case though)
 

I've also noticed several other script failures related to users that attempt to use shared libraries, but the multi-file video issue is most common and troublesome.

Please report any more - I don;t tend to use shared libs, so don;t always catch all the bugs (although I have just set up a second myplex account to check sharing)

Hi all, just tired 3.0.7 this morning and then 3.1.3 and for some reason its taking 3+ mins to even get to the plex folder listings on my Pi. Any ideas? Was fine last week!

are these local or shared servers and could you provide some logs?  The discovery routine has changed, and I have to talk to each PM server individually - but it shouldn't take that long to get a responce.

plexbmc 3.1.1 and 3.1.3 seems to have problems with streaming videos with subtitles (python script crashes). 3.0.7 was OK. Remove subtitle and it plays OK.

Could you switch on debug from within plexbmc, rerun and PM me the log?  I could see what might be teh problem, but not sure why it's happening

My PMS is local, and, u r right, is configured manually because is on dedicated ip, so i think it's faster to find it than use discovery.

For the moment, i have downgraded to 3.0.7 and disabled auto update of plexbmc plugin.

Do you advise us to use disovery, or stay on 3.0.7 and wait for a fix (new version) ?

Thank you again !

The log you posted up showed a different error than this.  It's either the rare (and unidentifiable) "data passing bug" which a reboot/restart seems to clear - or it's an issue with lxml (which I haven;t tested against yet).  There are no discovery bugs in this log output.

If you are seeing 401 error messages, then these are authentication issues.  any server that is not on teh loca subnet needs to be authenticated with and this can only be done via myplex.  So you either need to access it this way, or I believe you an remove authentication from the server (you might even be able to control it from within plex, it's been a while since I looked at those).  Some more logs with debug turned on should be able to shed some light.

Hi Hippojay...

Did you give some thought to supporting "reFocus Big" with the "OnDeck" and "Recently Added" pop outs from each section "TV/Movies/Music" etc.?

Thanks...SM

Hi Hippojay

In order to use Netflix, and the like, from outside of the USA one doesn't need to run a VPN...using a service such as unblock-us.com works wonderfully...well it does for me and I'm in Australia...

-SM

Hi Hippojay

In order to use Netflix, and the like, from outside of the USA one doesn't need to run a VPN...using a service such as unblock-us.com works wonderfully...well it does for me and I'm in Australia...

-SM

Thanks - it's what I'm using to test with (although my free week runs out today I think). 

netflix appears to be working - the plexbmc fix was fairly straight forward (i just needed to pick up a new flag and drill further down) - and i have worked around the XBMC issue by manually pre-fetching the m3u8 playlist and then feeding this into XBMC.  This seems to bypass the request length limit.

Just currently working through some shared server issues and hopefully i'll release this.

The log you posted up showed a different error than this.  It's either the rare (and unidentifiable) "data passing bug" which a reboot/restart seems to clear - or it's an issue with lxml (which I haven;t tested against yet).  There are no discovery bugs in this log output.

 

If you are seeing 401 error messages, then these are authentication issues.  any server that is not on teh loca subnet needs to be authenticated with and this can only be done via myplex.  So you either need to access it this way, or I believe you an remove authentication from the server (you might even be able to control it from within plex, it's been a while since I looked at those).  Some more logs with debug turned on should be able to shed some light.

Thanks for your answer.

Well it appears to work now with 3.1.3 with autodiscovery OR manual PMS.

Also, it works both with Quartzv3 and QuartzReloaded skins.

Another question :

Can we use the "strict skin views" parameter ? Because if i try to choose any option "mediainfo", "fanart",... from any skin, nothing changes in my media section ?

Thanks

an we use the "strict skin views" parameter ? Because if i try to choose any option "mediainfo", "fanart",... from any skin, nothing changes in my media section ?

Strict skins views will only work with quartz, quartzv3 and confluence.  Just tried them on mine again and they are still working (quartz v3)

Automatic and manual installs  via link,

PleXBMC 3.1.5
 :

Updates:

  • FIX: don't add offline servers
  • FIX: Better channel support (netflix)
  • FIX: Share section script failure
  • FIX: Script crash when accessing shared media with multiple files
  • ADD: Add file attributes to media selection

https://repository-plexbmc-addons.googlecode.com/files/plugin.video.plexbmc-3.1.5.zip

PleXBMC Helper 3.1.3

Updates:

  • FIX: a crash when using XBMC overrides

https://repository-plexbmc-addons.googlecode.com/files/script.plexbmc.helper-3.1.3.zip

EDIT: Versions updated to 3.1.5 and 3.1.3 as previous release was broken

Thanks Hippojay...always glad to get your updates and really appreciate your efforts....

Strict skins views will only work with quartz, quartzv3 and confluence.  Just tried them on mine again and they are still working (quartz v3)

My mistake. i thought that any skin parameter would work with current skin (in my case quartzv3), i understand now that you have to choose quartzv3 and set the parameters.

Little problems : for movie or tv section i can choose "panel", but currently it doesn't work, when i go to my tv section, it freezes 1sec, select "list view" and show me the menu to select another view parameter.

it appears that "panel" view is not propose directly by quartzv3 in the xbmc menu.

It works well when i choose settings view like "mediainfo2", or "Big icons"

Little problems : for movie or tv section i can choose "panel", but currently it doesn't work, when i go to my tv section, it freezes 1sec, select "list view" and show me the menu to select another view parameter.
[size=4]it appears that "panel" view is not propose directly by quartzv3 in the xbmc menu.


I'll check it out.

Force views is very much a workaround for a missing XBMC feature - which is why it's a little clunky. I'm always looking for ways to make it better.