This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Search with Discogs not working

Tags: None
(comma "," separated)
mod
Registered Member
Posts
17
Karma
0

Search with Discogs not working

Sat Jan 03, 2015 10:01 am
Hi,

I use Tellico 2.3.9 on MacOS 10.9.5 from macports. I created a music collection but searching with Discogs gives no result, from the console
Code: Select all
$ tellico
Entity: line 1: parser error : Start tag expected, '<' not found
404 XML Output is Deprecated
^

I also tried Tellico 2.3.8 on Kubuntu 14.10 and the search returns nothing with the same output from console.

Thanks in advance for your help,
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Search with Discogs not working

Sat Jan 03, 2015 9:40 pm
mod wrote:Hi,

I use Tellico 2.3.9 on MacOS 10.9.5 from macports. I created a music collection but searching with Discogs gives no result, from the console
Code: Select all
$ tellico
Entity: line 1: parser error : Start tag expected, '<' not found
404 XML Output is Deprecated
^

Discogs has switched to JSON instead of XML. I need to update Tellico, but I haven't done it yet. I expect to for the next release.
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Mon Jan 05, 2015 6:05 pm
Cool, do you have an aproximate date for next release ?
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Search with Discogs not working

Tue Jan 06, 2015 1:56 am
mod wrote:Cool, do you have an approximate date for next release ?

By the end of the month, I hope...
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Tue Jan 06, 2015 10:38 am
Ok, thanks for your help ;)
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Sat Feb 14, 2015 9:18 pm
Hi,

I tried tellico from git (after your change about discogs), it works as expected. Any news about images and a possible release date ?

Is this possible to also retrieve Format from discogs ? (ie Format: Vinyl, LP, Album, Gatefold ) There is the Medium field in tellico but it's empty.

Thanks in advance!
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Search with Discogs not working

Sun Feb 15, 2015 7:12 pm
mod wrote:I tried tellico from git (after your change about discogs), it works as expected. Any news about images and a possible release date ?

I ended up fixing another data source that also switched to JSON (MovieMeter) so that took me some more time. Should be soon for a release.
mod wrote:Is this possible to also retrieve Format from discogs ? (ie Format: Vinyl, LP, Album, Gatefold ) There is the Medium field in tellico but it's empty.

Sure, I added CD, DVD, Vinyl, and Cassette
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Sun Feb 15, 2015 9:01 pm
robbystephenson wrote:
mod wrote:I tried tellico from git (after your change about discogs), it works as expected. Any news about images and a possible release date ?

I ended up fixing another data source that also switched to JSON (MovieMeter) so that took me some more time. Should be soon for a release.
mod wrote:Is this possible to also retrieve Format from discogs ? (ie Format: Vinyl, LP, Album, Gatefold ) There is the Medium field in tellico but it's empty.

Sure, I added CD, DVD, Vinyl, and Cassette


Thanks for all your work, I'll keep an eye on tellico repository. Actually images are not fetch from discogs, is this expected ?
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Search with Discogs not working

Sun Feb 15, 2015 11:01 pm
mod wrote:
robbystephenson wrote:
mod wrote:I tried tellico from git (after your change about discogs), it works as expected. Any news about images and a possible release date ?

I ended up fixing another data source that also switched to JSON (MovieMeter) so that took me some more time. Should be soon for a release.
mod wrote:Is this possible to also retrieve Format from discogs ? (ie Format: Vinyl, LP, Album, Gatefold ) There is the Medium field in tellico but it's empty.

Sure, I added CD, DVD, Vinyl, and Cassette


Thanks for all your work, I'll keep an eye on tellico repository. Actually images are not fetch from discogs, is this expected ?

I just released Tellico 2.3.10. And Discogs images are still just not working with the new authentication scheme.
http://www.discogs.com/forum/thread/405550?page=1
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Sat Mar 21, 2015 1:58 pm
Hi robbystephenson,

It seems that image fetching is resolved in Discogs
http://www.discogs.com/forum/thread/410594#3800704

If I do a search request with
Code: Select all
curl -A 'tellico 0.1' -v "https://api.discogs.com/database/search?q=Nirvana" -H "Authorization: Discogs token=XXXX"

I can see the url thumb and fetch withtout auth

From tellico I do not see image thumb does it need to be updated ?

Thanks in advance for you help
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Search with Discogs not working

Tue Mar 24, 2015 1:11 am
mod wrote:It seems that image fetching is resolved in Discogs
http://www.discogs.com/forum/thread/410594#3800704

From tellico I do not see image thumb does it need to be updated ?

Tellico does need to be updated for the images to be fetched. I just pushed a commit to the 2.3 branch for the next release.
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Tue Mar 24, 2015 9:55 pm
robbystephenson wrote:
mod wrote:It seems that image fetching is resolved in Discogs
http://www.discogs.com/forum/thread/410594#3800704

From tellico I do not see image thumb does it need to be updated ?

Tellico does need to be updated for the images to be fetched. I just pushed a commit to the 2.3 branch for the next release.


Cool, thanks ! It works as expected :)

Actually cover is an url in tellico.xml, is this possible to fetch and store locally ? Cover will be available without internet access.
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Tue Mar 24, 2015 10:35 pm
As a workaround I tried to export data to html but it fails to write jpeg cover
with
Code: Select all
Tellico ne peut pas écrire dans le fichier - R-XXXXX-XXXXXXX-XXXXXX.jpeg.jpg.


and from command line
Code: Select all
tellico(17403) Tellico::Export::HTMLExporter::writeImages: unable to write image file:  "/Users/tom/Documents/test3-html_files/" "https://site/XXXXXXX=/fit-in/150x150/filters:strip_icc():format(jpeg):mode_rgb()/discogs-images/R-XXXXX-XXXXXXX-XXXXXX.jpeg.jpg"


Trying url on my browser display correctly the cover
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Search with Discogs not working

Thu Mar 26, 2015 12:17 am
mod wrote:Actually cover is an url in tellico.xml, is this possible to fetch and store locally ? Cover will be available without internet access.

Good catch, thanks. Should be fixed now.
mod
Registered Member
Posts
17
Karma
0

Re: Search with Discogs not working

Thu Mar 26, 2015 9:40 pm
robbystephenson wrote:
mod wrote:Actually cover is an url in tellico.xml, is this possible to fetch and store locally ? Cover will be available without internet access.

Good catch, thanks. Should be fixed now.


It works both cover fetching and export! Thanks robbystephenson!


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell