PleXBMC client for XBMC



I can't get concerts to show up under music, but I can stop them displaying under movies if that helps.

EDIT: try this, look under debug and set the RA library filter to 10: https://github.com/downloads/hippojay/plugin.video.plexbmc/plugin.video.plexbmc-v2.1.1.zip PLus it's not wasted work, as I think i'll put a content rating type filter to make the shelf more child friendly

Also, i have re-uploaded a version of the quartzv3 skin with debugging turned off. its under the same URL as before.


Well, never mind. Thanks, hippojay!
I can live with that. And maybe one day we'll get the [much requested](http://forums.plexapp.com/index.php/topic/21884-music-video-section/page__hl__concerts) proper MusicVideo section...

hippojay, how about a repository for the 2 skins and plexbmc v2? :slight_smile:

So we can update from within xbmc, would be a lot easier for lazy people like me :slight_smile:



Cheers,

Joris

Could you enable all 3 Fanart views within all sections?



As an example currently the On Deck view only shows Fanart 3 but not Fanart 1 and 2 views



If I remember correctly, fan art views are disabled by default with quartzv3. Have you checked under settings -> skin to see if they are enabled?


This is so much more convenient than doing things manually.

Any chance we can get one for seasons?

Thanks

On my mac, osx 10.8.2, my ethernet card had ipv6 configured as “automatically”; plexbmc had trouble browsing my movies or tvshows, but retrieved the section names. Looking at the log, it seemed to try browsing the plex API using the ipv6 address.

After setting ipv6 to “link-local only” (whatever that means!) it works fine; the log is showing its using ipv4 addresses.

Will there be any updates to aeon nox? I like that skin very much and it seems to work mostly fine, but it seems to be missing fanart backgrounds for all the plexbmc sections; Also a way to force the type of views like in Quartz would be nice.

I also noticed that there’s a “widget” for recently added movies or shows in the settings, but I haven’t been to see it appear anywhere. Was that operational?



Thanks



Okay so if my concerts section is key=4, and I want to remove them from the movies shelf, I would make it look like this?






When I did this I lost not just the concerts, but also the movies. The shelf becomes blank (although maybe the movies were never there because all I saw on the shelf were concerts anyway). I also noticed that my TV show shelf is blank. Music shelf is fine, and the add-on shelf works, although it says "recently added albums" at the top.

Other than those small things, this is working AMAZING so far! I am so happy you added a way to enforce skin views too. That was the one thing that drove me crazy during the beta. Awesome work. Thanks!

You just need to set it as you would a normal setting from within XBMC (no need to edit any files). If you turn on debugging you’ll see the sections being skipped if they match the key. If music is present, then it would appear to be correctly filtering the sections.



I’ll fix that heading title and see if I can think of a way to indicate an empty shelf (so that you know it’s empty, rather than not showing up)



Ah I see the option now. Unfortunately it doesn't seem to work. I put a 4 next to RA library filter, and it didn't do anything. The concert items are still in the shelf. Also, any idea why recently added movies and TV shows aren't appearing?

Also, I noticed another bug. The watched indicator appears next to every single TV series and all TV seasons, even though many of the series and seasons have been completely watched. The watched indicators for individual episodes are working fine though.


You'll probably need to get a refresh kicked off - just go into any sections and come back out again. Unfortunately settings doesn't trigger a script re-run - i need to find a way of doing that though.



You do have Plex style watched flags turned on in the plexbmc settings? Some of these settings are a hang opver and should probably be the default rather than not - I'll see about tiding them up and making it a bit more "out of the box"


Okay well the RA library filter thing is working now. Still no recently added movies or TV shows on the shelf. Also, I tried turning on the Plex style watched flags, but nothing seems to change. Maybe it just hasn't refreshed yet, but I've tried enter and exiting sections, exiting XBMC, etc.


Daft question, but do you have any recent tv/movies to display? If you enable debug and send it over I'll have a look



I forget now, but are you running frodo? I can see watched flags on my eden setup and i'm just installing Frodo now to have a look at what changes are needed (as I definately know that there are some extra functions and some changes to some data formats). I had to workaround the partial plex watched flags, so it maybe that frodo has undone this somehow.

