•   
  • 1
  • 49
  • 50
  • 51
  • 52(current)
  • 53
  •   
Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2021-10-09, 14:55)jurialmunkey Wrote: However, pretty simple to add, so I've added a splitter for add_query in v4.4.8 on github. No changes to the runscript command necessary - it will now simply split the string if the " / " character is present and then prompt the user to select from the choices.

@jurialmunkey , thanks a lot! It works great.

Regards,

Bart
Amber Maintainer
Main HTPC: Intel Core i7, 32GB, nVidia GTX1080, Windows 11 Soundbar: Samsung HW-Q950A TV: LG CX Kodi: 19.3 Skin: Amber
Reply
@jurialmunkey I know using nextaired I can get future episodes for all shows in my library but is there a way to get future episodes for just one show?
Reply
(2021-10-23, 10:39)roidy Wrote: @jurialmunkey I know using nextaired I can get future episodes for all shows in my library but is there a way to get future episodes for just one show?
If you only want the first next aired episode, you can use the ListItem.Property(Next_Aired.xxxxx) properties (equivalents also go into the service lookup tmdbhelper.listitem window properties). You can get thumb, plot, name, season, episode https://github.com/jurialmunkey/plugin.v...w-specific


If you want to use the next aired calendar but only show items from one particular tvshow you can use filter params: https://github.com/jurialmunkey/plugin.v...parameters
EDIT: Just tested and this works well:
Code:
plugin://plugin.video.themoviedb.helper/?info=library_nextaired&startdate=0&days=14&filter_key=tvshowtitle&filter_value=Succession&nextpage=False)
Replace "Succession" in filter_value= with the tvshow infolabel (it's just the show I tested with since it's in my library and currently airing). You can use something like filter_value=$INFO[Container(ID).ListItem.TvShowtitle] if you want to base it off another list.

You'll want to use nextpage=False because the filter won't carry over to the next page. Note filter is only applied to current page, so it will only get items that are on the first page of the unfiltered list.

There's no specific method for retrieving a single show as list because I've never really found a circumstance where I'd need more than the first next unaired item and also generally tmdb data beyond that is often patchy.
Reply
Thank you, that's exactly what I'm looking for.
Reply
Hello, I would like to add the new Hulu addon to the list of players.  I have added http://bit.ly/tmdbplayers but it is not in the list yet.  I don't know how to add it myself.  Thanks.
Reply
(2021-10-27, 00:06)MovieLover75 Wrote: Hello, I would like to add the new Hulu addon to the list of players.  I have added http://bit.ly/tmdbplayers but it is not in the list yet.  I don't know how to add it myself.  Thanks.
Solution here: https://github.com/jurialmunkey/plugin.v...issues/575
Reply
Is there a way to get a formatted version of ListItem.Premiered?

Ideally like 21 Nov 2021 instead of 2021-11-21

Thanks
Reply
Hi, was testing changing the language of the media to portuguese-br, it all works good, even the sinopsis is displayed corret in the language, just a small issue im having with trailers, there is a way of getting the trailers in english instead of the local language too?
Thanks
Reply
(2021-11-06, 12:30)roidy Wrote: Is there a way to get a formatted version of ListItem.Premiered?

Ideally like 21 Nov 2021 instead of 2021-11-21

Thanks
I think it's formatted automatically by Kodi according to short date settings (if youre talking about listitems).

If youre talking about equivalent window properties - it's because Kodi will only accept the date in that format (and then formats it according to settings later) so it gets passed to the service like that.

I might be able to add a skin string setting to specify a formatting string - but itd only be possible for window props not the listitem itself.
Reply
(2021-11-10, 18:40)dragonmaster01 Wrote: Hi, was testing changing the language of the media to portuguese-br, it all works good, even the sinopsis is displayed corret in the language, just a small issue im having with trailers, there is a way of getting the trailers in english instead of the local language too?
Thanks
Unfortunately not really - tmdb api gives all the data according to language specified. To get some data using a different language would require double the requests (one in base language then another in English - then merge both) - so it would just add way too much overhead to do it.
Reply
(2021-11-12, 05:43)jurialmunkey Wrote:
(2021-11-06, 12:30)roidy Wrote: Is there a way to get a formatted version of ListItem.Premiered?

Ideally like 21 Nov 2021 instead of 2021-11-21

Thanks
I think it's formatted automatically by Kodi according to short date settings (if youre talking about listitems).

If youre talking about equivalent window properties - it's because Kodi will only accept the date in that format (and then formats it according to settings later) so it gets passed to the service like that.

I might be able to add a skin string setting to specify a formatting string - but itd only be possible for window props not the listitem itself.

Yep sorry, I'm talking about Window(Home).Property(TMDbHelper.ListItem.Premiered). It would be nice to get a short version like in the Next aired calendar which has ListItem.Property(air_date) and ListItem.Property(air_date_short)
Reply
(2021-11-12, 20:23)roidy Wrote:
(2021-11-12, 05:43)jurialmunkey Wrote:
(2021-11-06, 12:30)roidy Wrote: Is there a way to get a formatted version of ListItem.Premiered?

Ideally like 21 Nov 2021 instead of 2021-11-21

Thanks
I think it's formatted automatically by Kodi according to short date settings (if youre talking about listitems).

If youre talking about equivalent window properties - it's because Kodi will only accept the date in that format (and then formats it according to settings later) so it gets passed to the service like that.

