Port of Cirrus

pht-skin-dev

#1

Anyone working on this
Is anyone working on Cirrus for Plex? If not, I'll throw my hat into the ring.


#2

I started porting Cirrus to see how far along it is. However, I keep crashing Plex when I call Plex.ActivateWindow(MyVideoFiles,plex://LivingRoom.local./library/sections/2/,return). I am figuring that this calls the MyVideo.xml file, but I do not know how to debug this. Console gives me this traceback



9/6/10 11:04:54 AM com.apple.launchd.peruser.501220 Exited: Killed

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver Exception in thread Thread-1 (most likely raised during interpreter shutdown):

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver Traceback (most recent call last):

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 486, in __bootstrap_inner

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 663, in run

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 788, in _start_timed_thread

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 190, in log_exception

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver : 'NoneType' object is not callable



Is there some way to debug this?


#3

[quote name='Harley Hooligan' date='06 September 2010 - 04:14 PM' timestamp='1283786048' post='102446']


I started porting Cirrus to see how far along it is. However, I keep crashing Plex when I call Plex.ActivateWindow(MyVideoFiles,plex://LivingRoom.local./library/sections/2/,return). I am figuring that this calls the MyVideo.xml file, but I do not know how to debug this. Console gives me this traceback



9/6/10 11:04:54 AM com.apple.launchd.peruser.501220 Exited: Killed

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver Exception in thread Thread-1 (most likely raised during interpreter shutdown):

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver Traceback (most recent call last):

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 486, in __bootstrap_inner

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 663, in run

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 788, in _start_timed_thread

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver File "/Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 190, in log_exception

9/6/10 11:04:54 AM [0x0-0x419419].com.plexapp.plexmediaserver : 'NoneType' object is not callable



Is there some way to debug this?

[/quote]




You'll find most skins will stop crashing if you change all largeimage to image, fadelabel to label and remove all textbox from any lists. Hopefully that'll get you up and running a little better. With Nine you'd be better of replacing myvideo.xml with myvideonav.xml and just renaming it.


#4

[quote name='Harley Hooligan' date='06 September 2010 - 11:14 AM' timestamp='1283786048' post='102446']


I started porting Cirrus to see how far along it is. However, I keep crashing Plex when I call Plex.ActivateWindow(MyVideoFiles,plex://LivingRoom.local./library/sections/2/,return). I am figuring that this calls the MyVideo.xml file, but I do not know how to debug this. Console gives me this tracebackIs there some way to debug this?

[/quote]


That's a very interesting library section call...you should not be writing calls to library sections, just the plug-ins window. Plex handles library sections automatically.


#5

Looks like a nice skin! PM me when you need a tester :)


#6

[quote name='Russ' date='10 September 2010 - 12:46 AM' timestamp='1284093995' post='105327']


Looks like a nice skin! PM me when you need a tester :)

[/quote]




will do, but it will prolly be a bit before i get it to tjat point. its my first shot at real skinning.