View Full Version : imdb_bar isnt created everytime
DR. GiGa BYTe
08-12-2005, 11:00 PM
Hi,
I'm using PZS v0.0.7.3.d and everything works fine... the script gets the right imdb info and writes it to the message file. but it didnt create the imdb bar everytime?!?
can anyone explain me why it only creates some imdb bars, although it receives the imdb info for every rls?!
...and hey caladan... when can we expect a new version? :)
cya
DR.GB
esmandil
08-14-2005, 08:25 AM
I have no idea... works for me every time. Check your .ioFTPD.debug file for clues...
One idea is that you have defined non-standard bar which sometimes contains invalid characters: I seem to recall you could have such problem if you try to put "genre" on your bar, because when movie has more than one genre they are separated by "/" char, which windows won't let you use in a file/directory name. Another potentially dangerous character is ":"
HTH
DR. GiGa BYTe
08-14-2005, 09:26 AM
mmhhhh my imdb bar is "[iMDB]-(%R with %V votes - %G - %Y)-[iMDB]"...
it seems to be the genre. every movie with more than one genre causes the trouble.
thanks for the help to solve this problem...
cya
DR.GB
Edit: Is it possible to change the output? instead of Action/Horror e.g. Action-Horror?
esmandil
08-14-2005, 03:17 PM
Sure it is... you have the source code ;)
I will put it on my todo list... but no promises as to when I will look into this and if I will fix it at all. But I actually intend to release next version of pzs-bugfixes reasonably soon, so there is hope for you :D
DR. GiGa BYTe
08-15-2005, 05:31 AM
due my lack of programming knowledge it would be nice if you can take account of this "feature" in further versions :D
thanx
DR.GB
dudex
12-23-2005, 02:15 AM
due my lack of programming knowledge it would be nice if you can take account of this "feature" in further versions :D
thanx
DR.GB
replace in ProjectZS\Header\imdb.h:
char* removeDangerousChars(char *ptr)
{
char *i = ptr;
while ( *i ) {
if ( *i == '/' ) { *i = '.'; }
if ( *i == '\\' ) { *i = '-'; }
if ( *i == ':' ) { *i = '.'; }
++i;
}
return ptr;
}
with char* removeDangerousChars(char *ptr)
{
char *i = ptr;
while ( *i ) {
if ( *i == '/' ) { *i = '-'; }
if ( *i == '\\' ) { *i = '-'; }
if ( *i == ':' ) { *i = '-'; }
++i;
}
return ptr;
}
hf
regards, dudex
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.