• 1
  • 87
  • 88
  • 89
  • 90(current)
  • 91
Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2024-12-18, 10:43)TurDo Wrote: But after that I restarted kodi and it seems to be fine now Smile
Also caught an exception, probably unrelated, but still Tongue

______
Second question, is this also related to TMDbH?
Code:
error <general>: XFILE::CDirectory::GetDirectory - Error getting &nextpage=false&fanarttv=false&cacheonly=true&length=1

Yeah you would need to restart after updating the module for it to be reimported properly. Hopefully retry of the connection is enough for most cases -- I'd rather keep a session open than go back to the old approach which required a new session for every request.

Of course there can still be connection errors if network is down, or if the end server has issues / is rate limiting you for too many requests etc. as there's nothing that can be done for that other than retry later.

The exception is weird because Exception is a basic exception class in python and should always exist. If it keeps happening, let me know, but for now I'll just put it down as an unexpected startup quirk of Kodi's CPython API and something that normally wouldn't occur.

The GetDirectory error is unrelated and isn't consequential. It's just Kodi logging that a path in the skin didn't return any items. Based on what the path looks like, it is an invalid path where the first half is missing because some necessary info for an ID or query wasn't available (info is empty so only get the generic part of the path added on the end in the skin, which in turn returns no items since it doesn't point to any plugin, library, or file path).
Arctic Fuse 2 - Alpha now available. Support me on Ko-fi.
Reply
(2024-12-18, 03:04)jurialmunkey Wrote: If you are getting messages to authorise Trakt then you should stop attempting to use features or widgets that require Trakt. No Trakt features are enabled by default. If you have a Trakt based widget in a skin you are using then you should remove that widget from your widget configuration.
How do I do this?  I don't use Trakt, so how do I disable this "feature"?   From what I can determine Trakt is part of TMDBhelper.   I tried to disable TMDBhelper, but can't.  I use Eminence and TMDBhelper is a dependent of Eminence.

Thanks
Reply
Hi jurialmunkey, 

I was wondering if I might request a feature?
I would love an option to exclude specific genres when updating the library.
This would avoid family-unfriendly posters and fanart showing up on my main device's homescreen.
Thanks in advance for your consideration.
Reply
I think you're confusing this with themoviedb scraper.
Reply
Hello,
i often get this error msg from themoviedb helper.

2025-01-12 11:53:20.709 T:11518    info <general>: [plugin.video.themoviedb.helper]
                                                   CACHE: ERROR while retrieving _database: no such table: simplecache
                                                   database_v6_TMDb.db_simplecache
2025-01-12 11:53:20.987 T:11518    info <general>: Skipped 3 duplicate messages..
2025-01-12 11:53:20.987 T:11518    info <general>: [plugin.video.themoviedb.helper]
                                                   CACHE: ERROR while retrieving _database: no such table: simplecache
                                                   database_v6_ItemBuilder.db_simplecache
it floods the log all the day long

System is kodi21.1 on shield
i even deleted the addon and reinstalled ... installed version is latest from your repo

any thing i can do agains?
Reply
(2025-01-12, 13:01)putzipuh Wrote: Hello,
i often get this error msg from themoviedb helper.

2025-01-12 11:53:20.709 T:11518    info <general>: [plugin.video.themoviedb.helper]
                                                   CACHE: ERROR while retrieving _database: no such table: simplecache
                                                   database_v6_TMDb.db_simplecache
2025-01-12 11:53:20.987 T:11518    info <general>: Skipped 3 duplicate messages..
2025-01-12 11:53:20.987 T:11518    info <general>: [plugin.video.themoviedb.helper]
                                                   CACHE: ERROR while retrieving _database: no such table: simplecache
                                                   database_v6_ItemBuilder.db_simplecache
it floods the log all the day long

System is kodi21.1 on shield
i even deleted the addon and reinstalled ... installed version is latest from your repo

any thing i can do agains?

Not sure if this help. You have some explain here : 
https://github.com/jurialmunkey/plugin.v...ssues/1257
Reply
(2025-01-12, 13:01)putzipuh Wrote: any thing i can do agains?

What is your TMDb helper addon version ?

The latest version is 5.4.19 from repo jurialmunkey
Reply
(2025-01-12, 13:13)Nanomani Wrote:
(2025-01-12, 13:01)putzipuh Wrote:  
Not sure if this help. You have some explain here : 
https://github.com/jurialmunkey/plugin.v...ssues/1257
i dont use Piers. like i said its latest Kodi 21.1 and yes, its latest version of  plugin.video.themoviedb.helper i use
Reply
@jurialmunkey

In the front end of TMDB for actor Jack Lemmon:

https://www.themoviedb.org/person/3151-j...uage=en-US

it shows "known credits" with an integer return of 155. I've tried to call that for an infolabel which is part of the standard mapping in the tmdbhelper as:

'credits': ('infolabels', 'credits'),

Using both methods to see if I'm missing something:

xml:
                    <item>
                        <!-- <label>$INFO[ListItem.Property(Credits)]</label> -->
                        <label>$INFO[Container(99950).ListItem.Property(Credits),,]</label>
                        <label2>Credits:</label2>
                        <!-- <visible>!String.IsEmpty(ListItem.Property(Credits)) + !Container(9000).Hasfocus(100002) + !Container(9000).Hasfocus(100003) + !Container(9000).Hasfocus(100004)</visible> -->
                    </item>    

I only get the label back (vis control off for testing) and no integer return. 

Am I calling it wrong or is this not broken out for a call? It looks like it is all set up in the files for return, but not sure if it is being stopped somewhere else in the code.

Thanks.
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
I've been using the same method you used in Arctic Fuse to get the director name and list of their movies but I noticed that sometimes it returns the First Assistant Director instead (the same happens in Arctic Fuse).

eg Nosferatu (2024) returns Josh Robertson and his movies instead of Robert Eggers.

Thanks.

EDIT: I noticed you're using $INFO[Window(Home).Property(TMDbHelper.xxx)] properties in Arctic Fuse 2 and wondered how these are filled? Is there any documentation?
Reply
(2025-01-19, 18:10)kittmaster Wrote: I've tried to call that for an infolabel which is part of the standard mapping in the tmdbhelper as:
'credits': ('infolabels', 'credits'),

This isn't a mapping for TMDb. This is a mapping for local Kodi DB. Nothing to do with what you think it is -- it's local info not online.

It maps the JSON RPC return for credits property from local library to the ListItem.Credits infolabel on a TMDbHelper item (note it is not a property). Either way, nothing to do with what you think it is -- it's local info not online (and it's fairly obscure infolabel at that).

