Am i doing something wrong?

neo_x

09-10-2008 04:19:47

Currently my folder structure is as follows :

E:\Series2\Prison Break\Prison Break Season 1

I seem to get strange issues when i use the Folder monitor tab ( monitoring E:\series2)

It finds the prison break folders ( the root as well as the 4 folders for the seasons)

Do i need to select the E:\Series2\Prison Break folder only and select folder per season, or do i select the seperate seasons, keeping them on the flat style.
If i do folder per season, it adds Prison break to my shows list, but then makes the base folder ( if i edit prison break), E:\Series2\Prison Break\Prison Break Season 4
It seems to use the last season for every show i add.

Please let me know if i am doing anything strange?

Off course i would prefer tvrename to auto detect the season numbers.... as usual :)

Thank you for your assistance.

sstteevvee

09-10-2008 10:32:45

It sounds like you're doing it right. In folder monitor, you should be adding the "e:\series2\Prison Break" folder, and selecting the "folder per season" radiobutton. It should then automatically pick up the "season 1" "season 2" subfolders when you do a rename/missing check. That "e:\series2\prison break" should then become the "folder base", as well.

In the latest alpha I changed some of the code to do with how the auto-detection in folder monitor works, so its quite possible I busted it. I'll give it a go when I get home tonight, and see if I get the same problem.

sstteevvee

09-10-2008 22:19:28

It works ok here, using alpha 8. On my media server, I have:

s:\media2\Prison Break\Season 1
s:\media2\Prison Break\Season 2
s:\media2\Prison Break\Season 3
s:\media2\Prison Break\Season 4

I go to folder monitor, where I am monitoring the folder "s:\media2". I hit "Check", and it offers:

Folder: s:\media2\prison break
Show: Prison Break
Season: Per Seas (i.e. Folder per season is selected)
thetvdb code: 75340

I then hit "Done" or click on it and "Add This". Going back to my shows, I click on Prison Break, and hit edit. I then have:

Auto add new seasons: Ticked
Base folder: s:\media2\Prison Break
Folder per season: Ticked, and the text beside that is "Season ".

Missing/rename checks then work as expected.

Can you delete "Prison Break" from your "My Shows" tab, and go back and give it another go. Let me know if it still breaks and, if so, where it differs from what I have above.

neo_x

10-10-2008 06:19:36

Hi Steve

I installed alpha9 ( just in case :D )

Results doesnt differ alot, except that the season folders are not matching
my folder structure :
E:\Series2\Prison Break\Prison Break Season 1
E:\Series2\Prison Break\Prison Break Season 2
E:\Series2\Prison Break\Prison Break Season 3
E:\Series2\Prison Break\Prison Break Season 4
when i click on the folder monitor tab and hit check, it finds the prison break folder, but it the radio button stays on all seasons together and season column reads flat. I then force it to folder per season, and click on done to add it ( the additional sub-folders has been added to the ignore list for the time being)
When i go and edit the show under my shows it shows the following list under seasons :

E:\Series2\Prison Break\Season 1
E:\Series2\Prison Break\Season 2
sE:\Series2\Prison Break\Season 3
E:\Series2\Prison Break\Season 4

, which is not correct. A missing check confirms this, as it immediately tells me that season 1 is missing, which is not actually the case.

PS

I inadvertently discovered a bug while doing the missing check.
steps to reproduce :
deleted all settings files under application data ( should not cause any problems i hope ). i then started tv rename from where i went to the folder monitor tab, added my series folder, and clicked on check. I then added the show i needed (prison break in this case).
From here i went straight tot he missing tab and clicked on check from where the missing season window popped up. when i finished selecting the correct folder, a windows pooped upped saying that an unhandled exception has occured. Find details below :

************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at TVRename.TVDoc.UpToDateCheck(ShowItem si)
at TVRename.TVDoc.DoMissingCheck(ProgressBar pbProgress)
at TVRename.UI.bnDoMissingCheck_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TVRename
Assembly Version: 1.0.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files/TVRename/TVRename.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.762
Win32 Version: 8.00.50727.762
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

neo_x

10-10-2008 06:32:54

just a note...i managed to fix it by editing the show, and then chaging the folder per season box from "season" to "Prison Break Season", and then removing the incorrect seasons in the list below that.

Still a very manual process tho... :P

sstteevvee

10-10-2008 10:59:41

Ah.. Yeah.. The season folders have to be (for now) "Season X", and not have anything extra in them. Changing the folder-per-season box is the correct way to fix it. I need to make the auto-detection smarter so that it will use what you have.

Thanks for the bug report, too. I think I know what it'll be.

neo_x

10-10-2008 15:13:45

Thx.

hope it wont be too difficult. :)
All the folders still contain the words Season X, where X is the season number. A specific show will only have its own Seasons contained in the base folder, which i think is the case for almost everybody else out there. Therefor searching for Season X in the folder string should fix it ( without breaking to many other things i hope)

Will await the result.

sstteevvee

11-10-2008 01:32:04

Was it something that always happened, or only occasionally. Give the latest version a go, as I might have (accidentally) fixed it... I followed your steps and it seems ok now.

The folder monitor now also auto-detects what you call your per-season folders. So, for your Prison Break, it'll figure out its "Prison Break Season ". The word "Season " still has to be in there somewhere though. Its on my list, fairly soon, to make it user-definable.

neo_x

11-10-2008 07:18:49

Think it was something that always happend. Seems to be fixed in latest version tho.
Thank you

running it now on my full 550 show list. Will try and keep track of the bugs i discover .. :P