• 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
Release TheAudioDb.com Music Video Scraper
The scraper uses REGEX so you could open it in a text file and edit it yourself.

It won't get changed though, as that would effect everyone else. As a rule the filename must be Artist - Title.ext (exactly as on TADB)
Reply
So there is no way to multiple videos of the same song?
Reply
Love this scraper, I have spent alot of time naming all the files to fit the requirements.
However on problem keeps popping up, song names ending in a ? mark are not scraped eg most of shania twain stuff.
I can't put a ? as windows won't allow.
any suggestions?

note the ? works here.
Reply
Does it not work simply removing the question mark?
Reply
(2017-12-14, 11:54)docwra Wrote: Does it not work simply removing the question mark?
Shania Twain - Whose Bed Have Your Boots Been Under.mkv. Maybe this song is not in db
You are right it was late, and there seem to have been a few errors in the names themselves. the one above still does not scrape
But while we are talking
I am having a major problem with the & and "and" and ft. ft feat. feat see below.
I have been going to Utube to try and correct all my bad names punctuation etal but even then some don't get picked up is there a way to report unscraped videos so the experts among us can help out.
eg.
Shania Twain - Party For Two ft. Mark McGrath
Shania Twain - Party For Two ft. Billy Currington
Taylor Swift – We Are Never Ever Getting Back TogetherHuh?
Olivia Newton John and John Travolta - Your are The one that I want
Bryan Adams & Barbra Streisand - I Finally Found Someone
Bryan Adams & Melanie C - When You're Gone
Bryan Adams & Tina Turner - It's Only Love
4 Non Blondes - What's Up... just does not scrape

There is more but I can not seem to figure out the dual artist thing.
Anyhow thanks very much for the db, my only wish is that I was clever enough to help out with the project.
Reply
TheAudioDB site has that track and I can confirm the API call works as well.

Essentially this means there is a problem with the Kodi side of things. Most likely the Regex in the scraper code if it doesn't match the song.

Image
http://www.theaudiodb.com/track/32735851

Api Call
Code:
http://www.theaudiodb.com/api/v1/json/1/searchtrack.php?s=Shania_Twain&t=Whose_Bed_Have_Your_Boots_Been_Under?

Returned data
Code:
{"track": [{"idTrack": "32735851","idAlbum": "2110790","idArtist": "111314","idLyric": "445169","idIMVDB": "0","strTrack": "Whose Bed Have Your Boots Been Under?","strAlbum": "The Woman in Me","strArtist": "Shania Twain","strArtistAlternate": "Eilleen Regina Edwards","intCD": null,"intDuration": "264546","strGenre": "Country","strMood": "Bittersweet","strStyle": "Rock/Pop","strTheme": "...","strDescriptionEN": "\"Whose Bed Have Your Boots Been Under?\" is a song by Canadian singer Shania Twain. It was released in January 1995 as the first single released from her album The Woman in Me. The song was the first single that Twain co-wrote with her then-husband Mutt Lange. The song became Twain's first hit at country radio, peaking at number 11. It was released to radio on January 2, 1995. Radio stations began putting the song into high rotation after they noticed high amounts of the album selling. In August 1995, the single was certified Gold for 500,000 sales, making it Twain's first gold single. The song won the SOCAN Song of the Year award at the Canadian Country Music Awards in 1995. The song was later included in Twain's 2004 Greatest Hits package.\n\nMusic video\nThe music video for \"Whose Bed Have Your Boots Been Under?\" was shot in Santa Ynez, California and directed by John Derek. It was filmed on December 19, 20 and 21, 1994 and released on January 2, 1995 on CMT. The video features Twain wearing a red dress, walking around in a smoky restaurant in the country. She interacts with various men in the restaurant, but she is invisible to them. These scenes are intercut with shots of her singing and playing guitar outside the restaurant. The video is available on Twain's DVD The Platinum Collection.\n\nCritical reception\nBillboard praised Twain's \"velvety vocals\" and the \"neat production twists\".\n\nChart performance\n\"Whose Bed Have Your Boots Been Under?\" debuted on the Billboard Hot Country Singles & Tracks chart the week of January 14, 1995 at number 71. It spent 20 weeks on the chart and climbed to a peak position of number 11 on April 29, 1995, where it remained for two weeks. At the time, it was Twain's biggest single. The song ranked No. 40 on CMT's 40 Greatest Done-Me-Wrong Songs in 2004.","strTrackThumb": "[url]http://media.theaudiodb.com/images/media/track/thumb/vyrvuw1513328944.jpg[/url]","strTrackLyrics": "","strMusicVid": "[url]https://www.youtube.com/watch?v=iZRA-Dwv86E[/url]","strMusicVidDirector": "John Derek","strMusicVidCompany": "","strMusicVidScreen1": null,"strMusicVidScreen2": null,"strMusicVidScreen3": null,"intMusicVidViews": "15473630","intMusicVidLikes": "46633","intMusicVidDislikes": "1902","intMusicVidFavorites": "0","intMusicVidComments": "1853","intTrackNumber": "3","intLoved": "0","intScore": "8","intScoreVotes": "1","strMusicBrainzID": "4627e8db-d439-4359-a3e6-c4c21511988e","strMusicBrainzAlbumID": "6f381dd5-4fb0-3ae1-8742-c0100466b535","strMusicBrainzArtistID": "faabb55d-3c9e-4c23-8779-732ac2ee2c0d","strLocked": "unlocked"}]}

