Page 3 of 3

Re: Matching album names containing invalid file path characters

Posted: Tue Apr 25, 2017 3:36 pm
by Johandang
Is there any solution for that issue?

Re: Matching album names containing invalid file path characters

Posted: Fri Apr 28, 2017 8:39 am
by zag
bLight wrote:Any update?


Yeh its in progress. I want to make sure all the functions add this data going forward, so its a little more work than just running a database script.

Re: Matching album names containing invalid file path characters

Posted: Sun Apr 30, 2017 7:45 pm
by bLight
Cool, I'm looking forward to trying it out :)

Re: Matching album names containing invalid file path characters

Posted: Fri May 05, 2017 10:35 am
by zag
OK albums now have an extra column for strAlbumStripped

It removes these characters from the album name:

Code: Select all

! . @  , # $ % ^ & * ( )  _  - +  \  [ ] { } ; : " < > |


I'll build a new API method now to search using it.

Re: Matching album names containing invalid file path characters

Posted: Fri May 05, 2017 11:06 am
by zag
To search for a stripped album name only:

Code: Select all

http://www.theaudiodb.com/api/v1/json/{APIKEY}/searchalbum.php?as={Album name}

Notice the "as" variable to pass instead of "a"

Or you can do an artist and album search

Code: Select all

http://www.theaudiodb.com/api/v1/json/{APIKEY}/searchalbum.php?ss={Artist name}&as={Album name}


Example:
http://www.theaudiodb.com/api/v1/json/1 ... 2019882003

Re: Matching album names containing invalid file path characters

Posted: Thu May 11, 2017 2:09 pm
by bLight
This still fails for me:

Code: Select all

http://www.theaudiodb.com/api/v1/json/{APIkey}/searchalbum.php?ss=REM&as=In%20Time%20The%20best%20of%20REM

I'm guessing because it's incomplete.

However, this also fails:

Code: Select all

http://www.theaudiodb.com/api/v1/json/{APIkey}/searchalbum.php?ss=REM&as=In%20Time%20The%20best%20of%20REM%2019882003


If I remove the "ss=REM" it works.

Re: Matching album names containing invalid file path characters

Posted: Wed May 17, 2017 3:42 pm
by zag
Took a while, but I finally got round to it.

Both should work now as the strArtistStripped field has been implemented.

Re: Matching album names containing invalid file path characters

Posted: Thu May 25, 2017 9:37 am
by bLight
I can confirm the fix works, I implemented the code changes as part of the next Zoom Player release.