Release script.extendedinfo - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: Release script.extendedinfo (/showthread.php?tid=160558) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
RE: script.extendedinfo - Lunatixz - 2015-07-06 (2015-07-06, 18:47)Razze Wrote:(2015-07-06, 16:37)Lunatixz Wrote: Can someone post a working runscript for "similartvshowstrakt" or "similarmoviestrakt"? Thanks ahhh thanks... So extendedinfo does not resolve tvdbid? only imdbid? does imdbid resolution apply to tvshows? or only movie ids? RE: script.extendedinfo - Razze - 2015-07-06 (2015-07-06, 18:55)Lunatixz Wrote:(2015-07-06, 18:47)Razze Wrote:(2015-07-06, 16:37)Lunatixz Wrote: Can someone post a working runscript for "similartvshowstrakt" or "similarmoviestrakt"? Thanks Haven't checked the code, but from your debug log I would guess that it's not resolving. It it actually quiet complicated, as you can't be sure which scraper the user is using and (please correct me if I'm wrong) the id field can possibly be the id of site X, we can't know. There are some things, we can use to try to guess which id we have right now https://github.com/Razzeee/script.trakt/blob/master/utilities.py#L486 Then we can do a lookup, if we need to. Lookup can apply to both categories (shows/movies), as the user might use a non standard scraper... RE: script.extendedinfo - phil65 - 2015-07-06 (2015-07-06, 18:47)Razze Wrote: It's passing a tvdb id which is not possible. The endpoint needs a trakt id, trakt slug or a imdb id. Everything else will fail. In order to resolve an tvdb id, you will need to do an id lookup.http://docs.trakt.apiary.io/#reference/search/id-lookup/get-id-lookup-results not sure if this is implemented in extended info nope, I only implemented the corresponding call from TheMovieDB for converting to tmdb ids. Didnt pay too much attention to trakt yet. EDIT: The actual code is indeed wrong in this case. Perhaps it´s because the "old" Trakt API allowed passing a imdb id? Not sure, wouild have to investigate. RE: script.extendedinfo - Razze - 2015-07-06 (2015-07-06, 19:15)phil65 Wrote:(2015-07-06, 18:47)Razze Wrote: It's passing a tvdb id which is not possible. The endpoint needs a trakt id, trakt slug or a imdb id. Everything else will fail. In order to resolve an tvdb id, you will need to do an id lookup.http://docs.trakt.apiary.io/#reference/search/id-lookup/get-id-lookup-results not sure if this is implemented in extended info IMDB? You ment to write tvdb? Otherwise you've lost me as it should work with an IMDB id. RE: script.extendedinfo - phil65 - 2015-07-06 I feel confused now, too Will check that part when I find some free minutes. As said, I didnt look into trakt for quite some time. RE: script.extendedinfo - jurialmunkey - 2015-07-07 Search not working on latest changes to extendedinfo on Helix. http://pastebin.com/AYVn0xbW "b2ada51 some more t9 tweaks" ^^ Last commit where search works afaik RE: script.extendedinfo - phil65 - 2015-07-07 (2015-07-07, 06:58)jurialmunkey Wrote: Search not working on latest changes to extendedinfo on Helix. Which search did you trigger exactly? The search in MovieDB browser? EDIT: also, try latest commit, please. RE: script.extendedinfo - Angelinas - 2015-07-07 Phil think this row is missing for clearart in local_db.ry ,with this changes I can show Clearart in dialogs. (row No.158in local_db.ry) Code: 'Clearart': movie["art"].get('clearart', ""), (row No.201in local_db.ry) Code: 'Clearart': tvshow['art'].get("clearart", ""), for pvr how to create code ?!?? Code: def handle_epg_db(dbid): RE: script.extendedinfo - phil65 - 2015-07-07 (2015-07-07, 18:34)Angelinas Wrote: for pvr how to create code ?!?? Not sure if I will deal with PVR separately. Is there some way to recognize if an EPG item is a movie or a tvshow? RE: script.extendedinfo - Angelinas - 2015-07-07 Yes if epg id have episode number,or episodename,but I didnt ask for that.(and doesent metter at all) I try to use properties from PVR epg10.db to include in your dialog info. Your script will take all info with <onclick>RunScript(script.extendedinfo,info=extendedinfo,name=$INFO[ListItem.Title])</onclick> or <onclick>RunScript(script.extendedinfo,info=extendedinfo,name=$INFO[ListItem.IMDBNumber])</onclick> Just need to populate epg tags who are other genre(news,documentary,Sport,.....) You create local_db.ry to take info from movies.db and include in Your dialog $INFO[Window.Property(movie.discart)] like this create new property in your script taken from epg10.db $INFO[Window.Property(epg.plot)]...... And rest is skining ) RE: script.extendedinfo - phil65 - 2015-07-08 I would have to write a new InfoDialog class for that. Perhaps somewhen in the future. I first want to get out 3.0 in time for Isengard now. RE: script.extendedinfo - jurialmunkey - 2015-07-09 (2015-07-07, 13:42)phil65 Wrote:(2015-07-07, 06:58)jurialmunkey Wrote: Search not working on latest changes to extendedinfo on Helix. Yeah search in both MovieDB browser and Youtube browser. Appears to be working fine with latest commit. RE: script.extendedinfo - phil65 - 2015-07-09 (2015-07-09, 12:50)jurialmunkey Wrote:(2015-07-07, 13:42)phil65 Wrote:(2015-07-07, 06:58)jurialmunkey Wrote: Search not working on latest changes to extendedinfo on Helix. Ok, great. I am done with 3.0 then. Any last bug reports need to get reported today. Final changelog (very incomplete): Quote:- API CHANGE: "imdbid" param for script call is now "imdb_id" RE: script.extendedinfo - psike - 2015-07-11 Can someone please help me figure out how to get results from extendedinfo to another script? I'm just trying to export a list of similar movies, Is this even possible or only can be use inside the skin? I've tried doing this: x = xbmc.executebuiltin("XBMC.Runscript(script.extendedinfo,info=similarmovies,dbid=376)") print x but it's just return 'None'. RE: script.extendedinfo - Mike_Doc - 2015-07-11 That's some changelog Phil and thanks for all the work you do. |