CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
865 stars 39 forks source link

[BUG] - airsonic 100% cpu due to tempo and tempo quits streaming music. #178

Open czar opened 4 months ago

czar commented 4 months ago

Describe the bug

Music plays fine and then I stop listening. I'll return a few hours later and play some music but nothing plays. All music makes no sound, can' tplay and has a 0:00 duration. I'll check the airsonic server and it's at 20 load and 100% CPU.

Expected behavior

Music to play like it does using Ultrasonic on android or web-client on airsonic.

To Reproduce

play music after a pause or short break of non-play.

Environment

Here's the airsonic status...

● airsonic.service - Airsonic Media Server Loaded: loaded (/etc/systemd/system/airsonic.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2024-02-16 15:37:01 EST; 1 week 5 days ago Main PID: 1146 (java) Tasks: 141 (limit: 38118) Memory: 2.8G CPU: 2h 1min 36.844s CGroup: /system.slice/airsonic.service └─1146 /usr/bin/java -Xmx700m -Dairsonic.home=/var/airsonic -Dserver.servlet.contextPath=/airsonic -Dserver.port=8087 -jar /var/airsonic/airsonic.war --server.address=192.168.1.127

Feb 28 17:16:53 server java[1146]: 2024-02-28 17:16:53.084 INFO --- o.a.p.c.StreamController : 192.168.1.110: userx listening to ROCKMAN SOUND BOX 2/3-37 [unknown] - Rockman 2 Wily Stage 1.mp3 in folder 2 Feb 28 17:16:53 server java[1146]: 2024-02-28 17:16:53.085 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: 135557 | EventType: REMOVED | Old value: Rockman 2: Wily Stage 1 | New value: null Feb 28 17:16:53 server java[1146]: 2024-02-28 17:16:53.085 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: Various Artists/ROCKMAN SOUND BOX 2-2 | EventType: CREATED | Old value: null | New value: ROCKMAN SOUND BOX 2 Feb 28 17:16:53 server java[1146]: 2024-02-28 17:16:53.085 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: Various Artists/ROCKMAN SOUND BOX 2-2 | EventType: REMOVED | Old value: ROCKMAN SOUND BOX 2 | New value: null Feb 28 17:17:03 server java[1146]: 2024-02-28 17:17:03.100 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: 135557 | EventType: CREATED | Old value: null | New value: Rockman 2: Wily Stage 1 Feb 28 17:17:03 server java[1146]: 2024-02-28 17:17:03.113 INFO --- o.a.p.c.StreamController : 192.168.1.110: userx listening to ROCKMAN SOUND BOX 2/3-37 [unknown] - Rockman 2 Wily Stage 1.mp3 in folder 2 Feb 28 17:17:03 server java[1146]: 2024-02-28 17:17:03.113 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: 135557 | EventType: REMOVED | Old value: Rockman 2: Wily Stage 1 | New value: null Feb 28 17:17:03 server java[1146]: 2024-02-28 17:17:03.113 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: Various Artists/ROCKMAN SOUND BOX 2-2 | EventType: CREATED | Old value: null | New value: ROCKMAN SOUND BOX 2 Feb 28 17:17:03 server java[1146]: 2024-02-28 17:17:03.114 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: Various Artists/ROCKMAN SOUND BOX 2-2 | EventType: REMOVED | Old value: ROCKMAN SOUND BOX 2 | New value: null ~ ~

Additional context

Thanks. Tempo seems great, not sure what's going on and or what to check next. any help is welcome. :)