plugin.program.autowidget icon indicating copy to clipboard operation
plugin.program.autowidget copied to clipboard

[Bug] Library indicators

Open rijsab opened this issue 3 years ago • 6 comments

Hi,

Local library indicators are not showing up in the widgets on posters. If I add a widget to AW from tmdbhelper --> IMdB --> Networks --> Netflix and save this path into lets say Widget 'IMdB'. Using Cosmic skin the indicators are not showing, however when navigating to above path without using Autowidget they will show up.

Seems like files are not recognised in AW widgets and therefor TMDBhelper not able to read if present in local library or not.

rijsab avatar Sep 02 '21 08:09 rijsab

Are these items you have in your library already?

drinfernoo avatar Feb 10 '22 03:02 drinfernoo

hello, just checked the issue (using merged group) and @rijsab is right. items that are already in local library are not showing "collected" overlay. if using TMDb directly they are showing as supposed

scapix avatar Feb 10 '22 12:02 scapix

You know... I can replicate this, but haven't gotten enough time lately to actually try and debug it. I do believe that "watched" indicators should work, but I don't see "collected"-style indicators like in the library. TMDbHelper does this by querying the local library for additional details on each item, so AutoWidget may need to do the same if we want this.

drinfernoo avatar Feb 10 '22 22:02 drinfernoo

did not have time to check your code, but at least found out what should be implemented: in horizon skin library overlay is added if !String.IsEmpty({listitem}.Property(Item.Info)) + !String.IsEmpty({listitem}.DBID) + !Skin.HasSetting(DisableIndicator.Library) so, DBID must be set for listitem to show "collected" overlay. after checking cached TMDb responses it is already there as "id" property. i can take a look and try to fix it, but it could be easier for you as it will take time to dig into someone else code.

scapix avatar Feb 11 '22 13:02 scapix

@scapix Can you test version 0.0.1488 from the devrepo?

You shouldn't need to do anything, except possibly clear cache on your widget(s).

drinfernoo avatar Feb 11 '22 17:02 drinfernoo

have not checked 0.0.1488, but latest develop branch and it works

scapix avatar Feb 12 '22 11:02 scapix