2014-08-10, 17:39
Hi folks,
I wrote a couple of php scripts to visualize the content of my xbmc-(mysql)db (movies, movie-detail, actor with link to its movies). The only way (known to me) to show thumbs is to use the url provided in the mentioned table/col. Now since my xbmc-db is quite a few years of age, many of those thumb-url's are outdated. I could certainly crawl manually through the movies in xbmc and refresh their information's from internet (that 'fixes' old urls) but I would love to write a piece of code or script that would do that for me (checking the url for correctness/availability and if negative get a new url). Can someone of you give me a hint where to start?
Regards.
I wrote a couple of php scripts to visualize the content of my xbmc-(mysql)db (movies, movie-detail, actor with link to its movies). The only way (known to me) to show thumbs is to use the url provided in the mentioned table/col. Now since my xbmc-db is quite a few years of age, many of those thumb-url's are outdated. I could certainly crawl manually through the movies in xbmc and refresh their information's from internet (that 'fixes' old urls) but I would love to write a piece of code or script that would do that for me (checking the url for correctness/availability and if negative get a new url). Can someone of you give me a hint where to start?
Regards.