(2025-01-19, 18:10)kittmaster Wrote: $INFO[ListItem.Property(Credits)]

I only get the label back (vis control off for testing) and not integer return. 

Because it isn't a valid property. Use the wiki to see the properties available:
https://github.com/jurialmunkey/plugin.v...n-specific

What are you trying to do? Get how many credits are listed for a person on TMDb? That's these properties:
Code:

ListItem.Property(numitems.tmdb.movies.cast) Number of credited movies as a cast member
ListItem.Property(numitems.tmdb.movies.crew) Number of credited movies as a crew member
ListItem.Property(numitems.tmdb.movies.total) Number of credited movies in total
ListItem.Property(numitems.tmdb.tvshows.cast) Number of credited tvshows as a cast member
ListItem.Property(numitems.tmdb.tvshows.crew) Number of credited tvshows as a crew member
ListItem.Property(numitems.tmdb.tvshows.total) Number of credited tvshows in total
Arctic Fuse 2 - Alpha now available. Support me on Ko-fi.
Reply
(2025-01-21, 18:28)Hitcher Wrote: I've been using the same method you used in Arctic Fuse to get the director name and list of their movies but I noticed that sometimes it returns the First Assistant Director instead (the same happens in Arctic Fuse).

eg Nosferatu (2024) returns Josh Robertson and his movies instead of Robert Eggers.

Yeah it is a weird quirk of how TMDb lists the "Directing" department as covering anyone vaguely related to directing -- the first AD, the DOP, Second Unit Director, Script Supervisor etc. The ordering is according to how the data was added originally on TMDb, not the importance of the job -- but most of the time it will still be *the* Director first since you'd expect that general is the first info people would add.

You can check the job field to make sure it is *the* director by comparing the job e.g.
String.IsEqual(ListItem.Property(Director.1.job),Director)

I use a VAR in AF2 to get the correct TMDb_ID for the path by iterating through the index till I find a matching director job:
https://github.com/jurialmunkey/skin.arc...#L318-L328

Note that ListItem.Director is already filtered by Job, but obviously not useful for getting the ID, hence the more complicated approach above for that.

(2025-01-21, 18:28)Hitcher Wrote: EDIT: I noticed you're using $INFO[Window(Home).Property(TMDbHelper.xxx)] properties in Arctic Fuse 2 and wondered how these are filled? Is there any documentation?

That's because I've switched to using the "classic" service monitor method.

You enable it by clearing the TMDbHelper.MonitorContainer string where you set the background container ID. If there's no container ID set in the string, then TMDbHelper assumes you want the service details output to Window Properties instead of a ListItem
Code:

Skin.Reset(TMDbHelper.MonitorContainer)

Examples for how the ListItem maps onto Window Properties are here (also useful if you want to switch my VAR back to using the container.listitem instead of window properties)
https://github.com/jurialmunkey/plugin.v...sic-method

As to why I switched:

