mp3 - Cutlist
An audio CD was accidentally ripped into one single mp3 file. A dummy cue-file now needs to be filled out with the correct values to get single mp3 files.
Start file
FILE "FILENAME.MP3" MP3 TRACK 01 AUDIO TITLE "Song1" PERFORMER "Artist" INDEX 01 0:00 TRACK 02 AUDIO TITLE "Song2" PERFORMER "Artist" INDEX 01 00:00:00 TRACK 03 AUDIO TITLE "Song3" PERFORMER "Artist" INDEX 01 00:00:00 Bandname_Albumname.mp3 1) 00:00 - la la la 2) 04:14 - bla bla 3) 08:21 - cha cha
End file
FILE "Bandname_Albumname.mp3" MP3 TRACK 01 AUDIO TITLE "La La La" PERFORMER "Bandname" INDEX 01 00:00:00 TRACK 02 AUDIO TITLE "Bla Bla" PERFORMER "Bandname" INDEX 01 04:14:00 TRACK 03 AUDIO TITLE "Cha Cha" PERFORMER "Bandname" INDEX 01 08:21:00
View Diff
1c1 < FILE "FILENAME.MP3" MP3 --- > FILE "Bandname_Albumname.mp3" MP3 3,8c3,4 < TITLE "Song1" < PERFORMER "Artist" < INDEX 01 0:00 < TRACK 02 AUDIO < TITLE "Song2" < PERFORMER "Artist" --- > TITLE "La La La" > PERFORMER "Bandname" 9a6,9 > TRACK 02 AUDIO > TITLE "Bla Bla" > PERFORMER "Bandname" > INDEX 01 04:14:00 11,19c11,13 < TITLE "Song3" < PERFORMER "Artist" < INDEX 01 00:00:00 < < < Bandname_Albumname.mp3 < 1) 00:00 - la la la < 2) 04:14 - bla bla < 3) 08:21 - cha cha --- > TITLE "Cha Cha" > PERFORMER "Bandname" > INDEX 01 08:21:00
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 13 remaining solutions by signing in and submitting your own entry
#14 Daniel Habib / @danielhvs - Score: 201 - 08/18/20 @ 20:33
}d<CR>Dggw P dt"Gf1 <C-V>2kI:00<Esc>diW?Song1<CR>P <Esc>u/01<CR>wP D/04<CR>diw<Esc>udiW?01 00<CR>nwP D/08:<CR>diW?01<CR>wP D/la<CR><C-V>3jgUwgUlw.WWWW.WWWW.BD?Song3<CR>P dw/La<CR>D?Sonag<BS><BS>g1<CR>P dw/Bla<CR>D?Son2<CR>?Son<CR>P dw}d}gg<CR>VG:s/Artist/Bandam<BS><BS>name/g<CR>ZZ
0 comments