[REL] PleXBMC

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
hippojay Offline
Fan
Posts: 301
Joined: Mar 2008
Reputation: 13
Location: Sheffield, UK
Post: #91
doteleven Wrote:When I use then and try to click nothing happens. it just hangs.

That's definitely the correct command to use (verified it by adding it directly to a skin). Did you scan any media into the library? By hanging, do you mean you got a blank screen, or that the dialog box hung on the screen?

Try this instead, swap VideoLibrary for VideoFiles:
Code:
<onclick>ActivateWindow(VideoFiles,plugin://plugin.video.plexbmc/?url=http://192.168.1.200:32400/library/sections/1/all&mode=2,return)</onclick>

Remember to replace the server IP and the section number with your own.

If you are still not getting any further, turn on debugging in the plugin and drop me the xbmc.log file to look at.
(This post was last modified: 2011-07-26 09:38 by hippojay.)
find quote
justinmckay Offline
Junior Member
Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #92
I have tried to launch the newest version of the plugin from my mac mini running lion. Newest version of plex nightly of XBMC with zero configuration.

Plugin launch fails

I get the following in my log file.....
Code:
0:14:31 T:2966011904 M:772931584  NOTICE: PleXBMC -> getURL: ====== XML finished ======
10:14:31 T:2966011904 M:772931584    INFO: -->Python script returned the following error<--
10:14:31 T:2966011904 M:772931584   ERROR: Error Type: <type 'exceptions.UnboundLocalError'>
10:14:31 T:2966011904 M:772931584   ERROR: Error Contents: local variable 'properties' referenced before assignment
10:14:31 T:2966011904 M:772931584   ERROR: Traceback (most recent call last):
                                              File "/Users/commandcenter/Library/Application Support/XBMC/addons/plugin.video.plexbmc/default.py", line 3420, in <module>
                                                ROOT(url)
                                              File "/Users/commandcenter/Library/Application Support/XBMC/addons/plugin.video.plexbmc/default.py", line 611, in ROOT
                                                properties['title']="Video Plugins"
                                            UnboundLocalError: local variable 'properties' referenced before assignment
10:14:31 T:2966011904 M:772931584    INFO: -->End of Python script error report<--
10:14:31 T:2966011904 M:773980160    INFO: Python script stopped
10:14:31 T:2966011904 M:773980160   DEBUG: Thread XBPyThread 2966011904 terminating
10:14:31 T:2959355904 M:773980160   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
10:14:31 T:2690884928 M:773980160   ERROR: GetDirectory - Error getting plugin://plugin.video.plexbmc/
10:14:31 T:2690884928 M:773980160   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexbmc/) failed

Any ideas?
find quote
hippojay Offline
Fan
Posts: 301
Joined: Mar 2008
Reputation: 13
Location: Sheffield, UK
Post: #93
justinmckay Wrote:I have tried to launch the newest version of the plugin from my mac mini running lion. Newest version of plex nightly of XBMC with zero configuration.

Plugin launch fails

Any ideas?

Yeah, although it's a strange circumstance. My *guess* is that you have a Plex Media Server running on another server with all your media, but you also have a plex media server instance running on the mini with no sections.

Because the local instance has zero sections, it skips a fair bit of my code when it's being checked, which causes the error. I can fix this, but just need to test it out.
find quote
justinmckay Offline
Junior Member
Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #94
hippojay Wrote:My *guess* is that you have a Plex Media Server running on another server with all your media, but you also have a plex media server instance running on the mini with no sections.

Setup on this machine is iTunes and and iPhoto are sitting on an external hardrive connected directly to the computer. All my movies sitting on NAS (TimeCapsule). I do have the plex media server running on my laptop as well but only used it to test the plugin to begin with.
find quote
hippojay Offline
Fan
Posts: 301
Joined: Mar 2008
Reputation: 13
Location: Sheffield, UK
Post: #95
New release V1.9.6.1 - https://github.com/downloads/hippojay/pl....9.6.1.zip

