Go Back   FlashFXP Forums > > > >

Caladan's scripts project-zs, sitewho

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-12-2005, 11:00 PM   #1
DR. GiGa BYTe
Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 80
Default imdb_bar isnt created everytime

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
DR. GiGa BYTe is offline   Reply With Quote
Old 08-14-2005, 08:25 AM   #2
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

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
esmandil is offline   Reply With Quote
Old 08-14-2005, 09:26 AM   #3
DR. GiGa BYTe
Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 80
Default

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?
DR. GiGa BYTe is offline   Reply With Quote
Old 08-14-2005, 03:17 PM   #4
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

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
esmandil is offline   Reply With Quote
Old 08-15-2005, 05:31 AM   #5
DR. GiGa BYTe
Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 80
Default

due my lack of programming knowledge it would be nice if you can take account of this "feature" in further versions

thanx
DR.GB
DR. GiGa BYTe is offline   Reply With Quote
Old 12-23-2005, 02:15 AM   #6
dudex
Junior Member
 
Join Date: Jan 2004
Posts: 12
Default

Quote:
Originally Posted by DR. GiGa BYTe
due my lack of programming knowledge it would be nice if you can take account of this "feature" in further versions

thanx
DR.GB
replace in ProjectZS\Header\imdb.h:

Code:
char* removeDangerousChars(char *ptr)
{
  char *i = ptr;
  while ( *i ) {
    if ( *i == '/' ) { *i = '.'; }
    if ( *i == '\\' ) { *i = '-'; }
    if ( *i == ':' ) { *i = '.'; }
    ++i;
  }
  return ptr;
}
with
Code:
char* removeDangerousChars(char *ptr)
{
  char *i = ptr;
  while ( *i ) {
    if ( *i == '/' ) { *i = '-'; }
    if ( *i == '\\' ) { *i = '-'; }
    if ( *i == ':' ) { *i = '-'; }
    ++i;
  }
  return ptr;
}
hf

regards, dudex
dudex is offline   Reply With Quote
Reply

Tags
creates, everytime, imdb, info, receives


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:59 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)