Thanks for the seasons update



There’s a little error I’ve spotted in your confluence settings.xml



Line 78, the the id should be:



id="se_view_2"



Other than that, it works great :)

Edit: Can you add Fanart to Confluence TV View & Poster Wrap to Confluence Season View. Thanks


Yes, **Grid & Fanart Views** are enabled. But not all views are shown in every section like i said before.

quote name=‘bugger’ timestamp=‘1354788573’ post=‘321596’]

Thanks for the seasons update

[/quote]




Been watching my master code? :slight_smile: I’ll update that id, did it last night and was going a bit cross eyes as that and having to update all the enable/visible tags to be correct.




That's correct, not all views will be visible in all sections and some of the view are tv show, tv season, tv episode or movie specific. After you posted I had a look at OnDeck (as viewed through a movie section) and it showed fanart1, 2 and 3.

The skins themselves decide on the view depending on the type of data:


<br />
        <control type="fixedlist" id="59"><br />
          <visible>Skin.HasSetting(AddViews)</visible><br />
          <visible>container.content(seasons) | [container.content(TVshows) + !Skin.HasSetting(PostersHide)] | container.content(Movies)</visible><br />




So 59 (fanart 2) will only be displayed for movies, tv shows and tv seasons - but not tv episodes.

I've not altered any thing to say what views are available where, that's the same as it's always been. Enforce views simply allows you to chose one of them, if that view doesn;t match or isn;t available XBMC will default to a list view anyway - I can't force a view in the skin if the skin doesn;t allow it (not without altering the logic).

I'll have a look through and see if I have missed anything though..

Hey, I keep getting browsing issues on both osX & windows. It seems that for some network operations either python or plexbmc or xbmc (don’t know who is responsable really) is trying to use some hacked off ipv6 address as the server name.

I have the server set to 10.0.0.100 in plexbmc settings, I’ve disabled bonjour, on the windows machine I’ve disabled ipv6 on the working network card, I’ve also removed the teredo tunneling virtual network.



The section’s list is read off the right IP, but any attempt to browse a section usually fails (sometimes it works, but I haven’t been able to figure out a reason as to why it works or not). Here’s the log of a failed attempt. I’m using the aeon nox skin taken off github.



