Click here to go to the forum index Click here for the home page
 
Author Message

<  Computer connections  ~  Antares-- an Altair replacement for 32-bit & 64-bit Win.

Page 22 of 26
Goto page Previous  1, 2, 3 ... 21, 22, 23, 24, 25, 26  Next
halibut
Posted: Wed Jun 13, 2012 8:39 am Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
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: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
ccs
Posted: Wed Jun 13, 2012 12:43 pm Reply with quote
Frequent contributor Joined: 30 Oct 2007 Posts: 1908 Location: E Yorkshire Belmont Transmitter
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 15/2/13
ccsx
View user's profile Send private message
halibut
Posted: Wed Jun 13, 2012 12:48 pm Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
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: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
qubits
Posted: Wed Jun 13, 2012 1:48 pm Reply with quote
Frequent contributor Joined: 26 May 2010 Posts: 164 Location: Australia
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?

_________________
Antares homepage
View user's profile Send private message Visit poster's website
halibut
Posted: Sat Jun 16, 2012 4:54 am Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
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: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
halibut
Posted: Sat Jun 16, 2012 5:43 am Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
While I'm thinking about the command line features... Smile

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: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
qubits
Posted: Sun Jun 17, 2012 2:29 pm Reply with quote
Frequent contributor Joined: 26 May 2010 Posts: 164 Location: Australia
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.

Quote:

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.

_________________
Antares homepage
View user's profile Send private message Visit poster's website
halibut
Posted: Sun Jun 17, 2012 2:42 pm Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
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.

Very Happy 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: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
qubits
Posted: Sun Jun 17, 2012 2:53 pm Reply with quote
Frequent contributor Joined: 26 May 2010 Posts: 164 Location: Australia
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.

_________________
Antares homepage
View user's profile Send private message Visit poster's website
halibut
Posted: Sun Jun 17, 2012 2:57 pm Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
Cheers. It's hugely appreciated. Smile

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd
TAPs: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
qubits
Posted: Wed Jun 20, 2012 10:13 am Reply with quote
Frequent contributor Joined: 26 May 2010 Posts: 164 Location: Australia
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

_________________
Antares homepage
View user's profile Send private message Visit poster's website
halibut
Posted: Wed Jun 20, 2012 1:02 pm Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
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: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
halibut
Posted: Sat Jun 23, 2012 2:54 pm Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
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. Smile

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd
TAPs: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
halibut
Posted: Sat Jun 23, 2012 5:58 pm Reply with quote
Frequent contributor Joined: 23 Apr 2006 Posts: 215 Location: North Wales, UK
I've now done over 200 files. Renamed and retimed. Not a single problem.

Smile

_________________
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -FmSy+BmEvEzPePsR0SbScVd
TAPs: EPG2MEI v0.96; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MyStuff 6.4; Extend v1.7; MHEG Control B2.1; MyInfo B5.5;
Sig generated by MyInfo on 10/5/12
View user's profile Send private message
qubits
Posted: Sun Jun 24, 2012 1:25 pm Reply with quote
Frequent contributor Joined: 26 May 2010 Posts: 164 Location: Australia
Great! That sounds like quite a thorough test Smile
If you have any other suggestions or requests, let me know.

_________________
Antares homepage
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 22 of 26
Goto page Previous  1, 2, 3 ... 21, 22, 23, 24, 25, 26  Next

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum