Page 18 of 26

Batch Mode - kind petition

Posted: 2010-02-08 10:12:59
by Sorin
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.

Posted: 2010-02-14 00:18:55
by Sorin
antp, bad4u...

somebody, something... please...

thanks in advance!
----------------------------
if i am a bit tedious, sorry! :)

Posted: 2010-02-14 13:14:57
by bad4u
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 ?

Posted: 2010-02-14 16:41:31
by jery
IMDB

Posted: 2010-02-14 18:55:59
by Sorin
yes, imdb - batch mode

each file in catalog have appropriate imdb link, but for some reason in batch mode user got ("here and there") error message. in that case, user must intervening with manual click on "ok" button = keep in view whole process.

Posted: 2010-02-14 22:54:35
by bad4u
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 ?

Posted: 2010-02-15 01:26:18
by Sorin
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 ?
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.

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.

Posted: 2010-02-15 07:30:49
by bad4u
Sorin wrote:...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.

Posted: 2010-02-15 11:34:02
by Sorin
bad4u wrote:
Sorin wrote:...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.
ok, thanks for your effort.

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.

Posted: 2010-02-15 11:41:28
by bad4u
Did you check some URL from your database with your browser and it works correct there, too ? In this case it might help to slow down batch processing using sleep command for few (1-2) seconds between each movie, maybe the site search just doesn't react fast enough. But it's just an idea..

Posted: 2010-06-28 08:37:11
by VictorMers
Please fix script for adultdvdempire. TNX!!!

Posted: 2010-06-29 17:30:51
by bad4u
VictorMers wrote:Please fix script for adultdvdempire. TNX!!!
An updated version (v1.4) will be available for download later today or tomorrow from update server and via script [ Update_Scripts ].

Posted: 2010-07-06 12:37:18
by jonnycdc
Please fix script for wuz.it. Thanks

Posted: 2010-07-19 14:45:13
by trob1
Please fix xpress.hu script. Thank you.

Posted: 2010-07-27 08:32:04
by samura
someone has a new script for hkcinemagic?
please

Posted: 2010-07-27 10:46:00
by baffab
samura wrote:someone has a new script for hkcinemagic?
please
You can find a little update to this script : viewtopic.php?p=30786#30786

Posted: 2010-07-30 18:21:05
by DjDiabolik
Filmup.it

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 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....

moviemeter

Posted: 2010-07-30 21:48:54
by folkbear
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!

Fix for Allociné (FR) v52

Posted: 2010-09-10 09:01:57
by r0lZ
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:

Code: Select all

AddMoviesTitles(findInfo('Merci de', '</span>Rechercher</span>', Line,'1'));
You should remove the </span> tags, like this:

Code: Select all

AddMoviesTitles(findInfo('Merci de', 'Rechercher', Line,'1'));
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! :grinking:

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!

Posted: 2010-09-26 11:02:40
by Yoan
Is it possible the script for www.tv.com to be updated? It would be very nice :) . Thanks in advance!