XBMC Community Forum
[RELEASE] TVRage-Eps (Script) TV Show Episode Notifier and Browser Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] TVRage-Eps (Script) TV Show Episode Notifier and Browser Addon (/showthread.php?tid=82174)

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


- XmemphistoX - 2010-10-09 01:15

ruuk Wrote:I'm thinking of creating a video plugin that simply launches the script. Then you could launch it from 'Video Add-ons' (Note: If anyone cares about this let me know)

Not sure that would do what you want. In Confluence, TV SHOWS doesn't have a menu for addons and I wouldn't think that other skins do (unless it's the same content as VIDEO) as there isn't a separate plugin type for tv shows and video.
It's in programs because it's not a plugin and doesn't operate like a plugin.

Sorry, I didn't mention that I am using Aeon65. TV shows does have a drop down menu for add-ons. Thanks for adding it if you do and Thanks for the plugin!


- Dobyken - 2010-10-09 01:24

ruuk Wrote:The list that it shows is what TVRage returned as matching what is entered in XBMC. When you select from that list the script gets info for the show based on the associated show id. Adding the XBMC name to this list doesn't make sense in this context, if you see what I mean. When this happens either TVRage doesn't have info on this show, or you may have to search manually and edit your search terms.

Thanks for the log. That showed me the bug and I'm posting a link here for the update in a second.

I agree with you...just trying to eliminate confusion for new users because many apps if you close a window it aborts the script.

The file save function now works on my system...thanks. Didn't you say you were going to create a setup variable for whether to import "Cancelled" shows? Of my 100 or so series about 75 fall into the cancelled category and deleting 75 records one at a time is painful.


- ruuk - 2010-10-09 01:39

Dobyken Wrote:Didn't you say you were going to create a setup variable for whether to import "Cancelled" shows? Of my 100 or so series about 75 fall into the cancelled category and deleting 75 records one at a time is painful.

It's in the addon settings under Library Access


- ppic - 2010-10-09 02:05

ruuk Wrote:
Code:
import jsonrpc

api = jsonrpc.jsonrpcAPI()
#or
api = jsonrpc.jsonrpcAPI(mode='http',url='http://192.168.1.5:8080/jsonrpc',user='user',password='password')
seasonsarray = api.VideoLibrary.GetSeasons(tvshowid="idhere")

As you can see it mirrors the format of the jsonrpc. It also should be future-proof as it doesn't have to 'physically' implement the methods.

Anyway, if you if anyone else is interested in using it let me know and I'll make it available.

strange that you need username and password using builtin


- ppic - 2010-10-09 02:07

ruuk Wrote:I'm thinking of creating a video plugin that simply launches the script. Then you could launch it from 'Video Add-ons' (Note: If anyone cares about this let me know)

Not sure that would do what you want. In Confluence, TV SHOWS doesn't have a menu for addons and I wouldn't think that other skins do (unless it's the same content as VIDEO) as there isn't a separate plugin type for tv shows and video.
It's in programs because it's not a plugin and doesn't operate like a plugin.

you just need to add that to you addon.xml:

Code:
<provides>video</provides>



- Dobyken - 2010-10-09 02:13

ruuk Wrote:It's in the addon settings under Library Access

Thanks..I deleted all the old data, changed the canceled setting and ran the import again. Two shows marked as canceled appeared in the list. Both were ones that I was presented with a selection list to verify the series name vs. TVRage. The other canceled shows did not get imported.


- ruuk - 2010-10-09 02:28

ppic Wrote:strange that you need username and password using builtin

You don't. I was just illustrating that my api can do both builtin and HTTP with no difference in usage after instantiating the class.

This is an example via builtin:
api = jsonrpc.jsonrpcAPI()

This is an example vie HTTP:
api = jsonrpc.jsonrpcAPI(mode='http',url='http://192.168.1.5:8080/jsonrpc',user='user',password='password')


- ruuk - 2010-10-09 02:41

Dobyken Wrote:Thanks..I deleted all the old data, changed the canceled setting and ran the import again. Two shows marked as canceled appeared in the list. Both were ones that I was presented with a selection list to verify the series name vs. TVRage. The other canceled shows did not get imported.

Thanks. Fixed. I remember thinking it made sense for some reason at the time. But it doesn't. Smile
I'm adding a 'Skip' option to the list as well.


- ppic - 2010-10-09 02:44

ruuk Wrote:You don't. I was just illustrating that my api can do both builtin and HTTP with no difference in usage after instantiating the class.

This is an example via builtin:
api = jsonrpc.jsonrpcAPI()

This is an example vie HTTP:
api = jsonrpc.jsonrpcAPI(mode='http',url='http://192.168.1.5:8080/jsonrpc',user='user',password='password')

ok, but why it still requiering user and password on my htpc Sad


- ruuk - 2010-10-09 02:55

ppic Wrote:ok, but why it still requiering user and password on my htpc Sad

On my TVRage-Eps script? What version are you using? Shouldn't need it in 0.9.6
Also you can make sure that 'Use HTTP' isn't checked in the settings. It shouldn't be by default.