Skip to content

Commit

Permalink
update names
Browse files Browse the repository at this point in the history
  • Loading branch information
bellabas committed Mar 8, 2022
1 parent d92718b commit 079af80
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 31 deletions.
59 changes: 31 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,40 @@
# yt-timestamp-gen

Create a lists of cumulated timestamps out of audio files from one directory using the Mutagen Python library. What you can easily paste afterwards to your description box on Youtube. There is an option to turn on enumeration for tracks in case the filenames do not start with numbering. It is a simple console application.

## Usage:
1. Paste the full path to the directory that contains the audio files that you would like to create the timestamps from. (e.g. "C:\Music\MyAlbum")
2. Decide if you need enumeration
3. Done!

1. Paste the full path to the directory that contains the audio files that you would like to create the timestamps from. (e.g. "C:\Music\MyAlbum")
2. Decide if you need enumeration
3. Done!

## Output example:
01. {filename1} - 00:00
02. {filename2} - 03:54
03. {filename3} - 07:09

1. {filename1} - 00:00
2. {filename2} - 03:54
3. {filename3} - 07:09

### Supported file extensions:
- AAC
- AC3
- AIFF
- ASF
- DSDIFF
- DSF
- FLAC
- MonkeysAudio
- MP3
- MP4
- Musepack
- OggFLAC
- OggOpus
- OggSpeex
- OggTheora
- OggVorbis
- OptimFrog
- SMF
- TAK
- TrueAudio
- WAVE
- WavPack

- AAC
- AC3
- AIFF
- ASF
- DSDIFF
- DSF
- FLAC
- MonkeysAudio
- MP3
- MP4
- Musepack
- OggFLAC
- OggOpus
- OggSpeex
- OggTheora
- OggVorbis
- OptimFrog
- SMF
- TAK
- TrueAudio
- WAVE
- WavPack
6 changes: 3 additions & 3 deletions yt-timestamps-gen.py → yt-timestamp-gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from mutagen.wavpack import WavPack


class YTtimestamps:
class YTtimestamp:
def __init__(self, path, isNum):
self.path = path + "\*"
self.filePaths = glob(self.path)
Expand Down Expand Up @@ -163,5 +163,5 @@ def Run(self):
isNum = True
else:
isNum = False
MyYTtimestamps = YTtimestamps(path, isNum)
MyYTtimestamps.Run()
MyYTtimestamp = YTtimestamp(path, isNum)
MyYTtimestamp.Run()

0 comments on commit 079af80

Please sign in to comment.