There's some issue with the Kodi CPython API for adding the ListItem to the background container that can occasionally cause crashes immediately after a ReloadSkin() -- I think this is a similar issue to how a ReloadSkin can crash Kodi if the info dialog is open. I just haven't been able to make a reliable enough test case plugin to report the issue properly.

The window property method is a bit more stable, albeit less convenient, because it isn't adding a ListItem -- it's just filling window properties instead similar to how the original SkinHelper worked.
Arctic Fuse 2 - Alpha now available. Support me on Ko-fi.
Reply
(2025-01-22, 02:43)jurialmunkey Wrote:
(2025-01-19, 18:10)kittmaster Wrote: I've tried to call that for an infolabel which is part of the standard mapping in the tmdbhelper as:
'credits': ('infolabels', 'credits'),

This isn't a mapping for TMDb. This is a mapping for local Kodi DB. Nothing to do with what you think it is -- it's local info not online.

It maps the JSON RPC return for credits property from local library to the ListItem.Credits infolabel on a TMDbHelper item (note it is not a property). Either way, nothing to do with what you think it is -- it's local info not online (and it's fairly obscure infolabel at that).
(2025-01-19, 18:10)kittmaster Wrote: $INFO[ListItem.Property(Credits)]

I only get the label back (vis control off for testing) and not integer return. 

Because it isn't a valid property. Use the wiki to see the properties available:
https://github.com/jurialmunkey/plugin.v...n-specific

What are you trying to do? Get how many credits are listed for a person on TMDb? That's these properties:
Code:

ListItem.Property(numitems.tmdb.movies.cast) Number of credited movies as a cast member
ListItem.Property(numitems.tmdb.movies.crew) Number of credited movies as a crew member
ListItem.Property(numitems.tmdb.movies.total) Number of credited movies in total
ListItem.Property(numitems.tmdb.tvshows.cast) Number of credited tvshows as a cast member
ListItem.Property(numitems.tmdb.tvshows.crew) Number of credited tvshows as a crew member
ListItem.Property(numitems.tmdb.tvshows.total) Number of credited tvshows in total

These are what I think I was after as you have shown:

xml:
ListItem.Property(numitems.tmdb.movies.cast) Number of credited movies as a cast member
ListItem.Property(numitems.tmdb.movies.crew) Number of credited movies as a crew member
ListItem.Property(numitems.tmdb.movies.total) Number of credited movies in total
ListItem.Property(numitems.tmdb.tvshows.cast) Number of credited tvshows as a cast member
ListItem.Property(numitems.tmdb.tvshows.crew) Number of credited tvshows as a crew member
ListItem.Property(numitems.tmdb.tvshows.total) Number of credited tvshows in total

But I didn't see anything like that on the Github wiki, but yes, I think this is exactly what I was looking for... i.e. TMDB shows 155 credits between tv/movies etc as a whole number, and I was looking to display that in my meta data but didn't see anything like what you just have shown. So that is pretty sweet. TY.

I guess my other inquiry is, do all the list item property support that type of expansion?...... Um, NM, I just noticed you updated the wiki 30 minutes ago with exactly this info which is very helpful.

But I guess the question is still valid, I haven't recently updated the plugin, is there a new version that will come down that supports this syntax or was it always there, just not explicitly stated?

I'll review the updates (assuming others my be new) and give it a go and check for updates.

TY. 
Chris
Kodi: Nexus v20.5 | Skin Dev: Madnox Omega/Nexus: v20.01.02 | Madnox ForumRoot | Madnox Repov1.0.09 | Mr. V'sSource | Kodi Texture Tool (Takeover): v3.0.1 | Batch Texture Resize (Irfanview): Tutorial
Working On
: Replacing Embruary >> TMDB Helper || Start: 6/3/2024 End: God knows || Status Complete: Movies: 80% TV Shows: 40% Music: 20%
Reply
(2025-01-22, 03:13)kittmaster Wrote:
(2025-01-22, 02:43)jurialmunkey Wrote:
(2025-01-19, 18:10)kittmaster Wrote: I've tried to call that for an infolabel which is part of the standard mapping in the tmdbhelper as:
'credits': ('infolabels', 'credits'),

This isn't a mapping for TMDb. This is a mapping for local Kodi DB. Nothing to do with what you think it is -- it's local info not online.

It maps the JSON RPC return for credits property from local library to the ListItem.Credits infolabel on a TMDbHelper item (note it is not a property). Either way, nothing to do with what you think it is -- it's local info not online (and it's fairly obscure infolabel at that).
(2025-01-19, 18:10)kittmaster Wrote: $INFO[ListItem.Property(Credits)]

I only get the label back (vis control off for testing) and not integer return. 

Because it isn't a valid property. Use the wiki to see the properties available:
https://github.com/jurialmunkey/plugin.v...n-specific

