Help with recorded file names (1 Viewer)

dimakatchalo

Portal Member
January 3, 2007
37
0
38
Melbourne
Hey guys, my first post - so a big :D to all the devs, testers, etc - I'm using MP (mostly) without problems and it is an awesome piece of software - can't believe that its free!

now for my question - atm I record tv via MP as a dvr-ms file. Then at 3am each day, I run an awesome piece of software called "crunchie" to compress those huge dvr-ms files into xvids, which are about 1/10 the size.

my problem is MP's file name format for recorded TV. Crunchie only accepts one filename format - that used by MCE (i.e. The Simpsons_07_03_2007_19_00_00.dvr-ms). MP, however, uses a slightly different format - it does not use any extra zeroes in the filename if it doesnt have to, so the above example will be recorded by MP as "The Simpsons_7_3_2007_19_0.dvr-ms". If crunchie does not see the date and time of the file EXACTLY as what it expects, it will not organise my xvid files upon conversion.

I played around with the "Custom Paths and Filenames" section in MP config but to no avail. I managed to add the trailing "00" to the end of the file, but if a show is recorded at 7am on 5/3/2007, the format will not be recognised by crunchie as it does not have the extra padding of zeroes around the time, day and month.

Any suggestions on how I can change MP's naming convention so that it always outputs the date and time as dd_mm_yyyy_hh_mm_ss? I noticed that the TV guide contains the full date string, hence it must be MP's tv guide parser that strips all the unnecessary zeros.

Alternatively, can anyone suggest a freeware renaming utility / script to rename all the files (i.e. put in extra zeroes where required) prior to the files being processed by crunchie? I am currently renaming all my recordings by hand prior to going to bed, which is a pain in the butt!

Any help will be much appreciated!

I'm running 0.2.2.0 w/latest SVN & TV Engine 0.2. Didnt fill in support template/system info coz didnt think its required in my case.

:D
 

dimakatchalo

Portal Member
January 3, 2007
37
0
38
Melbourne
Thanks Ralph.

I may contact the crunchie dev and I have looked through the threads you mentioned - those threads mentions the same thing Im doing now. They have the same process (i.e. MP records file, crunchie processes it) however neglect to mention that MP generates a different filename to what crunchie expects.

hmm - im thinking a bat file/script can fix this issue... it just needs to do the following: a) measure number of chars after each "_" in the file name. if the number of chars is <2, then it will need to insert a zero before the char and move onto the next part of the file name until it hits the extension.

Any ideas?:rolleyes:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
U [solved] Beginner needs help recording live TV General 19
O Help with TV setup Newcomers Forum 76
J Help with new grabber file. WebEPG 1
J IPTV Sweden, need help with m3u list MediaPortal 1 Plugins 14
wizard123 [solved] MP1 Build help MediaPortal 1 21
D Please help with getting Schedules Direct to work Newcomers Forum 10
A IPTV from https m3u8 urls - Help General 8
mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
M A little help with new install pls Installation, configuration support 3
N Music player help Listen Music 4
A Enigma2 receiver channels on Windows PC with Media Portal help General Support 0
A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
milagroso Remote control with EventGhost - I'm stuck, need help General 3
D Font size reduced. help. Skins and Plugins Installer (MPEI) 0
S Gpu/hdtv/mp setup help please Newcomers Forum 3
W Need help getting my TV guide working again General Support 1
A I need help with 110 and 119 west Installation, configuration support 21
A Need help rescaning Channels for 110 and 119 west MediaPortal 1 Talk 2
C EPG-Buddy: so close to no help needed Electronic Program Guide 8
mjmapi Help, getting My TVSeries 16
D wintv doesn’t stop recording on time Newcomers Forum 1
P Blocking TV recordings on client? General 5
1gkar [solved] LiveTV Records Causing 100% Drive Activity Television (MyTV frontend and TV-Server) 10
toricred Recordings Change : to _ in Series Name General 0
P Recording films that have an "intermission" General 3
Top Bottom