elibroftw / music-caster

Music Caster is a modern music player with the ability to cast audio files, system audio, and URLs to Google Chromecasts, Google Home/Nest Minis, etc.
https://elijahlopez.ca/music-caster/
Other
142 stars 16 forks source link

Lastest Update Cannot Playback via Google Chromecast Audio #34

Closed itmanvn closed 2 years ago

itmanvn commented 2 years ago

I see it playing but no sound on google chromecast audio.

elibroftw commented 2 years ago

Can you restart the program?

itmanvn commented 2 years ago

Can you restart the program?

Hi, check my logs files:

2021-11-23 08:59:44,603 INFO (243): Time to import is 1.81 seconds
2021-11-23 08:59:44,745 INFO (2976): called auto_update(), IS_FROZEN=True
2021-11-23 08:59:44,754 WARNING (225):  * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
2021-11-23 08:59:44,754 INFO (225):  * Running on http://[::1]:2001/ (Press CTRL+C to quit)
2021-11-23 08:59:44,757 WARNING (225):  * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
2021-11-23 08:59:44,757 INFO (225):  * Running on http://192.168.1.224:2001/ (Press CTRL+C to quit)
2021-11-23 08:59:45,445 INFO (3034): auto_update: no update found, or no internet, or API rate limited
2021-11-23 08:59:45,487 INFO (3168): Time to start (excluding imports) is 0.88 seconds
2021-11-23 08:59:45,487 INFO (3169): Time to start (including imports) is 2.69 seconds
2021-11-23 08:59:45,488 INFO (2110): activate_main_window: selected_tab=None
2021-11-23 08:59:46,898 INFO (2942): create_shortcut called
2021-11-23 09:01:12,523 INFO (1480): play(some_file.mp3, 0, autoplay=True, switching_device=False)
2021-11-23 09:01:14,463 INFO (225): 192.168.56.1 - - [23/Nov/2021 09:01:14] "GET /file?path=C%3A%2FUsers%2FAdmin%2FMusic%2Fyt5s.com+-+♬+CAFE+KHÔNG+ĐƯỜNG+-+JOMBIE+x+TKAN+X+BEAN+%28+HHD+REMIX+%29+_+NHỚ+ĐEO+TAI+NGHE+_+%40Em+Yêu+%28320+kbps%29.mp3&thumbnail_only=true HTTP/1.1" 308 -
2021-11-23 09:01:14,470 INFO (225): 192.168.56.1 - - [23/Nov/2021 09:01:14] "GET /file/?path=C%3A%2FUsers%2FAdmin%2FMusic%2Fyt5s.com+-+♬+CAFE+KHÔNG+ĐƯỜNG+-+JOMBIE+x+TKAN+X+BEAN+%28+HHD+REMIX+%29+_+NHỚ+ĐEO+TAI+NGHE+_+%40Em+Yêu+%28320+kbps%29.mp3&thumbnail_only=true HTTP/1.1" 200 -
2021-11-23 09:01:19,462 INFO (1512): play: mc.status.player_state=BUFFERING
2021-11-23 09:01:19,462 INFO (1201): after_play: autoplay=True, switching_device=False
2021-11-23 09:01:41,877 INFO (1480): play(some_file.mp3, 0, autoplay=True, switching_device=True)
2021-11-23 09:01:41,906 INFO (1201): after_play: autoplay=True, switching_device=True
2021-11-23 09:01:52,615 INFO (1480): play(some_file.mp3, 10.421, autoplay=True, switching_device=True)
2021-11-23 09:01:57,630 INFO (1512): play: mc.status.player_state=BUFFERING
2021-11-23 09:01:57,630 INFO (1201): after_play: autoplay=True, switching_device=True

my settings:

