diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1cbd35b0..066f8471 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,8 @@ Music Caster by Elijah Lopez Changelog +5.17.2 +- [Fix] Pausing Chromecast + 5.17.1 - [Fix] Setting position of Chromecast from GUI diff --git a/build_files/mc_version_info.txt b/build_files/mc_version_info.txt index 53ddddba..f5f2c2dd 100644 --- a/build_files/mc_version_info.txt +++ b/build_files/mc_version_info.txt @@ -3,8 +3,8 @@ # noinspection PyUnresolvedReferences VSVersionInfo( ffi=FixedFileInfo( - prodvers=(5, 17, 1, 0), - filevers=(5, 17, 1, 0), + prodvers=(5, 17, 2, 0), + filevers=(5, 17, 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. @@ -28,12 +28,12 @@ VSVersionInfo( '000004b0', [StringStruct('CompanyName', 'Elijah Lopez'), StringStruct('FileDescription', 'Music Caster'), - StringStruct('FileVersion', '5.17.1.0'), + StringStruct('FileVersion', '5.17.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.17.1.0')]) + StringStruct('ProductVersion', '5.17.2.0')]) ]), VarFileInfo([VarStruct('Translation', [0, 1200])]) ] diff --git a/build_files/setup_script.iss b/build_files/setup_script.iss index b05f56f3..1d783b06 100644 --- a/build_files/setup_script.iss +++ b/build_files/setup_script.iss @@ -1,5 +1,5 @@ #define MyAppName "Music Caster" -#define MyAppVersion "5.17.1" +#define MyAppVersion "5.17.2" #define MyAppPublisher "Elijah Lopez" #define MyAppURL "https://elijahlopez.ca/software#music-caster" #define MyAppExeName "Music Caster.exe" diff --git a/src/meta.py b/src/meta.py index 299228bc..bcc9f14f 100644 --- a/src/meta.py +++ b/src/meta.py @@ -1,4 +1,4 @@ -VERSION = latest_version = '5.17.1' +VERSION = latest_version = '5.17.2' UPDATE_MESSAGE = """ [NEW] Better Error Capturing [MSG] Language translators wanted diff --git a/src/music_caster.py b/src/music_caster.py index fb06cc52..f62bb613 100644 --- a/src/music_caster.py +++ b/src/music_caster.py @@ -2126,7 +2126,11 @@ def pause(source=''): app_log.info('paused local audio player') else: mc = cast.media_controller - mc.pause() + try: + mc.pause() + except RequestTimeout: + cast.wait() + cast.media_controller.pause() block_until = time.monotonic() + 5 while not mc.status.player_is_paused and time.monotonic() < block_until: time.sleep(0.1) track_position = mc.status.adjusted_current_time