I might be able to add a skin string setting to specify a formatting string - but itd only be possible for window props not the listitem itself.

Yep sorry, I'm talking about Window(Home).Property(TMDbHelper.ListItem.Premiered). It would be nice to get a short version like in the Next aired calendar which has ListItem.Property(air_date) and ListItem.Property(air_date_short)

Can you try latest version from github (4.4.21)
https://github.com/jurialmunkey/plugin.v...edb.helper

Window(Home).Property(TMDbHelper.ListItem.Premiered) will now properly follow Kodi system short date format settings
Window(Home).Property(TMDbHelper.ListItem.Premiered_Long) will give long date format

OR set a custom strftime format string (see https://strftime.org/ for options - %d %b %Y will give 21 Nov 2021 format)

Skin.SetString(TMDbHelper.Date.Format,%d %b %Y)
Window(Home).Property(TMDbHelper.ListItem.Premiered_Custom)

Wiki: https://github.com/jurialmunkey/plugin.v...or#general
Commit: https://github.com/jurialmunkey/plugin.v...f6eede23a6
Reply
(2021-11-13, 03:11)jurialmunkey Wrote: Can you try latest version from github (4.4.21)
https://github.com/jurialmunkey/plugin.v...edb.helper

Window(Home).Property(TMDbHelper.ListItem.Premiered) will now properly follow Kodi system short date format settings
Window(Home).Property(TMDbHelper.ListItem.Premiered_Long) will give long date format

OR set a custom strftime format string (see https://strftime.org/ for options - %d %b %Y will give 21 Nov 2021 format)

Skin.SetString(TMDbHelper.Date.Format,%d %b %Y)
Window(Home).Property(TMDbHelper.ListItem.Premiered_Custom)

Wiki: https://github.com/jurialmunkey/plugin.v...or#general
Commit: https://github.com/jurialmunkey/plugin.v...f6eede23a6

Thank you, that all works perfect.
Reply
Hello! I am getting an error in addon version 4.4.22. The version KODI 19.3 is used for the add-on settings and KODI in Russian. How can this error be corrected? Thanks!

Code:
2021-11-16 20:08:45.155 T:13904   ERROR <general>: Control 50 in window 10025 has been asked to focus, but it can't
2021-11-16 20:08:45.168 T:13488    INFO <general>: initializing python engine.
2021-11-16 20:08:45.519 T:13488    INFO <general>: [plugin.video.themoviedb.helper]
                                                   Expecting value: line 1 column 1 (char 0)
2021-11-16 20:08:45.554 T:13488    INFO <general>: CPythonInvoker(64, C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\plugin.py): script successfully run
2021-11-16 20:08:45.880 T:13488    INFO <general>: Python interpreter stopped
2021-11-16 20:08:47.016 T:10836    INFO <general>: initializing python engine.
2021-11-16 20:08:47.354 T:10836    INFO <general>: [plugin.video.themoviedb.helper]
                                                   Expecting value: line 1 column 1 (char 0)
2021-11-16 20:08:47.378 T:10836    INFO <general>: CPythonInvoker(65, C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\plugin.py): script successfully run
2021-11-16 20:08:47.710 T:10836    INFO <general>: Python interpreter stopped
2021-11-16 20:08:48.775 T:15644    INFO <general>: initializing python engine.
2021-11-16 20:08:49.121 T:15644    INFO <general>: [plugin.video.themoviedb.helper]
                                                   Expecting value: line 1 column 1 (char 0)
2021-11-16 20:08:50.378 T:8232     INFO <general>: [plugin.video.themoviedb.helper]
                                                   lib.addon.cache use_cache
                                                   Error Type: UnicodeEncodeError
                                                   Error Contents: ('locale', "%A, %d %B %Y 'г.'", 14, 15, 'encoding error')
                                                     File "C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\resources\lib\addon\decorators.py", line 53, in wrapper
                                                       return func(*args, **kwargs)
                                                     File "C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\resources\lib\addon\cache.py", line 66, in use_cache
                                                       my_object = func(*args, **kwargs)
                                                     File "C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\resources\lib\tmdb\api.py", line 167, in _get_details
                                                       base_item = self.mapper.get_info(info_item, tmdb_type)
                                                     File "C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\resources\lib\tmdb\mapping.py", line 621, in get_info
                                                       item = self.map_item(item, info_item)
                                                     File "C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\resources\lib\api\mapping.py", line 85, in map_item
                                                       v = d['func'](v, *d.get('args', []), **d.get('kwargs', {}))
                                                     File "C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\resources\lib\tmdb\mapping.py", line 164, in get_episode_to_air
                                                       infoproperties[u'{}.long'.format(name)] = format_date(i.get('air_date'), xbmc.getRegion('datelong'))
                                                     File "C:\Users\Nick_PC\AppData\Roaming\Kodi\addons\plugin.video.themoviedb.helper\resources\lib\addon\timedate.py", line 51, in format_date
                                                       return time_obj.strftime(str_fmt)
Reply
@cool0007 - Full log please, not snippets. Upload log to https://paste.kodi.tv/ and post link here.

Also what are the steps to reproduce the issue?

EDIT: Nevermind, I know what the issue is. It's a special character in the kodi dateformat string. Hopefully should have a fix soon.
Reply
  •   
  • 1
  • 49
  • 50
  • 51
  • 52(current)
  • 53
  •   



Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2
This forum uses Lukasz Tkacz MyBB addons.