{
  "previous_device": "e28e8d49-b5b1-a077-c168-8423e606252a",
  "window_locations": {
    "main": [
      483,
      211
    ]
  },
  "update_message": "[Optimization] Startup & updating\n[MSG] Language translators wanted",
  "smart_queue": false,
  "skips": {},
  "auto_update": true,
  "run_on_startup": false,
  "notifications": true,
  "shuffle": false,
  "repeat": null,
  "discord_rpc": false,
  "save_window_positions": true,
  "populate_queue_startup": false,
  "persistent_queue": false,
  "volume": 75.0,
  "muted": false,
  "volume_delta": 5,
  "scrubbing_delta": 5,
  "flip_main_window": false,
  "show_track_number": false,
  "folder_cover_override": false,
  "show_album_art": true,
  "folder_context_menu": true,
  "vertical_gui": false,
  "mini_mode": false,
  "mini_on_top": true,
  "scan_folders": true,
  "update_check_hours": 1,
  "timer_shut_down": false,
  "timer_hibernate": false,
  "timer_sleep": false,
  "show_queue_index": true,
  "queue_library": false,
  "lang": "",
  "theme": {
    "accent": "#00bfff",
    "background": "#121212",
    "text": "#d7d7d7",
    "alternate_background": "#222222"
  },
  "use_last_folder": true,
  "upload_pw": "",
  "last_folder": "C:/Users/Admin/Music",
  "track_format": "&artist - &title",
  "reversed_play_next": false,
  "delay": 0,
  "music_folders": [
    "C:/Users/Admin/Music"
  ],
  "playlists": {
    "tik tok remix": [
      "C:/Users/Admin/Music/yt5s.com - \u0110\u1ed8 T\u1ed8C 2 - I'M LEA - REMIX CHILL FT INAINTE SA NE FI NASCUT - TIKTOK - HOANG MUSIC PRO (320 kbps).mp3",
      "C:/Users/Admin/Music/yt5s.com - \u266c CAFE KH\u00d4NG \u0110\u01af\u1edcNG - JOMBIE x TKAN X BEAN ( HHD REMIX ) _ NH\u1eda \u0110EO TAI NGHE _ @Em Y\u00eau (320 kbps).mp3",
      "C:/Users/Admin/Music/yt5s.com - T\u00ecnh \u0110\u01a1n Ph\u01b0\u01a1ng   Deep House (320 kbps).mp3",
      "C:/Users/Admin/Music/yt5s.com - Sao em l\u1ea1i t\u1eaft m\u00e1y_ - Ph\u1ea1m Nguy\u00ean Ng\u1ecdc ft.Vanh (320 kbps).mp3",
      "C:/Users/Admin/Music/yt5s.com - EDM TikTok Hay 2021 \u266b BXH Nh\u1ea1c Tr\u1ebb Remix Hay Nh\u1ea5t Hi\u1ec7n Nay - Top 15 B\u1ea3n EDM TikTok M\u1edbi Nh\u1ea5t 2021 (320 kbps).mp3",
      "C:/Users/Admin/Music/yt5s.com - EDM TikTok Hay 2021 \u266b BXH Nh\u1ea1c Tr\u1ebb Remix Hay Nh\u1ea5t Hi\u1ec7n Nay - Top 15 B\u1ea3n EDM TikTok M\u1edbi Nh\u1ea5t 2021 (320 kbps) (1).mp3",
      "C:/Users/Admin/Music/yt5s.com - NH\u1ea0C TR\u1eba REMIX 2021 HAY NH\u1ea4T HI\u1ec6N NAY - EDM TikTok ORINN REMIX, Lk Nh\u1ea1c Tr\u1ebb 2021 G\u00e2y Nghi\u1ec7n Hay Nh\u1ea5t (320 kbps).mp3",
      "C:/Users/Admin/Music/yt5s.com - TOP 30 B\u1ea2N GUITAR L\u00c3NG M\u1ea0N - Nh\u1eefng T\u00ecnh Kh\u00fac Guitar Tuy\u1ec3n Ch\u1ecdn Nghe M\u00e3i V\u1eabn Hay (320 kbps).mp3"
    ]
  },
  "queues": {
    "done": [],
    "music": [],
    "next": []
  },
  "important_message": "v5 will be 64-bit only. v4.90.X will be the last version to support 32-bit devices.\nThe current update prevents 32-bit Windows users from auto-updating to v5."
}
elibroftw commented 2 years ago

Can you send me the file(s) you were trying to play? I think the non ASCII letters could be the problem.

itmanvn commented 2 years ago

I have renamed the filename but no luck: https://mega.nz/file/wL5T1QjQ#EFDWCGYU7hlBTFBvq73NxzmJzuUVfCWCy7UmZsIaK7w

elibroftw commented 2 years ago

Hmm. It works for me so it must be a chromecast issue. Can you disable auto-update and try to use https://github.com/elibroftw/music-caster/releases/tag/v4.89.0?

itmanvn commented 2 years ago

hello,

v4.89.0 works great.

my chrome cast audio still works with spotify.

elibroftw commented 2 years ago

May I ask what app version you were running before the downgrade? Also I'll let you know when I fix this bug so that you can start using the latest version again.

itmanvn commented 2 years ago

It's v4.90.125 :)

elibroftw commented 2 years ago

Can you try the latest version?

elibroftw commented 2 years ago

Closing because the issue has been fixed (verified with another person)