PenkethBoy 2063 Posted August 30, 2019 Share Posted August 30, 2019 Currently the IMVDB Plugin is quite poor at matching Music Videos - say approx 30% correct matches An example Robert Palmer - Addicted To Love Current Emby search against IMVDB 2019-08-30 20:04:40.922 Debug App: Running MusicVideoNfoProvider for E:\ServerFolders\Multimedia\Music Videos\Robert Palmer\Addicted To Love\Addicted To Love.mkv 2019-08-30 20:04:40.923 Debug App: MusicVideoNfoProvider returned no metadata for E:\ServerFolders\Multimedia\Music Videos\Robert Palmer\Addicted To Love\Addicted To Love.mkv 2019-08-30 20:04:40.923 Debug App: Running ImvdbProvider for E:\ServerFolders\Multimedia\Music Videos\Robert Palmer\Addicted To Love\Addicted To Love.mkv 2019-08-30 20:04:40.924 Info HttpClient: GET https://imvdb.com/api/v1/search/videos?q=+Addicted To Love 2019-08-30 20:04:41.166 Info HttpClient: GET https://imvdb.com/api/v1/video/135975624717 Snippet from the returned json from IMVDB ..... "results": [ { "id": 135975624717, "production_status": "r", "song_title": "Addicted To Love", "song_slug": "addicted-to-love", "url": "https:\/\/imvdb.com\/video\/roman-scott\/addicted-to-love", "multiple_versions": false, "version_name": null, "version_number": 1, "is_imvdb_pick": false, "aspect_ratio": null, "year": 2018, "verified_credits": false, "artists": [ { "name": "Roman Scott", "slug": "roman-scott", "url": "https:\/\/imvdb.com\/n\/roman-scott" } ], "image": { "o": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/135975624717-roman-scott-addicted-to-love_music_video_ov.jpg?v=2", "l": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/135975624717-roman-scott-addicted-to-love_music_video_lv.jpg?v=2", "b": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/135975624717-roman-scott-addicted-to-love_music_video_bv.jpg?v=2", "t": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/135975624717-roman-scott-addicted-to-love_music_video_tv.jpg?v=2", "s": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/135975624717-roman-scott-addicted-to-love_music_video_sv.jpg?v=2" } }, { "id": 186352742692, "production_status": "r", "song_title": "Addicted to Love", "song_slug": "addicted-to-love", "url": "https:\/\/imvdb.com\/video\/robert-palmer\/addicted-to-love", "multiple_versions": false, "version_name": null, "version_number": 1, "is_imvdb_pick": false, "aspect_ratio": null, "year": null, "verified_credits": false, "artists": [ { "name": "Robert Palmer", "slug": "robert-palmer", "url": "https:\/\/imvdb.com\/n\/robert-palmer" } ], "image": { "o": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_ov.jpg", "l": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_lv.jpg", "b": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_bv.jpg", "t": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_tv.jpg", "s": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_sv.jpg" } },....... Hopefully you can see that the second result is the correct Music Video - but Emby only uses the first result returned. So.... Firstly the query URL for the IMVDB api should look like this - i.e. with "+" replacing any spaces in the video filename ....imvdb.com/api/v1/search/videos?q=Addicted+To+Love and not like this ....imvdb.com/api/v1/search/videos?q=+Addicted To Love (although it does work but it think that's just luck!) Or is this supposed to be ...q=Artist name+video filename - and Emby is failing to look for the Artist Tag etc see below - For this Music Video example the metadata TAGS are present for Artist and AlbumArtist as they are for all my Music Videos?????????????? ------------- Secondly the IMVDB query accuracy can be considerable improved by adding the Artist name as well as the Video filename This can be pulled either from a metadata tag i.e. Artist or AlbumArtist - which is probably the best option or from the parent directory of the music video directory as this is the suggested folder structure for Music Videos or at least the one most have found to work best e.g. .\Robert Palmer\Addicted To Love\Addicted To Love.mkv Once you add the artist name to the IMVDB search query you get a considerable better accuracy on the returned json information - from testing 90% and usually the 10% that fail are because the video is not present on IMVDB e.g. using ....imvdb.com/api/v1/search/videos?q=Robert+Palmer+Addicted+To+Love The correct Music Video is the first result returned ..... "results": [ { "id": 186352742692, "production_status": "r", "song_title": "Addicted to Love", "song_slug": "addicted-to-love", "url": "https:\/\/imvdb.com\/video\/robert-palmer\/addicted-to-love", "multiple_versions": false, "version_name": null, "version_number": 1, "is_imvdb_pick": false, "aspect_ratio": null, "year": null, "verified_credits": false, "artists": [ { "name": "Robert Palmer", "slug": "robert-palmer", "url": "https:\/\/imvdb.com\/n\/robert-palmer" } ], "image": { "o": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_ov.jpg", "l": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_lv.jpg", "b": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_bv.jpg", "t": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_tv.jpg", "s": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/186352742692-robert-palmer-addicted-to-love_music_video_sv.jpg" } },....... Irrespective of the above fixes being implemented ..... where Emby has the Artist name (from metadata TAGs etc) could this be used to verify that the first returned result is correct rather than just accepting anything that IMVDB returns as correct - so we get effectively "Unidentified" videos - as these would be a lot easier to deal with than the random rubbish we get now which means you have to check every video added to make sure the metadata added is "correct". Or another alternative add a TAG to the Emby metadata indicating that no direct match was identified or similar so they are easier to find and correct!!!! Hopefully the above can be implemented soon to make adding new Music Videos a more pleasant experience than the hell it is now! 1 Link to comment Share on other sites More sharing options...
Luke 37057 Posted August 31, 2019 Share Posted August 31, 2019 Yea I suppose we could prepend the artist name to the beginning of the search query. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted August 31, 2019 Author Share Posted August 31, 2019 Thanks - look forward to an updated plugin in the near future Link to comment Share on other sites More sharing options...
Luke 37057 Posted August 31, 2019 Share Posted August 31, 2019 Actually I looked at the code and we already do this. The problem is that you have to fill it into the metadata editor first and then refresh metadata. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted August 31, 2019 Author Share Posted August 31, 2019 Which is kind of useless when you have thousands of MV's!! You can pull the artist from the file metadata Why is this different to any other metadata download Link to comment Share on other sites More sharing options...
Luke 37057 Posted August 31, 2019 Share Posted August 31, 2019 We do already support pulling it from embedded metadata. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 1, 2019 Author Share Posted September 1, 2019 well its not working as any new MV with embedded metadata is not being read by Emby or you are not using it in the query when you should - as i outlined in the first post it was available in my testing but not used by Emby Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 2, 2019 Share Posted September 2, 2019 Can you provide a sample video for testing? thanks. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 3, 2019 Author Share Posted September 3, 2019 Attached is the Robert Palmer example Robert Palmer.zip Its a zip of the Robert Palmer directory which would be placed in the root of my music library folder e.g. ..\MusicVid\Robert Palmer\Addicted To Love\Addicted to Love.mkv when added to Emby it gets identified incorrectly as this (just checked on a test version of .6 beta but same happens on Stable) - i.e. as Roman Scott and obviously with wrong date Log snippet 2019-09-03 18:44:55.738 Debug App: MusicVideoNfoProvider returned no metadata for F:\EmbyTest\MusicVid\Robert Palmer\Addicted To Love\Addicted To Love.mkv 2019-09-03 18:44:55.739 Debug App: Running ImvdbProvider for F:\EmbyTest\MusicVid\Robert Palmer\Addicted To Love\Addicted To Love.mkv 2019-09-03 18:44:55.740 Info HttpClient: GET https://imvdb.com/api/v1/search/videos?q=+Addicted To Love 2019-09-03 18:44:56.462 Info HttpClient: GET https://imvdb.com/api/v1/video/135975624717 Correct IMVDB Id would be 186352742692 so not using metadata tag of Artist or AlbumArtist from file metadata - see image from previous post If you need more info let me know Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 3, 2019 Share Posted September 3, 2019 Great, thanks. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 5, 2019 Author Share Posted September 5, 2019 For Info - this is not fixed in beta .7 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 21, 2019 Author Share Posted September 21, 2019 @@Luke This is still not working (still same issues) in .8 and .9 beta Still not using the media metadata tags in the lookup for the Music Video Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 22, 2019 Share Posted September 22, 2019 Have you tried adding a new video? Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 23, 2019 Author Share Posted September 23, 2019 @@Luke Yes - using the Robert Palmer video sample i gave you removed the RP video directory from Emby ran a full lib scan checked it was gone from Emby removed the existing nfo from RP directory re added the directory to Emby Still same result - incorrectly detected - see post #9 Note this is with only imvdb metadata provider enabled If i enable tmdb provider - that detects it as a movie - as its not sending the artist in the query either Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 24, 2019 Share Posted September 24, 2019 Thanks, I'll take another look. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 13, 2020 Author Share Posted September 13, 2020 i have not added many Music videos recently but i notice this is still not fixed - results are exactly the same as post #1 Metadata not being read from mv files Just tested again with robert palmer and it comes up as Roman Scott Can this be fixed once and for all please! Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 13, 2020 Share Posted September 13, 2020 I actually still have your sample file, and i just retested and it does have robert palmer as the artist. I don't have the imvdb plugin installed right now but i think it's just not utilizing the artist. The server does support the embedded information. Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 13, 2020 Share Posted September 13, 2020 Actually I did put in a fix for this a while ago. Just tested by installing the plugin, then refreshing metadata, and this is what it searched for: 2020-09-13 13:27:25.442 Info HttpClient: GET https://imvdb.com/api/v1/search/videos?q=Robert Palmer+Addicted To Love Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 13, 2020 Author Share Posted September 13, 2020 @Luke not in my version of .26 2020-09-13 18:19:33.304 Info HttpClient: GET https://imvdb.com/api/v1/search/videos?q=+Addicted To Love 2020-09-13 18:19:33.936 Info HttpClient: GET https://imvdb.com/api/v1/video/135975624717 So why would that be? i did the remove/scan/readd dance rather than refresh the metadata plugin version 1.0.8.0 i have tried a refresh - no change removed the imvdb id - refresh no change remeoved imvdb and artist name - refresh no change refresh was a replace all metadata all three times embyserver.txt - log from my attempts to get this to work - as an aid attempt are approx from 18:00 to 18:40 Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 13, 2020 Share Posted September 13, 2020 Well first thing i would try is adding the video again without the plugin. Does robert palmer show up as a clickable artist on the detail screen? Try adding it brand new by renaming it. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 13, 2020 Author Share Posted September 13, 2020 removed plugin removed folder from library deleted .nfo file scanned library added back folder with mv inside and Emby does not read the artist/artists or Albumartist metadata - as the MV is just the name of the file changing the name to Additcted to Love1 - had no effect other than to update the name of the mv in emby Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 13, 2020 Share Posted September 13, 2020 Maybe try a fresh install to compare? I'm not sure what to say at the moment as I get a completely different result on the same sample file you provided me. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 13, 2020 Author Share Posted September 13, 2020 (edited) Ok - without the plugin installed I removed all my MV - did a scan then added back one artist and emby did see the metadata - picked up the artist - great BUT a second and subsequent artists mv did not work - hmm The difference between the first artist and all the others is that those MV are H264 mp4 file and all the rest are H265 mkv files - is it possible emby is that picky? Edited September 13, 2020 by PenkethBoy Link to comment Share on other sites More sharing options...
Luke 37057 Posted September 13, 2020 Share Posted September 13, 2020 Did you try running them through ffprobe to see if the artists are recognized consistently between the two? Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 13, 2020 Author Share Posted September 13, 2020 Ok - have rebuilt the library - renamed library.db And now its working! I still have the old db file will see what i can find in it to see if the "error" is obvious The above was without the plugin installed - i will add that back now and see if it makes a difference Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now