Shepard 2 Posted August 31, 2024 Posted August 31, 2024 Hi, after unsuccessful attempts with several file structures/naming, and reading the entries on music videos in the forum I understand that this is the correct naming convention: artist/songname/songname.ext So I tried Taylor Swift/Shake It Off/Shake If Off.mp4 As the documention mentions to add tags, I used Tagscan to add tags for "Artist" and "Title" and enabled to prefer embedded titles for this library. The result of a library scan looks like this, showing only the songtitle and no artist name or other metadata. Looking at the Emby logfile, it fetches data from imvdb, and other metadata, though for the wrong title ("Delicate" instead of "Shake It Off") 2024-08-31 21:20:16.371 Info HttpClient: GET https://imvdb.com/api/v1/search/videos?q=Taylor Swift 2024-08-31 21:20:17.507 Info HttpClient: GET https://imvdb.com/api/v1/video/296471206296 [...] 2024-08-31 21:20:19.032 Info HttpClient: GET https://musicbrainz.emby.tv/ws/2/artist/?query="Taylor Swift"&dismax=true 2024-08-31 21:20:19.773 Info HttpClient: GET https://musicbrainz.emby.tv/ws/2/artist/20244d07-534f-4eff-b4d4-930878889970?inc=url-rels 2024-08-31 21:20:20.322 Info HttpClient: GET https://www.theaudiodb.com/api/v1/json/2139078587215309723505/artist-mb.php?i=20244d07-534f-4eff-b4d4-930878889970 2024-08-31 21:20:20.428 Info HttpClient: GET https://webservice.fanart.tv/v3.1/music/20244d07-534f-4eff-b4d4-930878889970?api_key=x_secret3_x -> https://imvdb.com/api/v1/video/296471206296 Returns this result: { "id": 296471206296, "production_status": "r", "song_title": "Delicate", "song_slug": "delicate", "url": "https:\/\/imvdb.com\/video\/taylor-swift\/delicate\/2", "multiple_versions": true, "version_name": "Vertical Version", "version_number": 2, "is_imvdb_pick": false, "aspect_ratio": null, "year": 2018, "verified_credits": false, "artists": [ { "name": "Taylor Swift", "slug": "taylor-swift", "url": "https:\/\/imvdb.com\/n\/taylor-swift" } ], "image": { "o": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/296471206296-taylor-swift-delicate_music_video_ov.jpg?v=2", "l": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/296471206296-taylor-swift-delicate_music_video_lv.jpg?v=2", "b": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/296471206296-taylor-swift-delicate_music_video_bv.jpg?v=2", "t": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/296471206296-taylor-swift-delicate_music_video_tv.jpg?v=2", "s": "https:\/\/s3.amazonaws.com\/images.imvdb.com\/video\/296471206296-taylor-swift-delicate_music_video_sv.jpg?v=2" }, "directors": [ { "position_name": "Director", "position_code": "dir", "entity_name": "Jordan Lynn", "entity_slug": "jordan-lynn", "entity_id": 246054, "position_notes": null, "position_id": 246054, "entity_url": "https:\/\/imvdb.com\/n\/jordan-lynn" } ], "release_date_stamp": 1526515200, "release_date_string": "May 17, 2018" } So some info is received but for the wrong song and it's not displayed or added to the database. Full log is attached. What am I missing? Thanks and best regards embyserver_music_video.txt
Happy2Play 9780 Posted August 31, 2024 Posted August 31, 2024 Yes the dev needs to look at the secondary query of the Artist returned items as the first item returned is not the item you are looking for as it is number 21 of 25. But this has come up before on this plugin. imvdb.com/api/v1/search/videos?q=Taylor Swift
Luke 42077 Posted October 20, 2024 Posted October 20, 2024 @Shepardcan you try filling out the artist name in the metadata editor for the music video? Then try refreshing metadata on it. Does that help? Please note that having the artist name in the embedded metadata of the file is also supported.
Shepard 2 Posted October 22, 2024 Author Posted October 22, 2024 (edited) Hi Luke, I filled out the artist field and did a refresh with 2 videos in the library. For one, the artist was removed (50 Cent) with the metadata refresh, even though I chose to update and not replace the metadata. For the other one (Taylor Swift), the artist remained, but no further metadata was added. Folder structure: 50 Cent/In Da Club/50 Cent - In Da Club.mkv Taylor Swift/Shake It Off/Taylor Swift - Shake It Off.mp4 For the mp4 file, I had the metadata in the artist/title fields, maybe this led to the artist tag being kept on the update. If I chose to replace all metadata, the artist Taylor Swift is also removed from the video detail page. I also tried adding a movie.nfo to both folders, but that had no effect. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <musicvideo> <artist>Taylor Swift</artist> <title>Shake It Off</title> <year>2014</year> <sorttitle>Shake It Off</sorttitle> <uniqueid type="imvdb">225092244997</uniqueid> <imvdbid>225092244997</imvdbid> </musicvideo> The log shows it uses the correct imvdb IDs to fetch the results. 2024-10-22 18:17:05.424 Info HttpClient: GET https://imvdb.com/api/v1/search/videos?q=50 Cent - In Da Club 2024-10-22 18:17:06.199 Info HttpClient: GET https://imvdb.com/api/v1/video/919927580237 2024-10-22 18:17:07.127 Info HttpClient: GET https://imvdb.com/api/v1/search/videos?q=Taylor Swift - Shake It Off 2024-10-22 18:17:07.461 Info HttpClient: GET https://imvdb.com/api/v1/video/225092244997 Edited October 22, 2024 by Shepard
Luke 42077 Posted October 24, 2024 Posted October 24, 2024 Quote For one, the artist was removed (50 Cent) with the metadata refresh, even though I chose to update and not replace the metadata. hi, we'll take a look at this. Quote For the other one (Taylor Swift), the artist remained, but no further metadata was added. There isn't much internet metadata for music videos - song title and year is about it.
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