Search found 6 matches

Go to advanced search

by drinkingwine
Sun May 15, 2016 5:55 pm
Forum: Developers
Topic: Record not found?
Replies: 1
Views: 2896

Record not found?

What should I be checking to determine wether the call returned a valid record? f = urllib2.urlopen('http://www.theaudiodb.com/api/v1/json/1/searchtrack.php?s=adele&t=hello') valid call returns the the data an invalid call returns {"track":[{"strDebugTime":"0.016 Seccond...
by drinkingwine
Sun May 15, 2016 2:30 pm
Forum: Developers
Topic: Python help...
Replies: 2
Views: 2504

Re: Python help...

Thank you for your post! You got me looking at the function differently. album = parsed_json['track'][0]['strAlbum'] is the what was needed... It should have been so obvious when I looked at the manual...LOL json.loads(s[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, obj...
by drinkingwine
Sat May 14, 2016 11:53 pm
Forum: Developers
Topic: Python help...
Replies: 2
Views: 2504

Python help...

Can someone please help me out here. I have this python snippet that works for calls to wunderground.com but fails on calls to audiodb. import urllib2 import json f = urllib2.urlopen('http://www.theaudiodb.com/api/v1/json/1/searchtrack.php?s=adele&t=hello') json_string = f.read() parsed_json = j...
by drinkingwine
Sat May 14, 2016 11:47 pm
Forum: Developers
Topic: New to this.
Replies: 3
Views: 2516

Re: New to this.

Thank You...
by drinkingwine
Fri May 13, 2016 1:50 am
Forum: Developers
Topic: New to this.
Replies: 3
Views: 2516

Re: New to this.

OK, so here is were I was getting confused. http://www.theaudiodb.com/api/v1/json/1/searchtrack.php?s=adele&t=hello this returns: idTrack: "34443528", idAlbum: "2250671", idArtist: "111493", idLyric: "0", idIMVDB: "0", strTrack: "Hello"...
by drinkingwine
Thu May 12, 2016 4:12 pm
Forum: Developers
Topic: New to this.
Replies: 3
Views: 2516

New to this.

Hello Folks, I'm new to this and have spent some time trying to figure it out myself, but have hit a dead end. I'm trying to retrieve album information using only artist name and track title. I'd like to have the album name and image so I can create an nfo file. I see the examples on the tutorial pa...

Go to advanced search