Shows limit?

neo_x

18-03-2008 00:46:22

Stevee, just a quick question.
Do you know of any limits on the number of shows tv-rename will be able to handle?
Since ive come a while in programming the number 255 :oops: has irritated me a few times, and i would prefer to know about the limit before hitting it :D

Reason being is that i want to start trusting tv-rename to keep track of my missing episodes, in stead of keeping this information in the folder names. But in order to do this i have to rename my 500+ folders, and i dont want to do it in vain.

Thank you for your continued support on this

Neo

sstteevvee

18-03-2008 10:37:01

It's stored in a dynamically sized whatsit, so it is limited only by the amount of memory your computer has.

I've only ever used it with up to about 20 shows, so it might start to slow down due to inefficiencies in the way I've done things, but it shouldn't explode or ever hit a limit (well, technically, it might find one at around 4 billion shows).

If you do end up putting 500 shows/folders into it, let me know how it goes :)

By the way: I'm working on an improved "Folder Monitor" tab, so that it'll make it easier to mass add new shows, etc. It'll be semi-automated too. So, you might want to wait a week or two for me to finish it, before you go and labouriously add those 500 folders.

neo_x

24-03-2008 00:59:23

:D :D :D

after about 3 days...finshed adding all my shows to it.
was out with my numbers tho...
413 shows with about 1356 seasons and almost 15000 episodes
Tv rename cache ( located in my windows temp folder) is close to a 100MB

Performance of tvrename is still acceptable. Only small annoyance is to edit the details/rules of a show. this can take up to 30seconds.

My machine :
2.4ghz Duo core
2gb ram
and off course... 5TB hdd. :D

Will let you know if anything else comes up.

PS.
Is there a way to stop tv-rename from "refreshing" the items already in the cache? I would prefer not to download 100MB every week or so. My guess is existing data on tv-rename doesnt change very often, except for new shows. Older shows (> 1 year), doesnt change at all. Please advise( or add to a feature request.)

thank you

Ur my Hiroe

Neo

sstteevvee

24-03-2008 11:31:18

Nice effort! Good to hear it works ok.

When is the slowness on editing the details/rules? Is it after you close the dialog?

For the caching, it is supposed to be smart about it and only refresh based on:
- Default time: one day.
unless:
- We know when the next episode is, then cache for the shorter of: a week / until that episode airs.
- If there is no known upcoming airdate, and the last episode was more than 90 days ago, cache for the amount of time it has been since that episode.

So, for older shows, they should be being cached for quite a while.

You can check its working by looking in %temp%\TVRenameCache at the XML file in there. For each file, it has the date its due to expire. If you think its misbehaving (which is possible), send me a copy of that XML file through a PM (or email to tvrename [at] tvrename.com), and I'll have a look at it.

Also.. Once you've renamed an old show, you could remove it from the list since its never going to change or be renamed again. For all my "old" shows, I remove them once I've done them.

I could also put an option in for marking a show as "old", so that it never expires its cached data.

sstteevvee

15-04-2008 23:49:39

Regarding the large number of older shows you have, the latest version (b22) adds the option to mark a show as "Old". You can do this for each show individually in the Add/Edit show dialog, or from the File menu->Mark old shows. The "Mark Old Shows" dialog also lets you have it automatically mark shows older than a given amount of time as "Old".

A show marked as old will be cached for a very very long time (100 years :)), and never updated. See if that helps with the 100+MB of weekly downloads.

neo_x

28-04-2008 02:25:27

Regarding the large number of older shows you have, the latest version (b22) adds the option to mark a show as "Old". You can do this for each show individually in the Add/Edit show dialog, or from the File menu->Mark old shows. The "Mark Old Shows" dialog also lets you have it automatically mark shows older than a given amount of time as "Old".

A show marked as old will be cached for a very very long time (100 years :)), and never updated. See if that helps with the 100+MB of weekly downloads.


Did a refresh today, and monitored the usage. 200MB went bye bye.... tv.com must be loving me by now :P
Installed b22, and marked shows older than 6months as old( thx for the auto feature :P). will refresh again in a week or so, and check the usage again.
Cant say thx enough can i?.... :P Finally got a chance to donate you a drink or two :D Hope they last you a day at least.

sstteevvee

29-04-2008 00:05:55

Cool, let me know how it behaves. I've only tested it as far as checking that the cache manager was promising to keep it for a long time.. Whether or not it actually does is another matter. :P

When I finally make a bit more of an effort to make this program more known about (only one or two features I want to put in before doing so), it'll be interesting to see if tv.com notice, and/or do anything about it :)

Thanks for the donation... much appreciated!

hameed

23-12-2008 18:32:28

Not sure if this is done already or not, but if the search engine marks the show as inactive/ended then its cache can be automatically kept indefinitely.

sstteevvee

23-12-2008 18:45:27

Now that I'm using thetvdb, that will automatically happen. Compared to when I was using tv.com, there are now timestamps on each record (i.e. show info, episode info), and the local copy is compared to whats on the server's "recent changes" list. Old shows, with no changes, will end up not being updated. Sometimes, old shows still have the occasional update to fetch as their descriptions are sometimes edited, etc.

neo_x

30-12-2008 19:09:45

Very nice.

Did a complete reinstall of my pc last week ( and forgetting to save tvrename stuph :@).
After reinstalling tvrename and adding all my shows, total data downloaded from thetvdb(for 31,000 episodes) was roughly 15MB. ZIP for the win.

thank you very much

sstteevvee

30-12-2008 23:58:24

Cool.. Good to hear it works well. Its also much better in the longer run, as it has to download a lot less on a day-to-day basis.