How to link your Toppy to a PC or Mac; networking your Toppy, Web-based EPG systems, DVD burning and file transfers

Moderators: Technical, Oz mods

Post Reply
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

Is there an Antares command line option to rename a file?
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
ccs
Frequent contributor
Posts: 2689
Joined: Tue Oct 30, 2007 3:19 pm

Post by ccs »

There doesn't appear to be one - all the available options are detailed here

Having said that, the mv command will probably do what you want.
TF5810, F/W: MS6 Recommended F/W 12/9/2009 -FmXl+CtEzIScVdZ
TAPs: EIT Sub v0.6; EPG2MEI v0.96; MPDisplayLITE V1.2; MyInfo B5.6; SecCache (UK) v0.4; Extend v1.7; MyStuff 6.6;
Sig generated by MyInfo on 20/10/14
ccsx
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

I thought of trying that, but:
"PC-to-PC and PVR-to-PVR moves/copies aren't supported"

H.
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
qubits
Frequent contributor
Posts: 165
Joined: Wed May 26, 2010 12:48 pm
Location: Australia
Contact:

Post by qubits »

Hi Halibut,

There's no command line option to rename files at the moment, but I plan to add one.

I haven't quite decided how I'll do it yet. It would be nice to roll it into the mv option, but the mv syntax supports some pretty sophisticated stuff, like wildcards, recursion, and exclusions. It would be much easier to have a separate more basic command for renaming, which just works on one file at a time. I'm curious, if I did do the more sophisticated version, would you find that useful?
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

Not especially. I have about 200 recordings that I'd like to rename from something like "Program 20100301" to "Program S1Ep4" to make it apparent what series and episode they belong to. Something that would take forever to do manually.

I've already got the filename and what series and episode they belong to in a spreadsheet. It would be very easy for me to use that to generate the rename command for each file rename, so I wouldn't need any clever wildcards, etc.
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

While I'm thinking about the command line features... :)

I'm not sure if this is even possible or something anyone else would find useful, but I'd find it really useful to be able to change the recording date on a file on the toppy.
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
qubits
Frequent contributor
Posts: 165
Joined: Wed May 26, 2010 12:48 pm
Location: Australia
Contact:

Post by qubits »

halibut,
Here's a link to a new Antares executable which includes a simple rename command: antares_1_1_test1.zip. For example:

antares rename \DataFiles\QA.rec "Q and A.rec"

You need to specify the full path for the source file, but you don't have to for the destination filename.
I'm not sure if this is even possible or something anyone else would find useful, but I'd find it really useful to be able to change the recording date on a file on the toppy.
Interesting request! It might be possible. The toppy doesn't have a USB command specifically for changing a file's date. However, when you resume a PC->PVR transfer you get to specify a new date for the file. So maybe Antares would be able to do a "zero byte resume" to change the date.

If that worked, there's still the problem of MyStuff. MyStuff seems to rely on the file's date and time to associate it with an entry in MyStuff_RecordedInfo.dat.
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

qubits wrote:Here's a link to a new Antares executable
Fantastic! I'll give it a try first chance I get.
qubits wrote:there's still the problem of MyStuff. MyStuff seems to rely on the file's date and time to associate it with an entry in MyStuff_RecordedInfo.dat.
:D That's precisely why I'd like to tweak the timestamps. I have a bunch of recordings that started out life as merged recordings that were copied and then trimmed into individuals. They all end up with the same timestamp so MyStuff can't differentiate between them. If I can tweak the timestamp, I can correct the MyStuff_RecordedInfo.dat file.
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
qubits
Frequent contributor
Posts: 165
Joined: Wed May 26, 2010 12:48 pm
Location: Australia
Contact:

Post by qubits »

Ah, I see. Okay then, when I get a chance I'll see if that theory about using resume mode works. If so, it will be easy to add that as a command line option.
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

Cheers. It's hugely appreciated. :)
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
qubits
Frequent contributor
Posts: 165
Joined: Wed May 26, 2010 12:48 pm
Location: Australia
Contact:

Post by qubits »

Hey halibut,
I think I got the timestamp thing working. Here is the latest executable if you want to try it out: antares_1_1_test2.zip

For example, to set the timestamp:

antares datestamp \DataFiles\Thingy.rec 201201021801

To print it without setting it:

antares datestamp \DataFiles\Thingy.rec print
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

Great stuff. It will be the weekend before I get enough time to give it a whirl, but I have 200+ files to rename and re-timestamp so I should be able to give it a thorough test.

Thanks again for all your hard work. I'll report back when I've tried it.
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

I've just tested it on 16 recordings. It has renamed them and modified their timestamps perfectly. Fantastic.

That's running on 32bit XP with the topfield dll.

I'll now unleash it on a lot more.

Thanks again. :)
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
halibut
Frequent contributor
Posts: 236
Joined: Sun Apr 23, 2006 4:10 pm

Post by halibut »

I've now done over 200 files. Renamed and retimed. Not a single problem.

:)
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd TAPs: MHEG Control B2.1; EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.6; Extend v1.7; MyInfo B5.5;Sig generated by MyInfo on 17/2/15
qubits
Frequent contributor
Posts: 165
Joined: Wed May 26, 2010 12:48 pm
Location: Australia
Contact:

Post by qubits »

Great! That sounds like quite a thorough test :)
If you have any other suggestions or requests, let me know.
Post Reply