Kodi Community Forum
[RELEASE] TV-Shack (TVshack.net) 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] TV-Shack (TVshack.net) Video Plugin (/showthread.php?tid=33160)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


tv shack problem - diedezm - 2010-01-10

Hello,

I'm new to this forum and also a bit new with scripts/plugins. So excuse me for maybe asking silly questions, but we all have to start somewhere....

First of all I think I need to thank Voinage 4 making this all possible, so thanks!!

Now my problem:
I would like either NinjaVideo or Tv shack to work. I have no megavideo account. Since I understood Ninja Video isn't working anymore I tried Tv shack
I installed VeohProxy-1.51 in my scripts folder and the tv shack plugin in video/plugin. But when I open the plugin and try to open a video (I do get to see the folders without any problems) I get: 'Script failed: TV shack' (I also 'clicked on the veohProxy script and it says 'running)

So what do I do wrong?

thanks in advance

DZM


- moontan77 - 2010-01-11

is the tv-shack plugin working for anybody with xbmc 9.11?

Not working for me atm.

22:00:39 T:2646961040 M:1343238144 NOTICE: -->Python Interpreter Initialized<--
22:00:39 T:2646961040 M:1343238144 NOTICE: [PLUGIN] 'weather.com plus: Version - 1.2.3a-r' initialized!
22:00:39 T:2646961040 M:1343238144 NOTICE: ** Required XBMC Revision: r21010 **
22:00:39 T:2646961040 M:1343238144 NOTICE: ** Found XBMC Revision: r26018 [Compatible] **
22:00:49 T:2518444944 M:1349615616 NOTICE: -->Python Interpreter Initialized<--
22:00:49 T:2518444944 M:1349615616 ERROR: dll_fstat64 emulated function failed
22:00:51 T:2518444944 M:1349722112 NOTICE: Cookiefile=/home/xbmc/.xbmc/plugins/video/Tv Shack/cookies.lwp
22:00:51 T:2518444944 M:1349722112 NOTICE: Mode: None
22:00:51 T:2518444944 M:1349722112 NOTICE: URL: None
22:00:51 T:2518444944 M:1349722112 NOTICE: Name: None
22:00:51 T:2518444944 M:1349722112 NOTICE: categories
22:00:52 T:2481085328 M:1349722112 ERROR: Texture manager unable to load file:
22:00:55 T:2646961040 M:1349898240 NOTICE: -->Python Interpreter Initialized<--
22:00:55 T:2646961040 M:1349898240 ERROR: dll_fstat64 emulated function failed
22:00:57 T:2646961040 M:1347579904 NOTICE: Cookiefile=/home/xbmc/.xbmc/plugins/video/Tv Shack/cookies.lwp
22:00:57 T:2646961040 M:1347579904 NOTICE: Mode: 1
22:00:57 T:2646961040 M:1347579904 NOTICE: URL: http://tvshack.net/movies
22:00:57 T:2646961040 M:1347579904 NOTICE: Name: Movies
22:00:57 T:2646961040 M:1347579904 NOTICE: INDEX OF LINKS : http://tvshack.net/movies
22:01:06 T:2481085328 M:1341046784 ERROR: Texture manager unable to load file:
22:01:15 T:2510052240 M:1340796928 NOTICE: -->Python Interpreter Initialized<--
22:01:15 T:2510052240 M:1340796928 ERROR: dll_fstat64 emulated function failed
22:01:17 T:2510052240 M:1340157952 NOTICE: Cookiefile=/home/xbmc/.xbmc/plugins/video/Tv Shack/cookies.lwp
22:01:17 T:2510052240 M:1340157952 NOTICE: Mode: 2
22:01:17 T:2510052240 M:1340157952 NOTICE: URL: /movies/The__burbs__1989_/
22:01:17 T:2510052240 M:1340157952 NOTICE: Name: The 'burbs
22:01:17 T:2510052240 M:1340157952 NOTICE: ALTERNATE VIDEO SOURCES: /movies/The__burbs__1989_/
22:01:17 T:2510052240 M:1340157952 NOTICE: Traceback (most recent call last):
22:01:17 T:2510052240 M:1340157952 NOTICE: File "/home/xbmc/.xbmc/plugins/video/Tv Shack/default.py", line 572, in ?
22:01:17 T:2510052240 M:1340157952 NOTICE: ALTERNATE(url,name)
22:01:17 T:2510052240 M:1340157952 NOTICE: File "/home/xbmc/.xbmc/plugins/video/Tv Shack/default.py", line 391, in ALTERNATE
22:01:17 T:2510052240 M:1340157952 NOTICE: response = urllib2.urlopen(req);link=response.read();response.close()
22:01:17 T:2510052240 M:1340055552 NOTICE: File "/usr/share/xbmc/system/python/python24.zip/urllib2.py", line 130, in urlopen
22:01:17 T:2510052240 M:1340055552 NOTICE: return _opener.open(url, data)
22:01:17 T:2510052240 M:1340055552 NOTICE: File "/usr/share/xbmc/system/python/python24.zip/urllib2.py", line 350, in open
22:01:18 T:2510052240 M:1340055552 NOTICE: protocol = req.get_type()
22:01:18 T:2510052240 M:1340055552 NOTICE: File "/usr/share/xbmc/system/python/python24.zip/urllib2.py", line 233, in get_type
22:01:18 T:2510052240 M:1340055552 NOTICE: raise ValueError, "unknown url type: %s" % self.__original
22:01:18 T:2510052240 M:1340055552 NOTICE: ValueError
22:01:18 T:2510052240 M:1340055552 NOTICE: :
22:01:18 T:2510052240 M:1340055552 NOTICE: unknown url type: /movies/The__burbs__1989_/
22:01:18 T:2510052240 M:1340055552 ERROR: Scriptresult: Error
22:01:18 T:3040851856 M:1340055552 ERROR: Control 402 in window 10107 has been asked to focus, but it can't
22:01:18 T:3040851856 M:1340035072 ERROR: GetDirectory - Error getting plugin://video/Tv Shack/?url=%2Fmovies%2FThe__burbs__1989_%2F&mode=2&name=The+%27burbs
22:01:18 T:3040851856 M:1340035072 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Tv Shack/?url=%2Fmovies%2FThe__burbs__1989_%2F&mode=2&name=The+%27burbs) failed
22:01:25 T:2481085328 M:1333448704 ERROR: Texture manager unable to load file:
22:01:28 T:2481085328 M:1333391360 ERROR: Texture manager unable to load file:


