-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of mirrors for banners? #27
Comments
Hey, really sorry it's not clear. The {
id: '74141',
BannerPath: 'fanart/original/73255-33.jpg',
BannerType: 'fanart',
BannerType2: '1280x720',
Colors: '|57,57,57|27,17,15|48,31,23|',
Language: 'en',
Rating: '6.8636',
RatingCount: '22',
SeriesName: 'false',
ThumbnailPath: '_cache/fanart/original/73255-33.jpg',
VignettePath: 'fanart/vignette/73255-33.jpg'
} The TheTVDB doesn't provide a list of mirrors for the banners as far as I know, so I will likely add in the base url there by default in the future. Hope this clears things up and answers your question. |
I just noticed the getBanners call. I was used to another library that had a getMirrors call. Anyway, now I can't get the getBanners call to work. Here is my call and the result ...
I got the id from here ...
I'll try to trace through the code. Thanks in advance... |
I sent that before I got your reply. Thanks. I'll try to trace down the 404. Edit: I got the 404 with your sample id of 74141 also. Something fishy is going on. I'll keep playing with this. |
oh, that's really odd. seems to work fine for me running: tvdb.getBanners('269593', function(err, res) {}) Do let me know how you get on. |
I found the problem. In compat/index/getBanners @token had a value of However, the banners result from tvdb was an empty array when using your sample id. I'll continue to beat on this. |
The sample id you're using ( That looks like it might be your api key (edited comment above for you). Perhaps there was an error on your end when initialising the library? |
Hah! Sorry. The quote was from my code. I don't know how getSeriesByName worked. Weird. I'll continue to chase this. Sorry to bother you so much. |
Everything is working. Thanks again and again I'm sorry I bothered you. |
Not at all! Thanks for reaching out. Really happy I could help! |
Also, in case you're curious, the reason |
Aha. That gave me the false idea that I had the key right. By the time I'm done I'll be an expert on your code. Maybe I can contribute something someday. :-) |
Sorry that wasn't clear either! Please do. If there's anything that could be done to make things clearer for you, please open an issue or pull request with some suggestions :) |
A quick question. Do you know why the getTime call is there? When would it be useful? |
Not needed for most use cases, but theres an example of its use here (see initial database processing section) |
I'm sorry to be a pain but I can't find other url headers like "http://thetvdb.com/banners/". I looked in the tvdb wiki with no luck. I specifically need it for I tried http://thetvdb.com/episodes/269593/4570034.jpg and http://thetvdb.com/actors/326286.jpg and got 404s. |
No worries. You want to use Those urls do not work, but http://thetvdb.com/banners/episodes/269593/4570034.jpg, for example does. Notice the entirety of "http://thetvdb.com/banners/" is in the url used. Hope this clarifies things! |
Thanks. I didn't think to try that. On Sun, Dec 6, 2015 at 3:05 PM, Ed Wellbrook notifications@github.com
|
I need to get a URL to retrieve the banners. I assume I need to get the mirrors list and pick one. How do I do this?
The text was updated successfully, but these errors were encountered: