Kodi Community Forum
[RELEASE] NBC Universal (NBC, USA, Sci-Fi) video plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] NBC Universal (NBC, USA, Sci-Fi) video plugin (/showthread.php?tid=47113)

Pages: 1 2 3 4 5 6 7 8 9 10


- nicoli_k - 2009-08-29

try finding the thumbnail that it's using in the video thumbnail cache and rename the file you want to use to the one in the cache. If you don't do that, then it will keep creating that file over and over even if you've got a default.tbn.


- TheEvilHammer - 2009-08-29

nicoli_k Wrote:try finding the thumbnail that it's using in the video thumbnail cache and rename the file you want to use to the one in the cache. If you don't do that, then it will keep creating that file over and over even if you've got a default.tbn.

Ah, I figured out the problem - the cached thumbnail for the video plugin was under 'Thumbnails\Programs', not 'Thumbnails\Video' as I had expected. I'm guessing that thumbnails for plugins are always under the 'Programs' directory, regardless of the category of the plugin itself. Thanks for the help!


- TheEvilHammer - 2009-08-29

TheEvilHammer Wrote:Ah, I figured out the problem - the cached thumbnail for the video plugin was under 'Thumbnails\Programs', not 'Thumbnails\Video' as I had expected. I'm guessing that thumbnails for plugins are always under the 'Programs' directory, regardless of the category of the plugin itself. Thanks for the help!

By the way, if anyone is looking for a better icon for the plugin (one that doesn't look like crap against the default XBMC skin), this one works pretty well:

http://www.mediabistro.com/agencyspy/original/Large_NBC_logo.png


Strange error solved - crackers - 2009-09-03

(Howdy, y'all - first post)

Like a couple of others, I had a problem with both the old and new version of this plugin, but I debugged and found this issue:
Code:
15:05:33 T:2917014416 M:1876533248  NOTICE: register_adapters()
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/adapters/__init__.py", line 46, in register_adapters
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: register_adapter(mod[1:].replace('_', '.'), PackageImporter(mod))
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/adapters/__init__.py", line 72, in register_adapter
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: imports.whenImported(str(mod), func)
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/util/imports.py", line 297, in whenImported
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: return _setModuleHook(moduleName, hook)
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/util/imports.py", line 257, in _setModuleHook
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: return lazyModule(moduleName)
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/util/imports.py", line 192, in lazyModule
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: raise ImportError('No module name %d' % modname)
15:05:33 T:2917014416 M:1876533248  NOTICE: TypeError
15:05:33 T:2917014416 M:1876533248  NOTICE: :
15:05:33 T:2917014416 M:1876533248  NOTICE: int argument required
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248   ERROR: Scriptresult: Error
Simply changing the %d to %s fixed it and both scripts run...


- Superorb - 2009-09-04

crackers Wrote:(Howdy, y'all - first post)

Like a couple of others, I had a problem with both the old and new version of this plugin, but I debugged and found this issue:
Code:
15:05:33 T:2917014416 M:1876533248  NOTICE: register_adapters()
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/adapters/__init__.py", line 46, in register_adapters
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: register_adapter(mod[1:].replace('_', '.'), PackageImporter(mod))
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/adapters/__init__.py", line 72, in register_adapter
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: imports.whenImported(str(mod), func)
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/util/imports.py", line 297, in whenImported
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: return _setModuleHook(moduleName, hook)
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/util/imports.py", line 257, in _setModuleHook
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: return lazyModule(moduleName)
15:05:33 T:2917014416 M:1876533248  NOTICE:   File "/home/crackers/.xbmc/plugins/video/NBC Universal/pyamf/util/imports.py", line 192, in lazyModule
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248  NOTICE: raise ImportError('No module name %d' % modname)
15:05:33 T:2917014416 M:1876533248  NOTICE: TypeError
15:05:33 T:2917014416 M:1876533248  NOTICE: :
15:05:33 T:2917014416 M:1876533248  NOTICE: int argument required
15:05:33 T:2917014416 M:1876533248  NOTICE:
15:05:33 T:2917014416 M:1876533248   ERROR: Scriptresult: Error
Simply changing the %d to %s fixed it and both scripts run...
I can't friggin believe it... I changed that on mine and now the NBC plugin works. Why , though, did it just stop working all of a suddon? I never changed any of the files before. Thanks Smile


- crackers - 2009-09-04

The only thing I can think of is that Superorb and I don't have a specific module that everyone else has...


- Superorb - 2009-09-04

I'm also now having trouble with the Top40 plugin for music videos too. I'll check the log now.


- Googler - 2009-10-22

HI, BlueCop, Can you improve this plugin so we can download and keep NBC videos?
Please check this post:
http://forum.xbmc.org/showthread.php?tid=60121
Thanks a lot!


- philipacentaur - 2009-11-05

This plugin is great, but I've noticed that on the Xbox, the audio is always out of sync (early). Trying to delay it through the XBMC menus just makes it worse. CPU usage looks okay, and upping the cache size doesn't seem to have much of an effect. Does anyone else have this problem?


- BlueCop - 2009-11-06

philipacentaur: what version are you running?

i haven't noticed any thing out of sync but i don't use the xbox platform much anymore.


- philipacentaur - 2009-11-06

Thanks for the quick response. I'm running the "T3CH XBMC 2009-09-27 SVN rev23183" build, and whatever the most current version of the plugin in the SVN Repo is. Since my last post, I've fooled around with a couple of things and noticed a change for the positive. I wish I could say what did it, but now it seems like after about a minute and a half into a video, the slight audio sync problem goes away (or at least reaches the point of being tolerable).

Anyway, yeah -- I've been planning on upgrading to a more powerful hardware platform, but I'm holding out for ION 2 (either to buy an ION 2 system, or in hopes of the current IONs dropping in price).

Thanks again.


- philipacentaur - 2010-01-19

Hi, just me again. For the record, I don't have that audio sync problem anymore, since upgrading to the ION platform. I guess it was intrinsic to the Xbox version of XBMC -- maybe something to do with mplayer?

Have you considered modifying the NBC portion of this plugin so that shows listed with their own domain (Conan O'Brien, Jimmy Fallon, Jay Leno, etc.) were scraped? I started butchering the code myself and got it partially working, but I figure you'd probably do a better job.


- liquid64 - 2010-01-19

Have you tried my modified version, that I posted a while back?

http://forum.xbmc.org/showpost.php?p=375954&postcount=100

The late night guys should work on it.


- User 46219 - 2010-01-24

has anyone else been having weirdness with sound?

I don't know if it's all shows but the office and 30 rock both sound tinny, like someone is using a voice recorder to record the show on their tv and then streaming it.

(This is on a Linux box if it makes any difference)

Thanks.


Errors when accessing USA episodes - sgeek - 2010-01-25

I'm seeing strange behavior when attempting to access shows on USA. I get an error when trying to play a show, and only every other show appears in the menu. Maybe a problem with the USA feed? NBC and SciFi work fine.

Log snippet:
Code:
17:13:38 T:140445963819280 M:1250729984  NOTICE: NBC Universal --> common :: getHTML :: url = http://www.usanetwork.com/series/psych/video/fullep/
17:13:39 T:140445963819280 M:1250729984  NOTICE: NBC Universal --> common :: getHTML :: url = http://video.usanetwork.com/player/feeds/?level=34854&type=placement&showall=1
17:13:43 T:140445963819280 M:1252675584  NOTICE: -->Python Interpreter Initialized<--
17:13:44 T:140445963819280 M:1250381824  NOTICE: Traceback (most recent call last):
17:13:44 T:140445963819280 M:1250381824  NOTICE:   File "/home/sgeek/.xbmc/plugins/video/NBC Universal/default.py", line 12, in ?
17:13:44 T:140445963819280 M:1250381824  NOTICE: import resources.lib.common as common
17:13:44 T:140445963819280 M:1250381824  NOTICE:   File "/home/sgeek/.xbmc/plugins/video/NBC Universal/resources/lib/common.py", line 20, in ?
17:13:44 T:140445963819280 M:1250381824  NOTICE: exec "args = _Info(%s)" % (urllib.unquote_plus(sys.argv[2][1:].replace("&", ", ").replace('"','\'')), )
17:13:44 T:140445963819280 M:1250381824  NOTICE:   File "
17:13:44 T:140445963819280 M:1250381824  NOTICE: <string>
17:13:44 T:140445963819280 M:1250381824  NOTICE: ", line
17:13:44 T:140445963819280 M:1250381824  NOTICE: 1
17:13:44 T:140445963819280 M:1250381824  NOTICE: args = _Info(url='1168281</link>
17:13:44 T:140445963819280 M:1250381824  NOTICE: ^
17:13:44 T:140445963819280 M:1250381824  NOTICE: SyntaxError
17:13:44 T:140445963819280 M:1250381824  NOTICE: :
17:13:44 T:140445963819280 M:1250381824  NOTICE: EOL while scanning single-quoted string
17:13:44 T:140445963819280 M:1250381824   ERROR: Scriptresult: Error
17:13:45 T:140446228977728 M:1250639872   ERROR: GetDirectory - Error getting plugin://video/NBC Universal/?url="1168281%3C%2Flink%3E%0A%3Cdescription%3E%3C%21%5BCDATA%5BShawn%27s+life+hangs+in+the+balance+when%2C+while+working+on+a+case+involving+an+ice+cream+truck%2C+he+stumbles+onto+something+bigger+and+more+deadly.%5D%5D%3E%3C%2Fdescription%3E%0A%3Cguid+isPermaLink%3D%22false%22%3Ehttp%3A%2F%2Fvideo.nbcuni.com%2Fplayer%2F%3Fid%3D1168281"&mode="TV_play_usa"&name="409%3A+SHAWN+TAKES+A+SHOT+IN+THE+DARK"&fanart=""&plot="A+man+fears+he+is+dangerous+to+society+and+enlists+Shawn+and+Gus+help+because%2C+he+claims%2C+he+is+a+werewolf."&genre="genre"
17:13:45 T:140446228977728 M:1250639872   ERROR: CGUIMediaWindow::GetDirectory(plugin://video/NBC Universal/?url="1168281%3C%2Flink%3E%0A%3Cdescription%3E%3C%21%5BCDATA%5BShawn%27s+life+hangs+in+the+balance+when%2C+while+working+on+a+case+involving+an+ice+cream+truck%2C+he+stumbles+onto+something+bigger+and+more+deadly.%5D%5D%3E%3C%2Fdescription%3E%0A%3Cguid+isPermaLink%3D%22false%22%3Ehttp%3A%2F%2Fvideo.nbcuni.com%2Fplayer%2F%3Fid%3D1168281"&mode="TV_play_usa"&name="409%3A+SHAWN+TAKES+A+SHOT+IN+THE+DARK"&fanart=""&plot="A+man+fears+he+is+dangerous+to+society+and+enlists+Shawn+and+Gus+help+because%2C+he+claims%2C+he+is+a+werewolf."&genre="genre") failed