- guedes - 2010-01-11

Hey...

I have a version of the plugin that I use (to watch Tv and learn python) published in google code. Feel free to try it.

Since this is the plugin that I currently use for all my Tv needs, I have been keeping it running... now I'm starting to refactor the code a bit while I learn some python.

I also changed the flow of the plugin to be shorter and autoplay files that have only one source, or if more, show a popup that the user can select and then autoplay selected source.

Hope this helps,
p.


- Voinage - 2010-01-11

Fixed.
Added A-Z


- noakesey - 2010-01-13

guedes Wrote:Hey...

Since this is the plugin that I currently use for all my Tv needs, I have been keeping it running... now I'm starting to refactor the code a bit while I learn some python.

I also changed the flow of the plugin to be shorter and autoplay files that have only one source, or if more, show a popup that the user can select and then autoplay selected source.
p.

Hi Guedes,

Good work helping out with the maintenance of Voin's masterpiece (It's the only plugin I use).

Any chance you could add A-Z and get the titles to sort correctly?

I like the new flow - perhaps this is something that could go back into the trunk?

N


- guedes - 2010-01-15

noakesey Wrote:Hi Guedes,

Good work helping out with the maintenance of Voin's masterpiece (It's the only plugin I use).

Any chance you could add A-Z and get the titles to sort correctly?

I like the new flow - perhaps this is something that could go back into the trunk?

N

Hi,

Can you raise whatever issues/improvements in the google code page?
The time I get to play with these things is limited, and so keeping track of these issues is best done by an issue tracker Wink

About the A-Z and sorting: I'm confused... Are shows not sorted? I had a quick look at the shows/movies listings and they look sorted here... Can you clarify a bit?

Can't really take credit for maintaining Voinage's code... I'm not really doing that. Just taking the opportunity to learn some python coding with something that is useful for me (the TvShack plugin). I'm actually doing refactorings that will make merging things back into Voinage's code harder... but everybody is free to propose patches based on one project to the other: It's opensource! Big Grin

Regards,
g.


- jon-t - 2010-01-22

The season sorting is broken.
Replace this line:
season=re.compile('http://tvshack.net/.+?/.+?/(.+?)/episode_.+?/').findall(url)
with this:
season=re.compile('/.+?/.+?/(.+?)/episode_.+?/').findall(url)

Thanks for a great app Voinage Smile


- gavno - 2010-03-31

my plugin (including the one from the google code page), crashes as soon as i try using it


- guedes - 2010-04-01

Hey Voinage...

TvShack changed again this morning... so while listing parts for a video it will fail.

The fix is to not look for report_vid (which looks like was refactored) and instead do something like:
idtag = re.compile("http://tvshack.net/video_load/(.+?)/(.+?)/'").findall(html)

Sorry but my codebase is now very different so It's hard to make it clearer... do you have the source hosted somewhere that I can checkout and create a patch to send to you?

Hope this helps,
p.


- queeup - 2010-04-09

Plugin updated. you can download or update from SVN Repo Installer. I Just commit @Voinage's latest version to repo. (It seems working. But rather then megavideo links not working atm.)


- beyondinferno - 2010-04-13

Is there a component needed aside from xbmc and the plugin? I just installed through SVN and i'm just getting dead end folder trees....
Running v3 of the plugin BTW.


- queeup - 2010-04-13

Hmm It's working here. Please post your XBMC log. Paste it to xbmc.pastebin.com or another paste services.


- jabba_29 - 2010-04-13

I just installed this on my ATV - XBMC 9.11 rc26018

Partially worked for me. Television category I tried 2.
Yes Minister & The A-Team: both successfully started to play episodes,
though I did have to drill down a bit.

I got a script error when trying various shows in the anime section.
Not sure if this section is different than TV but all shows that I tried got script errors -
including one that I actually started on the web (Justice League).

Anyway - just a heads up.

Looks great in general, can't wait to see what is actually in there.


- sansat - 2010-04-13

I tried it but it play's the megavideo files for 30-40 mins and then it does not play any megavideo file - Any issue ?

Please let me know.

Thanks


- kreach - 2010-04-13

Megavideo has a time limit of approx 72 minutes if you don't have a premium account.