Menu

#75 Batch Process Into Folders

v1.0_(example)
open
nobody
None
1
2014-10-07
2014-10-02
Anonymous
No

Lets say I have 10 folders containing say 10 long MP3 files with each MP3 file named 001.mp3 - 010.mp3. Each folder though is named after say an album or book title etc.

I would like to import all 100 MP3 files and mp3splt will split them into 3 minute chunks but save each to a new folder based on the name of the folder that the original source folders were named and the each MP3 file to be named after the same folder name and then a number e.g. folder_name_1.mp3 folder_name_2.mp3

Is that possible as I can't find a way of doing it?

Discussion

  • Munteanu Alexandru

    Hello,

    What is your operating system ?
    Like the following ?

    List of found files:
    
      many_dirs_songs/album3/003.mp3
      many_dirs_songs/album3/002.mp3
      many_dirs_songs/album3/001.mp3
      many_dirs_songs/album2/003.mp3
      many_dirs_songs/album2/002.mp3
      many_dirs_songs/album2/001.mp3
      many_dirs_songs/album1/003.mp3
      many_dirs_songs/album1/002.mp3
      many_dirs_songs/album1/001.mp3
    
    -- 's' to split, 'c' to cancel:
     Pretending to split file 'many_dirs_songs/album3/003.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album3_split/album3_003_1.mp3" created
       File "output/album3_split/album3_003_2.mp3" created
       File "output/album3_split/album3_003_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album3/002.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album3_split/album3_002_1.mp3" created
       File "output/album3_split/album3_002_2.mp3" created
       File "output/album3_split/album3_002_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album3/001.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album3_split/album3_001_1.mp3" created
       File "output/album3_split/album3_001_2.mp3" created
       File "output/album3_split/album3_001_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album2/003.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album2_split/album2_003_1.mp3" created
       File "output/album2_split/album2_003_2.mp3" created
       File "output/album2_split/album2_003_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album2/002.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album2_split/album2_002_1.mp3" created
       File "output/album2_split/album2_002_2.mp3" created
       File "output/album2_split/album2_002_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album2/001.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album2_split/album2_001_1.mp3" created
       File "output/album2_split/album2_001_2.mp3" created
       File "output/album2_split/album2_001_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album1/003.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album1_split/album1_003_1.mp3" created
       File "output/album1_split/album1_003_2.mp3" created
       File "output/album1_split/album1_003_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album1/002.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album1_split/album1_002_1.mp3" created
       File "output/album1_split/album1_002_2.mp3" created
       File "output/album1_split/album1_002_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    
     Pretending to split file 'many_dirs_songs/album1/001.mp3' ...
     info: file matches the plugin 'mp3 (libmad)'
     info: found Xing or Info header. Switching to frame mode... 
     info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 4m.05s
     info: starting time mode split
       File "output/album1_split/album1_001_1.mp3" created
       File "output/album1_split/album1_001_2.mp3" created
       File "output/album1_split/album1_001_3.mp3" created
     Processed 9402 frames - Sync errors: 0
     time split ok
    

    --
    Alex

     
  • Munteanu Alexandru

    Any news ?

     
MongoDB Logo MongoDB