| Author |
Message |
|
FidoFuz
Passerby
Joined: Mon Nov 23, 2009 7:11 am Posts: 4
|
 Episode Filename errors
In order to use the Episodes Filenames Generator you seem to have to specify an movie file on the Pictures tab of the Add/update movie dialog. Once this is set and episode filenames can be generated, if you then remove the reference to the movie file from the Pictures tab, the episode filenames are then mis-reported even although they are set ok in the episodes table in the database. They seem to be returning the episodes of the previously visited page.
|
| Mon Nov 23, 2009 7:25 am |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: Episode Filename errors
Hi, This is only relative to JeF interface, i will have a look at this asap. JeF
|
| Mon Nov 23, 2009 7:54 am |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: Episode Filename errors
Hi FidoFuz,
This version should fix it (it did for me). Please could you tell me if it fixes the issue for you too ? If not, try to re-inject episode list for the serial with the pb and tell me.
JeF
PS: file deleted : newest version below
|
| Mon Nov 23, 2009 7:47 pm |
|
 |
|
FidoFuz
Passerby
Joined: Mon Nov 23, 2009 7:11 am Posts: 4
|
 Re: Episode Filename errors
Thanks JeF it fixes the issue although it wasn't quite what I was looking for.
The script now removes all the episode filenames when the movie filename is removed. I suppose this resolves the discrepancy, although I wanted the episode filenames to remain. It's no biggie I suppose I can just retain a dummy movie filename, perhaps the first episode of the series.
Thanks again
|
| Tue Nov 24, 2009 10:03 am |
|
 |
|
FidoFuz
Passerby
Joined: Mon Nov 23, 2009 7:11 am Posts: 4
|
 Re: Episode Filename errors
I cannot change the episodes root folder so can't have the movie file as the first episode (in a subdir). It does not seem to update the root folder when I change it. My Pascal is a bit rusty but should step 2 in BuildEpisodesList not be:
jEpRootDir:=InputBox('Episodes Root Folder','Folder',jEpRootDir);
instead of
InputBox('Episodes Root Folder','Folder',jEpRootDir);
|
| Tue Nov 24, 2009 10:16 am |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: Episode Filename errors
Hi FidoFuz, This is not expected behaviour. Did you go through each step to the final step (inject in database) ? Could you describe step by step an example on how you get episodes filenames missing in the end ? You're absolutely right (will be fixed in v17) : i'm really not a prince in pascal... JeF
|
| Tue Nov 24, 2009 10:30 am |
|
 |
|
FidoFuz
Passerby
Joined: Mon Nov 23, 2009 7:11 am Posts: 4
|
 Re: Episode Filename errors
Ok here goes:
I have a series but need to give it a filename before I can access the Episodes Generator so I point it at a filename in the series root folder buy clicking "Edit Info", going to the pictures tab, clicking the folder icon and choosing my dummy.txt file.
The file now appears on the series page with a folder icon and a cog icon. I click the cog icon to bring up the "Episodes Filenames List Generator" and go through the process to inject the episode filenames into the database:
Click 3. Confirm Root Folder Click 4. Build list... Click 5. Clean... Click 7. Edit... (just to remove some of my XML files from the generated text file, would be good if the clean could remove XML as well as TXT) Click 6. (Re)Inject Episodes... Click 7. Edit... (all looks ok) Click 8. Inject...
The episodes now have the play icon next to them and all play the correct file, groovy.
However, I now no longer need the dummy file I used to get to the "Episodes Filenames List Generator" and so I click "Edit Info" and go back to the pictures tab and highlight and delete the filename from the textbox. When I click save and return back to the series list all the play icons have gone.
I checked the episodes table in the SQLite database and the filename fields are now not populated.
|
| Tue Nov 24, 2009 11:29 am |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: Episode Filename errors
Hmm, seems that Movienizer main program resets all episodes filenames every time you update the movie with the edit window, whatever the movie filename contains : none, a folder name or a file name... Will check with Vlad. JeF
|
| Tue Nov 24, 2009 12:07 pm |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: Episode Filename errors
Hi, Here is a work around until datas can be kept in db (this version will be deleted when v17 is released). The only thing is that a filename is required to stay in movie filename but you can leave there only the folder name, it's ok (must be the root folder where EpFilesList.txt has been generated in order to retrieve that file next time). That way, Episodes filenames will continue to be shown by searching in text list if not found in db. JeF Edit : Obsolete File removed
|
| Tue Nov 24, 2009 7:31 pm |
|
|