Hello,
I'm struggling to split an mp3 file and simultaneously enter some tags in to the output.
The input filename which is a get_iplayer download looks like this 'David_Rodigan_-_02_09_2014.mp3' and my problem is adding tags to the output. How do I make 'David_Rodigan' appear as 'title' in the output tags? I guessed that David would appear as first_part and Rodigan as second_part but I can't see a way to concatenate those two items to form title.
My attempt looks like this :- mp3splt -G (?<title>):first_part+" "+second_part David_Rodigan_-_02_09_2014.mp3 3.00 60.00 -o /split/David_Rodigan_-_02_09_2014
But that fails with bash: syntax error near unexpected token `('
I'm looking at this page for inspiration but it isn't helping!
http://mp3splt.sourceforge.net/mp3splt_page/documentation/man.html
Perhaps somebody here can explain where I'm going wrong please?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 03/09, Chris Walker wrote:
My attempt looks like this :- mp3splt -G (?<title>):first_part+" "+second_part David_Rodigan_-_02_09_2014.mp3 3.00 60.00 -o /split/David_Rodigan_-_02_09_2014
- From the docs, it looks like you actually want something like:
mp3splt -G "regex=^(?<artist>.*)_-_.._.._(?<year>....)" David_Rodigan_-_02_09_2014.mp3 3.00 5.00
Cheers, Steve
On Mon, 15 Sep 2014 11:59:26 +0100 Steve Engledow steve@offend.me.uk wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 03/09, Chris Walker wrote:
My attempt looks like this :- mp3splt -G (?<title>):first_part+" "+second_part David_Rodigan_-_02_09_2014.mp3 3.00 60.00 -o /split/David_Rodigan_-_02_09_2014
From the docs, it looks like you actually want something like:
mp3splt -G "regex=^(?<artist>.*)_-_.._.._(?<year>....)"
David_Rodigan_-_02_09_2014.mp3 3.00 5.00
Many thanks for that.
Apologies for the tardy reply but I've been on holiday.
By the way, did you get an email I sent you privately some weeks ago? Again, apologies but if you didn't receive it, this is the only way to ask!