Regarding the other songs, make sure you name the songs exactly the same as the song on TheAudioDB, you can use its search feature to find them.

This is what the scraper matches against, nothing else.
Reply
many thank, I was not aware the database was so available.. Interesting how many different ways there is to name a song.
4 Non Blondes - What's Up? still evading me along with some others. going to update my scraper.

I made a small donation, hope it helps out in some small way.

I may even try my hand at editing.
Reply
Thanks Smile And yes editing always helps. You can add any missing tracks or just update data for tracks you have.

This benefits all users forever into the future Smile
Reply
(2017-12-16, 12:33)docwra Wrote: Thanks Smile And yes editing always helps. You can add any missing tracks or just update data for tracks you have.

This benefits all users forever into the future Smile
The following album will not add to db

25588e4a-ed2f-49d3-9011-58ce0d78d798

Artist Name: Lee Ann Womack
Album Name: The Way I\'m Livin\'
Album Year: 2014
Album Release Group ID: 25588e4a-ed2f-49d3-9011-58ce0d78d798
Album Type: Album
25588e4a-ed2f-49d3-9011-58ce0d78d798

Shows errors below

Checking for Duplicates.... 
Artist Name: Lee Ann Womack
Album Name: The Way I\'m Livin\'
Album Year: 2014
Album Release Group ID: 25588e4a-ed2f-49d3-9011-58ce0d78d798
Album Type: Album
Searching for cover on Fanart.TV... 
Searching for cdart on Fanart.TV... 

and does nothing more...
Reply
Nice bug find! There was a problem with albums with an apostrophe at the end.

I've fixed it now and added the album:

Image
http://www.theaudiodb.com/album/2289811
Reply
hello I encounter a new problem with apostophes.

Api Call
www.theaudiodb.com/api/v1/json/18626d636d76696473706d/searchtrack.php?s=Keen%E2%80%99v&t=Elle%20a
Returned data
Quote:{"track":[{"idTrack":"34907779","idAlbum":"2290284","idArtist":"115317","idLyric":null,"idIMVDB":"0","strTrack":"Elle a","strAlbum":"7","strArtist":"Keen\u2019V","strArtistAlternate":null,"intCD":null,"intDuration":"186453","strGenre":"Reggae","strMood":"...","strStyle":"...","strTheme":"...","strDescriptionEN":"","strTrackThumb":null,"strTrackLyrics":"","strMusicVid":"https://www.youtube.com/watch?v=DbPRwNNHjvY","strMusicVidDirector":"","strMusicVidCompany":"","strMusicVidScreen1":null,"strMusicVidScreen2":null,"strMusicVidScreen3":null,"intMusicVidViews":"15280508","intMusicVidLikes":"85282","intMusicVidDislikes":"4789","intMusicVidFavorites":"0","intMusicVidComments":"2208","intTrackNumber":"2","intLoved":"0","intScore":null,"intScoreVotes":null,"strMusicBrainzID":"ce353c4e-91c1-45ce-b45c-4a98f9e4790b","strMusicBrainzAlbumID":"0e43d409-f638-4a25-b04e-93e1e102bdcd","strMusicBrainzArtistID":"1df4efd9-16aa-46f0-a7cc-55cf6459d2af","strLocked":"unlocked"}]}

or 

Api Call
www.theaudiodb.com/api/v1/json/18626d636d76696473706d/searchtrack.php?s=Keen%27v&t=Elle%20a
Returned data
Quote:{"track":null}

On Kodi TADB don't scrappe this file
Reply
unless I change the apostrophe (') by this one (’)
Reply
Hi 

Does the scraper run from the online code or the code on your KODI install disk?

I've made some changes to my local copy to ignore content in square brackets but it's not working and the only reason I can think of is that the code I've changed is not being executed.

Thanks
Reply
You can check by looking at the api call in the kodi log file, it should work in any web browser.
Reply
Issues with Unicode \u2019 and the scraper. The one that is failing is:

'E.M.D. - There’s a Place for Us' - the apostrophe is actually unicode 2019 (and the %e%80%99 is also unicode 2019

The track we want the scrapper to bring back is: 
https://www.theaudiodb.com/api/v1/json/1...h=35063149 - Title : "There\u2019s a Place for Us"

a) the audiodb does not seem to like the %e%80%99
b) can the scrapper the forced/tricked into using the NFO file with the working URI
c) not sure how to get theaudiodb to respond with the correct response on these unicode quotes

Thanks is advance. 

{"track":[{"idTrack":"35063149","idAlbum":"2307011","idArtist":"137895","idLyric":null,"idIMVDB":"0","strTrack":"There\u2019s a Place for Us","strAlbum":"Rewind","strArtist":"E.M.D","strArtistAlternate":null,"intCD":null,"intDuration":"0","strGenre":"Pop","strMood":"...","strStyle":"...","strTheme":"...","strDescriptionEN":"Bonus Track from The Chronicles of Narnia: The Voyage of the Dawn Treader","strTrackThumb":null,"strTrackLyrics":"","strMusicVid":"https://youtu.be/3INu4HB8o_Y","strMusicVidDirector":"","strMusicVidCompany":"","strMusicVidScreen1":null,"strMusicVidScreen2":null,"strMusicVidScreen3":null,"intMusicVidViews":"284130","intMusicVidLikes":"1949","intMusicVidDislikes":"59","intMusicVidFavorites":"0","intMusicVidComments":"229","intTrackNumber":"13","intLoved":"0","intScore":null,"intScoreVotes":null,"intTotalListeners":null,"intTotalPlays":null,"strMusicBrainzID":"b4de84cf-f46d-4b39-be04-9cd97b158d93","strMusicBrainzAlbumID":"bf631825-97b9-4af3-b508-ab99fd3e3e8c","strMusicBrainzArtistID":"8651f561-afe5-4273-ab10-37b4db9f652c","strLocked":"unlocked"}]}


22:23:25.171 T:139634304997120   DEBUG: FindMovie: Searching for 'E.M.D. - There’s a Place for Us' using TheAudioDb.com for Music Videos scraper (path: '/storage/.kodi/addons/metadata.musicvideos.theaudiodb.com', content: 'musicvideos', version: '1.3.3')
22:23:25.176 T:139634304997120   DEBUG: scraper: CreateSearchUrl returned <url>http://www.theaudiodb.com/api/v1/json/18626d636d76696473706d/searchtrack.php?s=E.M.D.&amp;t=There%e2%80%99s%20a%20Place%20for%20Us</url>
...
22:23:31.891 T:139634304997120 WARNING: No information found for item '/var/media/L-Z/MusicVideos/E.M.D. - There’s a Place for Us.mkv', it won't be added to the library.


References: 
https://www.utf8-chartable.de/unicode-ut...number=128
Reply
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23

Logout Mark Read Team Forum Stats Members Help
TheAudioDb.com Music Video Scraper4