There are a number of bug fixes and also some new features I've added:
  • Flatten TV shows for "one season shows" or "all seasons"
  • Transcoding now supports AC3 and DTS audio
  • Fixed: Better transcoder proxy stability (I've not seen it fail yet since fixing!)
  • Fixed: Support for webkit plugins - extended so that iplayer/40d/etc work. Again, only through transcoding.
  • Fixed: Windows local file detection
  • Fixed: Transcoder would not start with auto setting
  • Fixed: Photo section filter menus
  • Other stuff I've forgotten about..

I've not pushed this for auto-update yet - as I want to make sure it doesn't break anything. I'll do that in a couple of days.

I've also upped some new/updated skins:
  • Aeon Nox version for PleXBMC
  • CirrusEX now supports horizontal menus (high and low)
  • Quartz has been updated to master version 1.0.3

The skins are in the repo, but I will create some zip files for stand alone installs. Just need to free up some disk space for them.
(This post was last modified: 2011-08-11 15:29 by hippojay.)
find quote
justinmckay Offline
Junior Member
Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #96
Code:
19:53:38 T:2955448320  NOTICE: <?xml version='1.0' encoding='utf-8'?>
                                            <MediaContainer noHistory="0" replaceParent="0" size="0" identifier="com.plexapp.system"/>
19:53:38 T:2955448320  NOTICE: PleXBMC -> getURL: ====== XML finished ======
19:53:38 T:2955448320    INFO: -->Python script returned the following error<--
19:53:38 T:2955448320   ERROR: Error Type: <type 'exceptions.TypeError'>
19:53:38 T:2955448320   ERROR: Error Contents: 'NoneType' object is not callable
19:53:38 T:2955448320   ERROR: Traceback (most recent call last):
                                              File "/Users/commandcenter/Library/Application Support/XBMC/addons/plugin.video.plexbmc/default.py", line 3560, in <module>
                                                ROOT(url)
                                              File "/Users/commandcenter/Library/Application Support/XBMC/addons/plugin.video.plexbmc/default.py", line 494, in ROOT
                                                tree = etree.fromstring(html)
                                              File "<string>", line 84, in XML
                                            TypeError: 'NoneType' object is not callable
19:53:38 T:2955448320    INFO: -->End of Python script error report<--
19:53:38 T:2955448320    INFO: Python script stopped

Gave the updated plugin another try. Still fails on launch. Only now the log message is different.

Added a library section in my plex media manager and the plugin launches. I would say this is a bug you should consider fixing. I was only interested in using the plugin for the itunes/iphoto integration so never thought to add anything to the media manager.
(This post was last modified: 2011-08-10 05:20 by justinmckay.)
find quote
hippojay Offline
Fan
Posts: 301
Joined: Mar 2008
Reputation: 13
Location: Sheffield, UK
Post: #97
justinmckay Wrote:Added a library section in my plex media manager and the plugin launches. I would say this is a bug you should consider fixing. I was only interested in using the plugin for the itunes/iphoto integration so never thought to add anything to the media manager.

Never thought that it would be used without any sections at all. I'll have a look at that code and put something in place to deal with it. Thanks
find quote
hippojay Offline
Fan
Posts: 301
Joined: Mar 2008
Reputation: 13
Location: Sheffield, UK
Post: #98
All,

Just uploaded a new screencast showing the updated skins tweaked for PleXBMC:

http://www.youtube.com/watch?v=e2G2p5C_vbQ
find quote
hippojay Offline
Fan
Posts: 301
Joined: Mar 2008
Reputation: 13
Location: Sheffield, UK
Post: #99
All,

For those looking to use XBMC EDEN - here is a first version of the plugin that is focused specifically on XBMC 11. Don't try and run this on XBMC 10.1 DHARMA as it won't load (stick to 1.9.6.1):

https://github.com/downloads/hippojay/pl...c-EDEN.zip

Changes:
  • EDEN has transcoder playback abilities built in already - if anyone relies on stable transcoding, I would move to a nightly now.
  • Transcoding now supports seeking and resuming.
  • Transcoding also supports PMS updates for resume and watched.
  • Removed unneeded code and code workarounds for old python version (yay \o/ no transcoding proxy any more)

This has been tested on a Windows XBMC built from 10th August - remember that these builds are still in development so YMMV
find quote
tvont Offline
Senior Member
Posts: 107
Joined: Oct 2008
Reputation: 0
Post: #100
I do not know what the reason for the breakup between the PLEX developer and the XBMC Team was...

BUT:

2 years ago, I requested something like a media server for XBMC, the ability to have one cetral place to keep the data and database which should be accessible through WEB or an XBMC 'Client', a place to 'stream' from

Many user requested this. Nothing happened.

PMS brought the solution.
PleXBMC brought the missing link.

hippojay, you are currently my HEROSmile

Without this plugin I would still suffer the old problems which brought me to the edge of giving up ever finding a solution for things like central server / transcoding etc.

PMS is the Media Cloud @home and XBMC is exactly suffering the absence of this

What I see is that a server / client combo is the feature (and future) the direction goes exactly and straight towards. Why, XBMC-Team, do you not finally start to implement a server featureConfused

...look on the market: Clouds everywhereWink

unfortunately, hippojay, its not a very comfortabel place between two fronts which are divided through an old war, even if the 2 parts brought exactly what is needed (and its working just because of your add-on)

Thank you and Congratulation, hippojay - hats off and keep up!
(This post was last modified: 2011-08-11 19:13 by tvont.)
find quote
Post Reply