What are you trying to do? Get how many credits are listed for a person on TMDb? That's these properties:
Code:

ListItem.Property(numitems.tmdb.movies.cast) Number of credited movies as a cast member
ListItem.Property(numitems.tmdb.movies.crew) Number of credited movies as a crew member
ListItem.Property(numitems.tmdb.movies.total) Number of credited movies in total
ListItem.Property(numitems.tmdb.tvshows.cast) Number of credited tvshows as a cast member
ListItem.Property(numitems.tmdb.tvshows.crew) Number of credited tvshows as a crew member
ListItem.Property(numitems.tmdb.tvshows.total) Number of credited tvshows in total

These are what I think I was after as you have shown:

xml:
ListItem.Property(numitems.tmdb.movies.cast) Number of credited movies as a cast member
ListItem.Property(numitems.tmdb.movies.crew) Number of credited movies as a crew member
ListItem.Property(numitems.tmdb.movies.total) Number of credited movies in total
ListItem.Property(numitems.tmdb.tvshows.cast) Number of credited tvshows as a cast member
ListItem.Property(numitems.tmdb.tvshows.crew) Number of credited tvshows as a crew member
ListItem.Property(numitems.tmdb.tvshows.total) Number of credited tvshows in total

But I didn't see anything like that on the Github wiki, but yes, I think this is exactly what I was looking for... i.e. TMDB shows 155 credits between tv/movies etc as a whole number, and I was looking to display that in my meta data but didn't see anything like what you just have shown. So that is pretty sweet. TY.

I guess my other inquiry is, do all the list item property support that type of expansion?...... Um, NM, I just noticed you updated the wiki 30 minutes ago with exactly this info which is very helpful.

But I guess the question is still valid, I haven't recently updated the plugin, is there a new version that will come down that supports this syntax or was it always there, just not explicitly stated?

I'll review the updates (assuming others my be new) and give it a go and check for updates.

TY. 
Chris

It's an old property that's been there at least as far back as v4 of TMDbH. There's been no update to the plugin since December, you can see when the plugin was last update on the releases page
https://github.com/jurialmunkey/plugin.v...r/releases

I just had the property listed under a different section of the wiki, and I realised it wasn't listed in the details page so I added it there too to make it easier to find.
Arctic Fuse 2 - Alpha now available. Support me on Ko-fi.
Reply
(2025-01-22, 03:11)jurialmunkey Wrote:
(2025-01-21, 18:28)Hitcher Wrote: I've been using the same method you used in Arctic Fuse to get the director name and list of their movies but I noticed that sometimes it returns the First Assistant Director instead (the same happens in Arctic Fuse).

eg Nosferatu (2024) returns Josh Robertson and his movies instead of Robert Eggers.

Yeah it is a weird quirk of how TMDb lists the "Directing" department as covering anyone vaguely related to directing -- the first AD, the DOP, Second Unit Director, Script Supervisor etc. The ordering is according to how the data was added originally on TMDb, not the importance of the job -- but most of the time it will still be *the* Director first since you'd expect that general is the first info people would add.

You can check the job field to make sure it is *the* director by comparing the job e.g.
String.IsEqual(ListItem.Property(Director.1.job),Director)

I use a VAR in AF2 to get the correct TMDb_ID for the path by iterating through the index till I find a matching director job:
https://github.com/jurialmunkey/skin.arc...#L318-L328

Note that ListItem.Director is already filtered by Job, but obviously not useful for getting the ID, hence the more complicated approach above for that.

(2025-01-21, 18:28)Hitcher Wrote: EDIT: I noticed you're using $INFO[Window(Home).Property(TMDbHelper.xxx)] properties in Arctic Fuse 2 and wondered how these are filled? Is there any documentation?

That's because I've switched to using the "classic" service monitor method.

You enable it by clearing the TMDbHelper.MonitorContainer string where you set the background container ID. If there's no container ID set in the string, then TMDbHelper assumes you want the service details output to Window Properties instead of a ListItem
Code:

Skin.Reset(TMDbHelper.MonitorContainer)

Examples for how the ListItem maps onto Window Properties are here (also useful if you want to switch my VAR back to using the container.listitem instead of window properties)
https://github.com/jurialmunkey/plugin.v...sic-method

As to why I switched:

There's some issue with the Kodi CPython API for adding the ListItem to the background container that can occasionally cause crashes immediately after a ReloadSkin() -- I think this is a similar issue to how a ReloadSkin can crash Kodi if the info dialog is open. I just haven't been able to make a reliable enough test case plugin to report the issue properly.

The window property method is a bit more stable, albeit less convenient, because it isn't adding a ListItem -- it's just filling window properties instead similar to how the original SkinHelper worked.

Thanks for your help.
Reply
  • 1
  • 87
  • 88
  • 89
  • 90(current)
  • 91

Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2