Ahmedmb
08-11-2008 19:15:43
Hi
i carry all my TV-Show on WD250GB USB Drive
Can u mack a portable Eduction and tvshow path relavent to program folder?
will be very cOOl
THHHHHHHHHHHHHHHX
sstteevvee
09-11-2008 16:00:55
Good idea.. I'll have a think about it, and will put it in if it isn't too hard (and when I get time!
).
anotherkid
29-03-2010 05:28:29
A portable edition would really be great for those using multiple external harddrives
DedTV
15-04-2010 11:15:07
Another proponent for a portable install here.
I keep my install on a separate drive so I don't lose all my settings if I reinstall Windows. Redoing all the merged episodes from things like Animaniacs and DVDs if I forget to do a backup sucks :p
Plus, I have to have a second install on my laptop right now to handle my DVDs and Animaniacs rips. I use Episode Names for shows where they're all individual episodes but if I have TV Rename use that template with DVDs. it crashes because the autogenerated filenames are too long.
anotherkid
20-05-2010 17:12:28
Given the spike in development activity being carried out on TVRename I thought of bumping this request for a portable edition where directories are specified as relative paths w.r.t. the main executable and all the information for the program to run are stored in the executable directory.
This would be the single greatest improvement for any owner of external hard-drives.
Any idea on how complex / time consuming it is to develop a portable solution? (In my own "nil" knowledge of programming I assumed it was primarily a matter of storing information in a ".ini" file as opposed to registry settings)
Thank you,
DedTV
27-05-2010 12:56:48
Steve mentioned it recently. He's got it on his list and hasn't forgotten about it.
In my own "nil" knowledge of programming I assumed it was primarily a matter of storing information in a ".ini" file as opposed to registry settings
TV Rename doesn't use registry settings. It already stores the settings and other data it needs in text files in the User directory on your C: drive. But I have no idea how that location is defined in the code so I have no idea how hard telling it to store and read the files in the same directory as the executable actually is. It seems like it should be easy but I know just enough about programming to know that it probably isn't as easy as it seems like it should be. :p
anotherkid
27-05-2010 14:36:30
Steve mentioned it recently. He's got it on his list and hasn't forgotten about it.
Thanks - that sounds promising.
It seems like it should be easy but I know just enough about programming to know that it probably isn't as easy as it seems like it should be. :p
So very true...
LORDofDOOM
12-07-2011 16:16:37
Thats really simple
The programm is GPL
Download source
Open the TVRename#.csproj with MS Visual c# (free) -> Convert file to Visual Studio 2010 if needed (will work)
In Visual Studio c# open file TVRename -> PathManager.cs
Replace all:
return GetFileInfo(System.Windows.Forms.Application.UserAppDataPath, StatisticsFileName);
with
return GetFileInfo(System.Windows.Forms.Application.StartupPath, StatisticsFileName);
And all is portable
files will be written into your program directory
BTW: Thank you to sstteevvee to license this under GPL - This will make things like that possible
EDIT: I've upload my compiled .exe to rapidshare, already portable -> Its from the latest SVN (r162, Version 2.2.0b9 )
Copy your current files from %USERPROFILE%\AppData\Roaming\TVRename\TVRename\2.1\ directly into the folder of this tvrename.exe
https://rapidshare.com/files/94816877/TVRename.zip
anotherkid
12-09-2011 04:34:56
Interesting I am going to give it a spin.
Thanks
anotherkid
12-09-2011 04:41:13
I have tested your version and although it does load the information from the launch directory whenever I press scan I get "TV Rename has suddenly stopped" and a crash.
This happens regardless of where I place the launch directory and of whether I run with administrator compatibility on/off.
Any idea why this might be happening?
firedog7881
18-02-2012 13:31:15
Another proponent for a portable install here.
I keep my install on a separate drive so I don't lose all my settings if I reinstall Windows. Redoing all the merged episodes from things like Animaniacs and DVDs if I forget to do a backup sucks :p
Plus, I have to have a second install on my laptop right now to handle my DVDs and Animaniacs rips. I use Episode Names for shows where they're all individual episodes but if I have TV Rename use that template with DVDs. it crashes because the autogenerated filenames are too long.
All you need is the TVRenameSettings.xml file to restore your show settings. Set up a scheduled task to do a simple file copy of the file to another location, I use my dropbox so I always have a copy of it. The file is located in C:\Users\USERNAME\AppData\Roaming\TVRename\TVRename\2.1
publicENEMY
09-05-2012 03:03:58
One vote for portable tvrename.
thanks.