Hi!, I was playing with the Plex Channels and i found a plugin that wasn't working. So I assumed that it was because of the changes of the framework so i went on and updated the code the best i could and i replaced the init file and now the plugin doesn't even appear in the channels section.
Tried to make a new one but it doesnt work either.
Line 37 is missing the enclosing brackets, change to
@handler('/video/twitch', 'Twitch.tv')
Line 40 starts with a TAB instead of spaces (not in line with the rest of the indentation)
Line 97 has one too many closing brackets in the end and a bunch of spaces behind it (remote the spaces and the last ")")
Line 97 has one too many closing brackets in the end and a bunch of spaces behind it (remote the spaces and the last ")")
I have confirmed that these changes make your plugin show up in the Video Channel section of PHT and it's main menu is shown. The rest is not working yet.
So i started to do a smaller plugin to test the twitch video in the VideoClipObject and i cannot figure out why it doesnt work. I made a new plug-in that has one VideoClipObject
oc.add(VideoClipObject(
url = 'http://www.twitch.tv/widgets/live_embed_player.swf?channel=MLGSC2',
title = 'SC2',
))
But it doesn't show anything. I can acess through the plugin but when i reach the point where this object is supposed to appear it doesnt show. I tried with a Ustream url and it showed instantly. So i adapted the old Site Configuration and it still doesn't show anything. Here is the site configuration:
Site Configs are a massive PITA, IMHO. I can't really offer any insight into your specific issue but, sometimes working with the webkit window in the visible mode will help shed some light on what's happening behind the scenes.