<br />
16:10:05 T:2720  NOTICE: -----------------------------------------------------------------------<br />
16:10:05 T:2720  NOTICE: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Windows 7, 64-bit (WoW) build 7600. Built on Apr 10 2012 (compiler 1600)<br />
16:10:05 T:2720  NOTICE: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz<br />
16:10:05 T:2720  NOTICE: Desktop Resolution: 1920x1080 32Bit at 50Hz<br />
16:10:05 T:2720  NOTICE: Running with administrator rights<br />
16:10:05 T:2720  NOTICE: Aero is disabled<br />
16:10:05 T:2720  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC<br />
16:10:05 T:2720  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC<br />
16:10:05 T:2720  NOTICE: special://masterprofile/ is mapped to: C:\Program Files (x86)\XBMC\portable_data\userdata<br />
16:10:05 T:2720  NOTICE: special://home/ is mapped to: C:\Program Files (x86)\XBMC\portable_data\<br />
16:10:05 T:2720  NOTICE: special://temp/ is mapped to: C:\Program Files (x86)\XBMC\portable_data\cache<br />
16:10:05 T:2720  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe<br />
16:10:05 T:2720  NOTICE: Local hostname: htpc<br />
16:10:05 T:2720  NOTICE: Log File is located: C:\Program Files (x86)\XBMC\portable_data\xbmc.log<br />
16:10:05 T:2720  NOTICE: -----------------------------------------------------------------------<br />
16:10:05 T:2720  NOTICE: Setup SDL<br />
<br />
<resolution stuff snipped><br />
<br />
16:10:05 T:2720  NOTICE: load settings...<br />
16:10:05 T:2720  NOTICE: special://profile/ is mapped to: special://masterprofile/<br />
16:10:05 T:2720  NOTICE: loading special://masterprofile/guisettings.xml<br />
16:10:05 T:2720  NOTICE: Getting hardware information now...<br />
16:10:05 T:2720  NOTICE: Checking resolution 12<br />
16:10:05 T:2720  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.<br />
16:10:05 T:2720  NOTICE: Loaded playercorefactory configuration<br />
16:10:05 T:2720  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.<br />
16:10:05 T:2720  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.<br />
16:10:05 T:2720  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)<br />
16:10:05 T:2720  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)<br />
16:10:05 T:2720  NOTICE: Default DVD Player: dvdplayer<br />
16:10:05 T:2720  NOTICE: Default Video Player: dvdplayer<br />
16:10:05 T:2720  NOTICE: Default Audio Player: paplayer<br />
16:10:05 T:2720  NOTICE: Disabled debug logging due to GUI setting. Level 0.<br />
16:10:05 T:2720  NOTICE: Log level changed to 0<br />
16:10:05 T:2720  NOTICE: Loading media sources from special://masterprofile/sources.xml<br />
16:10:06 T:2720  NOTICE: initializing playlistplayer<br />
16:10:06 T:2720  NOTICE: DONE initializing playlistplayer<br />
16:10:06 T:2720 WARNING: Skin has invalid include: ButtonHomeSubCommonValues<br />
16:10:06 T:2720 WARNING: Previous line repeats 1 times.<br />
16:10:06 T:2720   ERROR: unmatched parentheses in )<br />
16:10:06 T:2720   ERROR: Error evaluating boolean expression player.chaptercount+![Player.Forwarding | Player.Rewinding])+[Player.Seeking | Player.DisplayAfterSeek]<br />
16:10:07 T:2720  NOTICE: initialize done<br />
16:10:07 T:2720  NOTICE: Running the application...<br />
16:10:07 T:2720   ERROR: Python script "script.tv.show.next.aired" does not exist<br />
16:10:07 T:2720   ERROR: Python script "script.randomitems" does not exist<br />
16:10:07 T:2720  NOTICE: starting upnp renderer<br />
16:10:07 T:2720  NOTICE: ES: Starting event server<br />
16:10:07 T:1380  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777<br />
16:10:07 T:1380  NOTICE: UDP: Listening on port 9777<br />
16:10:07 T:3628  NOTICE: -->Python Interpreter Initialized<--<br />
16:10:07 T:3512  NOTICE: -->Python Interpreter Initialized<--<br />
16:10:07 T:3512   ERROR: C:\Program Files (x86)\XBMC\addons\plugin.video.plexbmc\default.py:765: SyntaxWarning: name 'g_stream' is used prior to global declaration<br />
                                              global g_stream<br />
