Skip to content

Commit

Permalink
support AIFF files locally at least
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed Apr 8, 2024
1 parent 011a9fd commit c631b0a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Music Caster by Elijah Lopez Changelog

5.18.0
- [Feat] Local support for AIFF?

5.17.7
- [GUI] Timer tab translation

Expand Down
8 changes: 4 additions & 4 deletions build_files/mc_version_info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# noinspection PyUnresolvedReferences
VSVersionInfo(
ffi=FixedFileInfo(
prodvers=(5, 17, 7, 0),
filevers=(5, 17, 7, 0),
prodvers=(5, 18, 0, 0),
filevers=(5, 18, 0, 0),
# Contains a bitmask that specifies the valid bits 'flags'r
mask=0x17,
# Contains a bitmask that specifies the Boolean attributes of the file.
Expand All @@ -28,12 +28,12 @@ VSVersionInfo(
'000004b0',
[StringStruct('CompanyName', 'Elijah Lopez'),
StringStruct('FileDescription', 'Music Caster'),
StringStruct('FileVersion', '5.17.7.0'),
StringStruct('FileVersion', '5.18.0.0'),
StringStruct('InternalName', 'Music Caster'),
StringStruct('LegalCopyright', 'Copyright (c) 2019 - 2024, Elijah Lopez'),
StringStruct('OriginalFilename', 'Music Caster.exe'),
StringStruct('ProductName', 'Music Caster'),
StringStruct('ProductVersion', '5.17.7.0')])
StringStruct('ProductVersion', '5.18.0.0')])
]),
VarFileInfo([VarStruct('Translation', [0, 1200])])
]
Expand Down
2 changes: 1 addition & 1 deletion build_files/setup_script.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MyAppName "Music Caster"
#define MyAppVersion "5.17.7"
#define MyAppVersion "5.18.0"
#define MyAppPublisher "Elijah Lopez"
#define MyAppURL "https://elijahlopez.ca/software#music-caster"
#define MyAppExeName "Music Caster.exe"
Expand Down
23 changes: 7 additions & 16 deletions src/meta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = latest_version = '5.17.7'
VERSION = latest_version = '5.18.0'
UPDATE_MESSAGE = """
[NEW] Better Error Capturing
[MSG] Language translators wanted
Expand Down Expand Up @@ -47,24 +47,15 @@
EMAIL = '[email protected]'
CONTACT_INFO = f'Elijah Lopez <{EMAIL}>'
SUBMIT_EVENTS = {'\r', 'special 16777220', 'special 16777221', 'timer_submit'}
AUDIO_EXTS = ('mp3', 'mp4', 'mpeg', 'm4a', 'flac', 'aac', 'ogg', 'opus', 'wma', 'wav')
AUDIO_FILE_TYPES = (('Audio File', '*.' + ' *.'.join(AUDIO_EXTS) + ' *.m3u *.m3u8'),)
AUDIO_EXTS = ('mp3', 'mp4', 'mpeg', 'm4a', 'flac', 'aac', 'ogg', 'opus', 'wma', 'wav', 'aiff')
IMG_FILE_TYPES = (
('Image', '*.gif *.pdf *.png *jpg *jpeg *.tiff *.webp *.' + ' *.'.join(AUDIO_EXTS)),
)
AUDIO_EXTS = {
'.mp3',
'.flac',
'.m4a',
'.mp4',
'.aac',
'.mpeg',
'.ogg',
'.opus',
'.wma',
'.wav',
'.m3u',
}
AUDIO_FILE_TYPES = (('Audio File', '*.' + ' *.'.join(AUDIO_EXTS) + ' *.m3u *.m3u8'),)
# re-define AUDIO_EXTS
AUDIO_EXTS = {f'.{ext}' for ext in AUDIO_EXTS}
AUDIO_EXTS.add('.m3u')

FONT_NORMAL = 'Segoe UI', 11
FONT_SMALL = 'Segoe UI', 10
FONT_LINK = 'Segoe UI', 11, 'underline'
Expand Down

0 comments on commit c631b0a

Please sign in to comment.