New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Music]Prompt skip artist or album nfo files and refresh from remote sites #15791
Conversation
…file and fetch metadata and art from remote sites
c85d58d
to
72a5b2c
Compare
Artrists works as expected. |
Was unable to complete the test with Albums as I receive Integral Scraper Addon error. @ronie Maybe one for you?
Selecting Yes does not cause the error. Changing to Universal Album Scraper also causes an error... |
no idea what's going on there, perhaps @DaveTBlake can make sense of it. on line 800, your local .nfo is passed to metadata.integral.albums (so far so good) |
The errors do not relate to this PR. Having album.nfo files created by exporting metadata that had been scraped by an earlier version of the beta Python album scraper caused scraper errors. Specifically the syntax of the available art urls was preventing the nfo scraper from running correctly. The following tag in the album.nfo
when parsed by the NfoURL xml scraper resulted in a request to Musicbrainz That accounts for the xml scraper error at least, and I can repeat it at will. Not so sure why the log shows the Python scraper running immediately before that - maybe fast fingers from Karellen? Test build for this PR here http://mirrors.kodi.tv/test-builds/windows/win64/KodiSetup-20190321-b207fa6d-PR15791-merge-x64.exe Retesting with older NFO files (no Python scraper involvement) this is PR worked correctly. |
I have tested the new build using NFO Files created from data scraped by the Universal XML scrapers. Artists & Albums
Performing the same action in the Video library will update the images. |
A little bit more testing for Item 2, and it has become apparent that the Video Library also does not refresh artwork either. Artwork changing on the first test run may have been coincidental and changed due to cache timing. |
@KarellenX thanks for testing and confirming that the change of PR is working correctly. The lack of refresh of image cache (so changed local image file content gets applied immediately rather than a day later) is a separate and historic issue. |
Good work. Actually I forgot to implement this for music back then when I did it for video. |
can we make it even more clever and make it stop doing that? |
If my guess at what happened is correct then obviously we need to do that, but not part of this PR :) Anyway this ssems ready to merge unless there are objections |
Make refresh of artist or album additional information and artwork from music info dialog more consistent with video info dialog behaviour by allowing user to skip existing nfo files.
Currently, if an nfo file is found that is always applied so user has to notice this happened, and go and delete the nfo if they want to fetch new remote data to replace it. This PR adds the display of the following prompt when an nfo file is found (matches the video equivalent).
@KarellenX sorry this took so long for me to get around to, should make the manual management of additional music data a bit easier.
Tested for artists and albums both with and without nfo files, and that it does not impact automated scraping. Fixing an inconsistency in bejaviour and an improvement so would like to get into v18.2