16:10:07 T:3512  NOTICE: ===== PLEXBMC START =====<br />
16:10:07 T:3512  NOTICE: PleXBMC -> running on (2, 6, 6, 'final', 0)<br />
16:10:07 T:3512  NOTICE: PleXBMC -> running on 2.0b rev 6<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Running with cElementTree on Python 2.5+<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Flatten is: 1<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Settings streaming: 0<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Setting filter menus: true<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Setting debug to true<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Setting stream Control to : PLEX CONTROL (1)<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Running skin: skin.aeon-nox.plexbmc<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Running watch view skin: xbmc<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Force DVD playback: false<br />
16:10:07 T:3512  NOTICE: PleXBMC -> SMB IP Override: false<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Script argument is skin<br />
16:10:07 T:3512  NOTICE: == ENTER: discoverAllServers ==<br />
16:10:07 T:3512  NOTICE: PleXBMC -> Settings hostname and port: 10.0.0.100:32400<br />
16:10:07 T:3512  NOTICE: PleXBMC -> serverList is [{'uuid': None, 'serverName': 'unknown', 'token': None, 'role': 'master', 'address': '10.0.0.100:32400', 'discovery': 'local'}]<br />
16:10:07 T:3512  NOTICE: == ENTER: skin() ==<br />
16:10:07 T:3512  NOTICE: == ENTER: getAllSections ==<br />
16:10:07 T:3512  NOTICE: PleXBMC -> getAllSections: Using servers list: [{'uuid': None, 'serverName': 'unknown', 'token': None, 'role': 'master', 'address': '10.0.0.100:32400', 'discovery': 'local'}]<br />
16:10:07 T:3512  NOTICE: == ENTER: getURL ==<br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: url = http://10.0.0.100:32400/system/library/sections<br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: header = {}<br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: ====== XML returned =======<br />
16:10:07 T:3512  NOTICE: <?xml version='1.0' encoding='utf-8'?><br />
                                            <MediaContainer noHistory="0" replaceParent="0" size="5" identifier="com.plexapp.system"><br />
                                              <Directory key="aHR0cDovL2ZlODA6OjIyNDoxZGZmOmZlMTU6MjBlNzozMjQwMC9saWJyYXJ5L3NlY3Rpb25zLzM_" art="/:/resources/movie-fanart.jpg" unique="1" name="Dessins Animés" title="Dessins Animés" type="movie" serverVersion="0.9.7.3.317--d4217ec" uuid="fa8f7878c4de3a3fa68b47d9b2b4c335e2d60be4" host="fe80::224:1dff:fe15:20e7" serverName="ubun2.lan" path="/library/sections/3" machineIdentifier="8a98d21e0eb98b8ce5549326b904510072f18e9b" local="1" port="32400"/><br />
                                              <Directory key="aHR0cDovL2ZlODA6OjIyNDoxZGZmOmZlMTU6MjBlNzozMjQwMC9saWJyYXJ5L3NlY3Rpb25zLzQ_" art="/:/resources/movie-fanart.jpg" unique="1" name="Enfants TV" title="Enfants TV" type="movie" serverVersion="0.9.7.3.317--d4217ec" uuid="2c198ae05d1e892c1c3d28fb914a30e30fd3b8fe" host="fe80::224:1dff:fe15:20e7" serverName="ubun2.lan" path="/library/sections/4" machineIdentifier="8a98d21e0eb98b8ce5549326b904510072f18e9b" local="1" port="32400"/><br />
                                              <Directory key="aHR0cDovL2ZlODA6OjIyNDoxZGZmOmZlMTU6MjBlNzozMjQwMC9saWJyYXJ5L3NlY3Rpb25zLzI_" art="/:/resources/movie-fanart.jpg" unique="1" name="Movies" title="Movies" type="movie" serverVersion="0.9.7.3.317--d4217ec" uuid="8f178db517067a12a27676504f10d3f386518d11" host="fe80::224:1dff:fe15:20e7" serverName="ubun2.lan" path="/library/sections/2" machineIdentifier="8a98d21e0eb98b8ce5549326b904510072f18e9b" local="1" port="32400"/><br />
                                              <Directory key="aHR0cDovL2ZlODA6OjIyNDoxZGZmOmZlMTU6MjBlNzozMjQwMC9saWJyYXJ5L3NlY3Rpb25zLzU_" art="/:/resources/artist-fanart.jpg" unique="1" name="Music" title="Music" type="artist" serverVersion="0.9.7.3.317--d4217ec" uuid="717b7bdf5f274762ba3abdbfb0a618d29459be5c" host="fe80::224:1dff:fe15:20e7" serverName="ubun2.lan" path="/library/sections/5" machineIdentifier="8a98d21e0eb98b8ce5549326b904510072f18e9b" local="1" port="32400"/><br />
                                              <Directory key="aHR0cDovL2ZlODA6OjIyNDoxZGZmOmZlMTU6MjBlNzozMjQwMC9saWJyYXJ5L3NlY3Rpb25zLzE_" art="/:/resources/show-fanart.jpg" unique="1" name="TV Shows" title="TV Shows" type="show" serverVersion="0.9.7.3.317--d4217ec" uuid="eb4fcf829f58c196087037e4739f1721cedf6918" host="fe80::224:1dff:fe15:20e7" serverName="ubun2.lan" path="/library/sections/1" machineIdentifier="8a98d21e0eb98b8ce5549326b904510072f18e9b" local="1" port="32400"/><br />
                                            </MediaContainer><br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: ====== XML finished ======<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Building window properties index [0] which is [Dessins Animés]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: PATH in use is: ActivateWindow(VideoLibrary,plugin://plugin.video.plexbmc/?url=http://fe80::224:1dff:fe15:20e7:32400/library/sections/3&mode=0,return)<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Building window properties index [1] which is [Enfants TV]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: PATH in use is: ActivateWindow(VideoLibrary,plugin://plugin.video.plexbmc/?url=http://fe80::224:1dff:fe15:20e7:32400/library/sections/4&mode=0,return)<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Building window properties index [2] which is [Movies]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: PATH in use is: ActivateWindow(VideoLibrary,plugin://plugin.video.plexbmc/?url=http://fe80::224:1dff:fe15:20e7:32400/library/sections/2&mode=0,return)<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Building window properties index [3] which is [Music]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: PATH in use is: ActivateWindow(MusicFiles,plugin://plugin.video.plexbmc/?url=http://fe80::224:1dff:fe15:20e7:32400/library/sections/5&mode=0,return)<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Building window properties index [4] which is [TV Shows]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: PATH in use is: ActivateWindow(VideoLibrary,plugin://plugin.video.plexbmc/?url=http://fe80::224:1dff:fe15:20e7:32400/library/sections/1&mode=0,return)<br />
16:10:07 T:3512  NOTICE: == ENTER: resolveAllServers ==<br />
16:10:07 T:3512  NOTICE: == ENTER: getLocalServers ==<br />
16:10:07 T:3512  NOTICE: == ENTER: getURL ==<br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: url = 10.0.0.100:32400/servers<br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: header = {}<br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: ====== XML returned =======<br />
16:10:07 T:3512  NOTICE: <?xml version="1.0" encoding="UTF-8"?><br />
                                            <MediaContainer size="1"><br />
                                            <Server name="ubun2.lan" host="ubun2.local" address="10.0.0.100" port="32400" machineIdentifier="8a98d21e0eb98b8ce5549326b904510072f18e9b" version="0.9.7.3.317--d4217ec" /><br />
                                            </MediaContainer><br />
16:10:07 T:3512  NOTICE: PleXBMC -> getURL: ====== XML finished ======<br />
16:10:07 T:3512  NOTICE: PleXBMC -> resolveAllServers: Resolved server List: [{'uuid': '8a98d21e0eb98b8ce5549326b904510072f18e9b', 'serverName': 'ubun2.lan', 'owned': '1', 'token': None, 'master': 1, 'address': '10.0.0.100:32400', 'discovery': 'local'}]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> resolveAllServers: Unique server List: [{'uuid': '8a98d21e0eb98b8ce5549326b904510072f18e9b', 'serverName': 'ubun2.lan', 'owned': '1', 'token': None, 'master': 1, 'address': '10.0.0.100:32400', 'discovery': 'local'}]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Name mapping is :ubun2.lan<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Clearing properties from [5] to []<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Total number of skin sections is [5]<br />
16:10:07 T:3512  NOTICE: PleXBMC -> skin: Total number of servers is [1]<br />
16:10:07 T:3512  NOTICE: ===== PLEXBMC STOP =====<br />
16:10:07 T:3444   ERROR: CRemoteControl::Connect - failed to connect<br />
16:10:13 T:2720 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 6<br />
16:10:13 T:2720   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.<br />
16:10:13 T:2720   ERROR: XFILE::CHTTPDirectory::GetDirectory - Unable to get http directory<br />
16:10:13 T:2720   ERROR: XFILE::CDirectory::GetDirectory - Error getting http://fe80/photo/:/transcode/?url=http%3A%2F%2Flocalhost%3A32400%2F%3A%2Fresources%2Fmovie-fanart.jpg&width=1280&height=720<br />
16:10:15 T:2720   ERROR: unmatched parentheses in IsEmpty(Skin.String(Home_Custom_Back_TVShow_Folder)<br />
16:10:15 T:2720   ERROR: unmatched parentheses in SubString(ListItem.mpaa,Rated NR<br />
16:10:15 T:2720   ERROR: unmatched parentheses in SubString(ListItem.Filename,.ifo<br />
16:10:16 T:2720   ERROR: unmatched parentheses in SubString(ListItem.Property(VideoResolution),720))<br />
16:10:16 T:3644  NOTICE: -->Python Interpreter Initialized<--<br />
16:10:16 T:3644   ERROR: C:\Program Files (x86)\XBMC\addons\plugin.video.plexbmc\default.py:765: SyntaxWarning: name 'g_stream' is used prior to global declaration<br />
                                              global g_stream<br />
16:10:16 T:3644  NOTICE: ===== PLEXBMC START =====<br />
16:10:16 T:3644  NOTICE: PleXBMC -> running on (2, 6, 6, 'final', 0)<br />
16:10:16 T:3644  NOTICE: PleXBMC -> running on 2.0b rev 6<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Running with cElementTree on Python 2.5+<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Flatten is: 1<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Settings streaming: 0<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Setting filter menus: true<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Setting debug to true<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Setting stream Control to : PLEX CONTROL (1)<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Running skin: skin.aeon-nox.plexbmc<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Running watch view skin: xbmc<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Force DVD playback: false<br />
16:10:16 T:3644  NOTICE: PleXBMC -> SMB IP Override: false<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Script argument is 0<br />
16:10:16 T:3644  NOTICE: == ENTER: get_params ==<br />
16:10:16 T:3644  NOTICE: PleXBMC -> get_params: Parameter string: ?url=http://fe80/library/sections/4&mode=0<br />
16:10:16 T:3644  NOTICE: PleXBMC -> get_params: Returning: {'url': 'http://fe80/library/sections/4', 'mode': '0'}<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Mode: 0<br />
16:10:16 T:3644  NOTICE: PleXBMC -> URL: http://fe80/library/sections/4<br />
16:10:16 T:3644  NOTICE: PleXBMC -> Name:<br />
16:10:16 T:3644  NOTICE: PleXBMC -> identifier: None<br />
16:10:16 T:3644  NOTICE: PleXBMC -> token: None<br />
16:10:16 T:3644  NOTICE: == ENTER: getContent ==<br />
16:10:16 T:3644  NOTICE: PleXBMC -> getContent: URL suffix: 4<br />
16:10:16 T:3644  NOTICE: == ENTER: getURL ==<br />
16:10:16 T:3644  NOTICE: PleXBMC -> getURL: url = http://fe80/library/sections/4<br />
16:10:16 T:3644  NOTICE: PleXBMC -> getURL: header = {}<br />
16:10:19 T:3644  NOTICE: Unable to lookup host: fe80<br />
                                            Check host name is correct<br />
16:10:25 T:2720  NOTICE: Storing total System Uptime<br />
16:10:25 T:2720  NOTICE: Saving settings<br />
16:10:25 T:2720  NOTICE: stop all<br />
16:10:25 T:2720  NOTICE: ES: Stopping event server<br />
16:10:25 T:2720  NOTICE: stopping upnp<br />
16:10:25 T:2720  NOTICE: stopping zeroconf publishing<br />
16:10:26 T:1380  NOTICE: ES: UDP Event server stopped<br />
16:10:26 T:2720  NOTICE: stop sap announcement listener<br />
16:10:26 T:2720  NOTICE: clean cached files!<br />
16:10:26 T:2720  NOTICE: unload skin<br />
16:10:26 T:2720  NOTICE: stop python<br />




PleXBMC just uses teh data presented to it, and I would say that it's being generated by the Plex media Server. The initial call is ok, as we are using external PMS data (either a static Ip address or a bonjour'd service) - however as soon as we contact the server and request more data over the API, IPv6 is being returned (see the above portion I've clipped out).

Try disabling IPv6 on the Plex media server(s).

EDIT: the reason the IPv6 is mangeled is that I strip off any trailing ":" in case a port number has been added to the address. never used IPv6 so no idea if it's a simple case of substituting v4 for v6?


Thanks, I missed that reference in the log, I would have checked the server. I've disabled ipv6 server-side (ubuntu version of plex) and apparently it now works consistently! Awesome. Now I only have to fix the recurrent exception that is being thrown in CApplication::Process and I'll be all set to switch back to XBMC. Too bad XBMC's code isn't CLI, I don't know how to output a stack trace from the exception catch in XBApplicationEx.cpp :(