Hi,
Adding to my post above.
Just been looking abit more and is it not possible to just query the TMDB api using the IMDB ID from the database to get the new list of urls and just put that directly into the database?
http://api.themoviedb.org/2.1/methods/Movie.getImages
Maybe there could be a maintenance option in the settings which could be to refresh all urls? as links may become stale again in the future.
Thanks,
Mark
mselley
Junior Member Posts: 28 Joined: Oct 2011 Reputation: 0 |
2012-05-16 11:08
Post: #31
|
| find quote |
vicbitter
Member+ Posts: 246 Joined: Jan 2011 Reputation: 3 |
2012-05-16 19:03
Post: #32
(2012-05-16 01:23)jmarshall Wrote: As long as you clean out all the content, then yes, the rescan will trigger everything to be cached - it may well take a while ofcourse - it will keep going after the scanning has completed most likely. Thanks, is there anyway of gathering performance metrics? The thumbnails seem to be loading considerably slower than on Eden. I have removed path substitution for thumbnails and completely refreshed the local cache. The behavior that I am experiencing is wherever I am in the list of my Movies the thumbnails appear to be being refreshed from the first movie (in my Library). I'll give a couple of examples: a) if I go into a set (of Movies) and I come back out the thumbnails (appear to) refresh from the start (of my Library) rather than from the first movie on the screen.. b) if I go into my Movies and go to the end of the Movies (in my Library) it takes 10s of seconds to display the thumbnails. This results in a long lags (on the thumbnails being displayed) depending where I am in my Movie list and I don't experience this on Eden. Debug Log of above examples |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2012-05-17 00:41
Post: #33
@vicbitter: yes, the thumbloader is currently completely unoptimised. It will depend on how many movies you have and how much art they have (as hitting the disk for art takes longer than hitting the db). I'll be optimising this over the next few days. See this thread for more: http://forum.xbmc.org/showthread.php?tid=131624
@mselley: our scrapers currently don't support fetching just the images, so until that's added, refreshing the items themselves is the only option. We could, however, ignore the bad themoviedb URLs and grab the next image (if there is one) but I suspect everyone will want things to be refreshed anyway. So yes, until the scraper API can include only grabbing images, there's not a lot we can do here (I'd be completely supportive of that move). Cheers, Jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
vicbitter
Member+ Posts: 246 Joined: Jan 2011 Reputation: 3 |
2012-05-17 00:57
Post: #34
(2012-05-17 00:41)jmarshall Wrote: @vicbitter: yes, the thumbloader is currently completely unoptimised. It will depend on how many movies you have and how much art they have (as hitting the disk for art takes longer than hitting the db). I'll be optimising this over the next few days. See this thread for more: http://forum.xbmc.org/showthread.php?tid=131624 Don't want to sound ungrateful BUT you have been pretty disparaging about using "path substitution" and yet the new solution is MUCH MUCH slower... I have an 800+ library.. Let me know what "you need" and I will CONTRIBUTE anyway you want! Your approach is great... But let us (the community) help you make it better!!!
(This post was last modified: 2012-05-17 01:02 by vicbitter.)
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2012-05-17 01:07
Post: #35
Ofcourse - feel free to help test out as per that other thread - will have a patch up to try shortly.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
vicbitter
Member+ Posts: 246 Joined: Jan 2011 Reputation: 3 |
2012-05-17 01:52
Post: #36
(2012-05-17 01:07)jmarshall Wrote: Ofcourse - feel free to help test out as per that other thread - will have a patch up to try shortly. What do need from us (humble testers) to do? Yell out about use cases, etc... On a side note, I am a (very old) coder from many years ago, so I would be happy to help out however I can...
(This post was last modified: 2012-05-17 01:53 by vicbitter.)
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2012-05-17 02:34
Post: #37
The tests I gave in the other thread are a good start. As soon as I have finished hunting the bugs on my list I'll push up a patch to github for you to try as well - will do that in the other thread.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
vicbitter
Member+ Posts: 246 Joined: Jan 2011 Reputation: 3 |
2012-05-17 07:29
Post: #38
Cool, I'll jump over to the other thread...
Thanks |
| find quote |
vicbitter
Member+ Posts: 246 Joined: Jan 2011 Reputation: 3 |
2012-05-17 13:17
Post: #39
The patch has improved the speed considerably... It is now usable.
![]() Thanks! |
| find quote |
mselley
Junior Member Posts: 28 Joined: Oct 2011 Reputation: 0 |
2012-05-20 18:02
Post: #40
Hi,
I made a standalone .net app that refreshes all the thumbs for the movies in my mysql database and everything seems to be good now ![]() If i get round to tidying up the source i may post it somewhere for people to use. I have also noticed that it does not look like it is using the movie thumbs preview? its using the full size thumb so the images just look really pixelated when they show. Thanks, Mark |
| find quote |


![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)

Search
Help