Just managed to post an updated version of my plugin for Funny or Die. I just kept getting those links like "The Landlord" when I thought I really ought to get this on the XBox. Hopefully others will find it of interest too.
http://code.google.com/p/sico99xbmcstuff/downloads/list
This is a great plugin with some really funny stuff, but I think the layout must have changed sometime. The titles now look like: <![CDATA[video title]]> and the Next Page button only refreshes the list of videos. This happens inside of Front Page, Categories, and using the Search feature. It's still usable, but not nearly as polished and easy to use as it once was.
Thanks for your hard work and great plugins sico99.
to fix the title...
edit line 46 of default.py to this:
Code:
ALL=re.compile('<item>.*?<title>[b]<!\[CDATA\[(.+?)\]\]>[/b]</title>.*?<viewkey>(.+?)</viewkey>.*?<media\:thumbnail url=\"(.+?)\"').findall(link)
*the bold text are the changes
sorry, but I'm too lazy to go through the rest of the code to fix the "next page"
Thanks for the assist and apologies to everyone for my lack of activity on this. I have decided to do a rewrite of the plugin to fix this problem as well as add some features.
The new version is available from my googlecode page:
http://sico99xbmcstuff.googlecode.com/fi...Die1.5.zip
I've added in an auto updater so a little update icon will appear when a new version becomes available.
I have been meaning to get this sorted for some time but made the mistake of installing Windows 7 which knocked out my development XBMC install on the PC.
Any problems let me know and I hope it all works a bit better for everyone.
Using the Funny or Die plugin with XBMC 10.0, it will load a video for a brief second and exit out back to menu, I have to use Play Using.... Here is log:
Code:
19:56:33 T:3022288768 M:2573193216 DEBUG: LinuxRendererGL: Cleaning up GL resources
19:56:33 T:3022288768 M:2573193216 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:56:33 T:2936568688 M:2573193216 DEBUG: thread start, auto delete: 0
19:56:33 T:2936568688 M:2573193216 NOTICE: Creating InputStream
19:56:33 T:2936568688 M:2573193216 ERROR: CDVDPlayer::OpenInputStream - error opening []
19:56:33 T:2936568688 M:2573193216 NOTICE: CDVDPlayer::OnExit()
19:56:33 T:2936568688 M:2573193216 NOTICE: CDVDPlayer::OnExit() deleting input stream
19:56:33 T:2936568688 M:2573193216 DEBUG: Thread 2936568688 terminating
19:56:33 T:3022288768 M:2573193216 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
19:56:33 T:3022288768 M:2573193216 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.funny.or.die/?url=4f551b0252&mode=2&name=Will+Arnett+-+Human+Giant+SEX+TAPE+from+Human+Giant%2C+Will+Arnett%2C+and+Tom+Gianas]
19:56:33 T:3022288768 M:2573193216 DEBUG: Playlist Player: no more playable items... aborting playback
19:56:33 T:3022288768 M:2573488128 NOTICE: CDVDPlayer::CloseFile()
19:56:33 T:3022288768 M:2573488128 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:56:33 T:3022288768 M:2573488128 NOTICE: DVDPlayer: waiting for threads to exit
19:56:33 T:3022288768 M:2573488128 NOTICE: DVDPlayer: finished waiting
19:56:33 T:3022288768 M:2573488128 DEBUG: LinuxRendererGL: Cleaning up GL resources
19:56:33 T:3022288768 M:2573996032 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
19:56:33 T:3022288768 M:2573996032 DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
19:56:33 T:3022288768 M:2578313216 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
19:56:33 T:3022288768 M:2578313216 DEBUG: ------ Window Init (MyVideoNav.xml) ------
19:56:33 T:3022288768 M:2578313216 INFO: Loading skin file: MyVideoNav.xml
19:56:34 T:3022288768 M:2578505728 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.funny.or.die/?url=http%3A%2F%2Fwww.funnyordie.com%2Fbrowse%2Fvideos%2Fnsfw%2Fall%2F&mode=1&name=Not+Safe+For+Work+Videos)
19:56:34 T:3022288768 M:2578505728 DEBUG: ParentPath = [plugin://plugin.video.funny.or.die/?url=http%3A%2F%2Fwww.funnyordie.com%2Fbrowse%2Fvideos%2Fnsfw%2Fall%2F&mode=1&name=Not+Safe+For+Work+Videos]
19:56:34 T:3022288768 M:2578505728 DEBUG: Loading fileitems [plugin://plugin.video.funny.or.die/?url=http%3A%2F%2Fwww.funnyordie.com%2Fbrowse%2Fvideos%2Fnsfw%2Fall%2F&mode=1&name=Not+Safe+For+Work+Videos]
19:56:34 T:3022288768 M:2578505728 DEBUG: -- items: 21, directory: plugin://plugin.video.funny.or.die/?url=http%3A%2F%2Fwww.funnyordie.com%2Fbrowse%2Fvideos%2Fnsfw%2Fall%2F&mode=1&name=Not+Safe+For+Work+Videos sort method: 0, ascending: false
19:56:34 T:3022288768 M:2578505728 WARNING: GetLabel - Unknown nodetype requested 6
19:56:34 T:2928175984 M:2578505728 DEBUG: thread start, auto delete: 0
19:56:34 T:2814372720 M:2578505728 DEBUG: DoWork - Saving file state for video item http://videos0.ordienetworks.com/videos/4f551b0252/sd.flv
19:56:34 T:2936568688 M:2591838208 DEBUG: thread start, auto delete: 1
19:56:34 T:2928175984 M:2587267072 DEBUG: Previous line repeats 1 times.
19:56:34 T:2928175984 M:2587267072 DEBUG: Thread 2928175984 terminating
19:56:34 T:3022288768 M:2574569472 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
19:56:36 T:3022288768 M:2574381056 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
19:56:36 T:3022288768 M:2574381056 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
19:56:37 T:3022288768 M:2574381056 ERROR: GLX: Same window as before, refreshing context
19:56:37 T:3022288768 M:2574381056 INFO: GL: Maximum texture width: 8192
Don't mind using Play Using... but would like to solve this to just hit play if possible, thanks!
Hi, I can't reproduce this error in Windows or Ubuntu, are you using XBMC Live?
If your up for editing some code try this.
Open xbmc/addons/plugin.video.funny.or.die/default.py in a text editor and change this:
Code:
def playVid(url):
name, url = get_smil(url)
info = xbmcgui.ListItem(name)
playlist = xbmc.PlayList(1)
playlist.clear()
playlist.add(url, info)
play=xbmc.Player().play(playlist)
to this:
Code:
def playVid(url):
name, url = get_smil(url)
#info = xbmcgui.ListItem(name)
#playlist = xbmc.PlayList(1)
#playlist.clear()
#playlist.add(url, info)
play=xbmc.Player( xbmc.PLAYER_CORE_DVDPLAYER ).play(url)
Be carefull not to change the indentation.
If need be, I can upload a file for you to try.
If anyone else is having trouble please post here.
divingmule Wrote:Hi, I can't reproduce this error in Windows or Ubuntu, are you using XBMC Live?
If your up for editing some code try this.
Open xbmc/addons/plugin.video.funny.or.die/default.py in a text editor and change this:
Code:
def playVid(url):
name, url = get_smil(url)
info = xbmcgui.ListItem(name)
playlist = xbmc.PlayList(1)
playlist.clear()
playlist.add(url, info)
play=xbmc.Player().play(playlist)
to this:
Code:
def playVid(url):
name, url = get_smil(url)
#info = xbmcgui.ListItem(name)
#playlist = xbmc.PlayList(1)
#playlist.clear()
#playlist.add(url, info)
play=xbmc.Player( xbmc.PLAYER_CORE_DVDPLAYER ).play(url)
Be carefull not to change the indentation.
If need be, I can upload a file for you to try.
If anyone else is having trouble please post here.
Thanks a ton! So what is happening now with that edit is, since I have System > Videos > File lists > Default select action as "Choose," if I go to Show Information and
then hit play, it does the same thing of showing "Opening stream" and immediately going back to library. If I hit Play right away, it works just fine!
A small thing to really to be concerned about as I do not use Show Information on an add-on like this, what with the video names in the list being as descriptive as can be lol
It works fine now with Play, muchas gracias for your help!!
Is anyone else having a problem with this plugin showing the next page button. I can only populate one page... the next page button USED to show up and it suddenly disappeared. I can only now browse a fraction of their content. Any help/suggestions would be appreciated.
Thanks.
Beachfront Wrote:Is anyone else having a problem with this plugin showing the next page button. I can only populate one page... the next page button USED to show up and it suddenly disappeared. I can only now browse a fraction of their content. Any help/suggestions would be appreciated.
Thanks.
Working on it. Thanks for reporting.
divingmule Wrote:Working on it. Thanks for reporting.
No Problem. Glad I wasn't the only one experiencing it.
Look forward to trying this out.
Having issues streaming files from funny or die addon. At first worked fine, now either nothing loads when I select file or get error message.
Here is xbmc.log file pastebin url:
http://pastebin.com/7xNihfyX
Thanks to any assistance in fixing.
The bad news is, they have started using adobe-HDS to stream with their new player.
The good news is, there are still, for now, direct links for the low quality streams.
Should have an update soon.
ok thanks. how do i set up the direct links until update is ready?