Skip to content

Commit

Permalink
fix: change_device
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed Apr 12, 2024
1 parent 0d257c7 commit 743a026
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 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.2
- [Fix] Changing cast device

5.18.1
- [Fix] Security update
- [Fix] Play AIFF from explorer
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 @@ -2,8 +2,8 @@
# For more details about fixed file info 'ffi' see: http://msdn.microsoft.com/en-us/library/ms646997.aspx
VSVersionInfo(
ffi=FixedFileInfo(
prodvers=(5, 18, 1, 0),
filevers=(5, 18, 1, 0),
prodvers=(5, 18, 2, 0),
filevers=(5, 18, 2, 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 @@ -27,12 +27,12 @@ VSVersionInfo(
'000004b0',
[StringStruct('CompanyName', 'Elijah Lopez'),
StringStruct('FileDescription', 'Music Caster'),
StringStruct('FileVersion', '5.18.1.0'),
StringStruct('FileVersion', '5.18.2.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.18.1.0')])
StringStruct('ProductVersion', '5.18.2.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.18.1"
#define MyAppVersion "5.18.2"
#define MyAppPublisher "Elijah Lopez"
#define MyAppURL "https://elijahlopez.ca/software#music-caster"
#define MyAppExeName "Music Caster.exe"
Expand Down
2 changes: 1 addition & 1 deletion src/meta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = latest_version = '5.18.1'
VERSION = latest_version = '5.18.2'
UPDATE_MESSAGE = """
[NEW] Better Error Capturing
[MSG] Language translators wanted
Expand Down
2 changes: 1 addition & 1 deletion src/music_caster.py
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ def change_device(new_uuid='local'):
if cast is not None and cast.app_id == APP_MEDIA_RECEIVER:
if playing_status.busy():
mc = cast.media_controller
with suppress(UnsupportedNamespace, NotConnected):
with suppress(UnsupportedNamespace, NotConnected, RequestTimeout):
mc.update_status() # Switch device without playback loss
current_pos = mc.status.adjusted_current_time
if mc.status.player_is_playing or mc.status.player_is_paused:
Expand Down

0 comments on commit 743a026

Please sign in to comment.