Scripts that need to be fixed / Scripts à corriger
Batch Mode - kind petition
hello!
when use batch mode, user might to encounter with annoying problem - some url links in catalog (if update performs via links) got error code (bad request, not found etc.) and only way to continue process is to manualy clicks on "ok" button on error window every time when window appears.
if user have thousands file (= links), then he must watch couple hours while whole process ended.
so, would be nice if these script automaticaly skip "bad" link and go on forward, to the next link. great bonus in these case would be (if possibly) some .txt files where would be information about files who have problems to be updated (just list of ordinal number of file or problematic links).
otherwise, many thanks for yours great work! i am amc loyal fan for years.
----------------------
oh, i must add something...
after hours and hours of batch processing (and watching) i got ultimate error, something like "thread creation error. not enough storage is available to process this command". after that, batch proceess stops.
when use batch mode, user might to encounter with annoying problem - some url links in catalog (if update performs via links) got error code (bad request, not found etc.) and only way to continue process is to manualy clicks on "ok" button on error window every time when window appears.
if user have thousands file (= links), then he must watch couple hours while whole process ended.
so, would be nice if these script automaticaly skip "bad" link and go on forward, to the next link. great bonus in these case would be (if possibly) some .txt files where would be information about files who have problems to be updated (just list of ordinal number of file or problematic links).
otherwise, many thanks for yours great work! i am amc loyal fan for years.
----------------------
oh, i must add something...
after hours and hours of batch processing (and watching) i got ultimate error, something like "thread creation error. not enough storage is available to process this command". after that, batch proceess stops.
As far as I know it's not possible to handle error messages like bad requests or http errors. For movies not found through website's search engine, it technically is possible (and some scripts do so) to handle the results page, skipping the movie or listing it to a text file. Which script are you talking about ?
The IMDB script handles movies that are not found on the website's search engine with a message "No movie found for this search.". It would be easy to delete this from the script, so that it won't be interrupted in this case, and with some more code you could save these movies to a textfile, too.
But as said before, it cannot handle html error messages if movies have a wrong (not existing) URL on the database. What kind of URLs does it not find ? These URLs were correct previously, at least I'd guessso as you have them on your catalog, but maybe it's just an old format that can easily be updated via script to current URL format (if the IMDB movie numbers in the URL are still valid). Can you give few examples that do not work with the URLs you have in your catalog ?
But as said before, it cannot handle html error messages if movies have a wrong (not existing) URL on the database. What kind of URLs does it not find ? These URLs were correct previously, at least I'd guessso as you have them on your catalog, but maybe it's just an old format that can easily be updated via script to current URL format (if the IMDB movie numbers in the URL are still valid). Can you give few examples that do not work with the URLs you have in your catalog ?
in my previous experience with imdb batch mode "No movie found for this search" is not only error. though, i can say that this example rarely apear. much frequently i got next errors - Service Temporarily Unavailable or Bad Requests or Not Found.bad4u wrote:The IMDB script handles movies that are not found on the website's search engine with a message "No movie found for this search.". It would be easy to delete this from the script, so that it won't be interrupted in this case, and with some more code you could save these movies to a textfile, too.
But as said before, it cannot handle html error messages if movies have a wrong (not existing) URL on the database. What kind of URLs does it not find ? These URLs were correct previously, at least I'd guessso as you have them on your catalog, but maybe it's just an old format that can easily be updated via script to current URL format (if the IMDB movie numbers in the URL are still valid). Can you give few examples that do not work with the URLs you have in your catalog ?
but... everyone of couple thousands files in my catalog have a same imdb link-format >>> http://imdb.com/title/tt(movie number)/. so, i cant see a reason that some links are fine and some (let us say no more than 50) not. no mather of that - let a script just skip these 50 links (reason irrelevant) and everything would be great.
Once again - it is not possible to handle error messages, so you cannot skip these ones automatically. It would be possible to fix links that are obviously incorrect or different from others in your database, so that they won't stop the script from running anymore, but if there are no discrepancies in your links, I don't see a solution for your problem.Sorin wrote:...let a script just skip these 50 links (reason irrelevant) and everything would be great.
ok, thanks for your effort.bad4u wrote:Once again - it is not possible to handle error messages, so you cannot skip these ones automatically. It would be possible to fix links that are obviously incorrect or different from others in your database, so that they won't stop the script from running anymore, but if there are no discrepancies in your links, I don't see a solution for your problem.Sorin wrote:...let a script just skip these 50 links (reason irrelevant) and everything would be great.
problem is not mine, problem is global once more, error links in "single-mode" practice, not exist. each link is correct. but, for some reason when imdb batch mode script is in use, some links (on random selection principle) suddenly is not righteous. so, i dont have a basis and reason to fix any link.
once more, thanks for your time.
You can find a little update to this script : viewtopic.php?p=30786#30786samura wrote:someone has a new script for hkcinemagic?
please
-
- Posts: 17
- Joined: 2009-07-16 11:08:39
Filmup.it
I thinks it's need to make a modification because i have try and i can't add data for this films:
I have try some solution.... but i can't do anything for found this title on the list of plugins.
I can't found and i thinks not exist a plugins how i can insert this link for give the information from html....
I thinks it's need to make a modification because i have try and i can't add data for this films:
Code: Select all
http://filmup.leonardo.it/sc_toystory3.htm
I can't found and i thinks not exist a plugins how i can insert this link for give the information from html....
moviemeter
The fetching of country (land) with the moviemeter-script is still broken (or at least broken once again) I tried the solution handed in the forum but to no avail...
anyone's got a solution? It need this badly!
anyone's got a solution? It need this badly!
Fix for Allociné (FR) v52
Since yesterday, the Allociné (FR) script doesn't work any more (at least when there are several results matching the query).
I'm new to the MovieCatalog scripting engine, but I have more or less understood how it works, and I have been able to fix the script. There is only one line to change. The original line 143 is:
You should remove the </span> tags, like this:
And everything is fine.
Sorry, I don't know if I should post the fixed script somewhere, but I guess somebody will do the fix and update the script.
BTW, this is my first post, and I'm only using MovieCatalog since 2 days. I want to say that I am very impressed by the ease of use and the power of the program. Good work!
However, I have a suggestion regarding scripts: when the user cancels a script call (from the window that is shown when multiple matches are found), or when an error occurs (for example because the site is down), the data window is shown anyway, but of course with no meaningful information. It should be possible to avoid that. I don't know if the main program can check the exit code of the script, but if it's the case, maybe it will be sufficient to return a non-zero exit code to avoid to open the data window.
De toute façon, un grand merci au programmeur pour cet excellent programme, de la part d'un compatriote!
I'm new to the MovieCatalog scripting engine, but I have more or less understood how it works, and I have been able to fix the script. There is only one line to change. The original line 143 is:
Code: Select all
AddMoviesTitles(findInfo('Merci de', '</span>Rechercher</span>', Line,'1'));
Code: Select all
AddMoviesTitles(findInfo('Merci de', 'Rechercher', Line,'1'));
Sorry, I don't know if I should post the fixed script somewhere, but I guess somebody will do the fix and update the script.
BTW, this is my first post, and I'm only using MovieCatalog since 2 days. I want to say that I am very impressed by the ease of use and the power of the program. Good work!
However, I have a suggestion regarding scripts: when the user cancels a script call (from the window that is shown when multiple matches are found), or when an error occurs (for example because the site is down), the data window is shown anyway, but of course with no meaningful information. It should be possible to avoid that. I don't know if the main program can check the exit code of the script, but if it's the case, maybe it will be sufficient to return a non-zero exit code to avoid to open the data window.
De toute façon, un grand merci au programmeur pour cet excellent programme, de la part d'un compatriote!
Is it possible the script for www.tv.com to be updated? It would be very nice . Thanks in advance!