Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tauon does not attempt to recreate a sink/link(?) when the connection dies due to sound server restart #1244

Open
C0rn3j opened this issue Oct 3, 2024 · 0 comments
Labels

Comments

@C0rn3j
Copy link
Collaborator

C0rn3j commented Oct 3, 2024

As per title.

I can have Tauon running and playing music:
image

Restart pipewire(-pulse) systemctl --user try-restart pipewire pipewire-pulse:

image

(pipewire-pulse is enough using the Pulse backend, 100% reproducible with a BT headset it seems)

And Tauon will now be stuck at 00:00 or whatever seek was, not playing anything, until I completely restart it.

Or the timer will go on until the next song and then it will be stuck, but the visualizer becomes stuck instantly:

image

It should recreate the connection if it dies.

Happens on both 7.8.3 and current(2024-11-15) master.

EDIT: 2024-12-24 still -

2024-12-24 19:54:01 [ INFO  ] [  t_main  ] Using SDL version: 2.30.10
2024-12-24 19:54:02 [ INFO  ] [  t_main  ] Applying theme: Turbo
2024-12-24 19:54:02 [ INFO  ] [  t_main  ] Refill shuffle pool
2024-12-24 19:54:02 [ INFO  ] [  t_main  ] Writing database to disk... 
2024-12-24 19:54:02 [ INFO  ] [  t_main  ] Done writing database
Exit PHAzOR
2024-12-24 19:54:34 [ INFO  ] [  t_main  ] MISS
2024-12-24 19:54:34 [ INFO  ] [  t_main  ] Refill shuffle pool
2024-12-24 19:54:35 [ INFO  ] [ t_phazor ] Open - requested start was 0 (0)
2024-12-24 19:54:35 [ INFO  ] [ t_phazor ] Extension: mp3
2024-12-24 19:54:35 [ INFO  ] [ t_phazor ] Transition jump
ph: Connect
ph: Connected using samplerate 44100hz
2024-12-24 19:54:36 [ INFO  ] [  t_main  ] Writing database to disk... 
2024-12-24 19:54:36 [ INFO  ] [  t_main  ] Done writing database
2024-12-24 19:57:15 [ INFO  ] [ t_phazor ] Open - requested start was 0 (0)
2024-12-24 19:57:15 [ INFO  ] [ t_phazor ] Extension: mp3
2024-12-24 19:57:15 [ INFO  ] [ t_phazor ] I Don't Wanna Go -> Lily
2024-12-24 19:57:15 [ INFO  ] [ t_phazor ]  --- length: 161.672
2024-12-24 19:57:15 [ INFO  ] [ t_phazor ]  --- position: 158.96
2024-12-24 19:57:15 [ INFO  ] [ t_phazor ]  --- We are 2.711999999999989 from end
2024-12-24 19:57:15 [ INFO  ] [ t_phazor ] Transition gapless
2024-12-24 19:59:23 [ INFO  ] [ t_phazor ] Open - requested start was 0 (0)
2024-12-24 19:59:23 [ INFO  ] [ t_phazor ] Extension: mp3
2024-12-24 19:59:23 [ INFO  ] [ t_phazor ] Lily -> Do It All for You
2024-12-24 19:59:23 [ INFO  ] [ t_phazor ]  --- length: 195.841
2024-12-24 19:59:23 [ INFO  ] [ t_phazor ]  --- position: 58.52
2024-12-24 19:59:23 [ INFO  ] [ t_phazor ]  --- We are 137.321 from end
2024-12-24 19:59:23 [ INFO  ] [ t_phazor ] Transition jump

// no more t_phazor logs at this point onward when pw services were restarted

// clicked through settings a bit
2024-12-24 20:00:39 [WARNING] [ warnings ] /usr/lib/python3.13/asyncio/base_events.py:759: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
  _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self)
 (warnings.py:110)

// exit
2024-12-24 20:02:11 [ INFO  ] [  t_main  ] Shutting down. Reason: User clicked X button
2024-12-24 20:02:11 [ INFO  ] [  t_main  ] Writing database to disk... 
2024-12-24 20:02:11 [ INFO  ] [  t_main  ] Done writing database
2024-12-24 20:02:13 [WARNING] [  t_main  ] Phazor unload timeout (t_main.py:48309)
2024-12-24 20:02:13 [ INFO  ] [  t_main  ] Bye!
@C0rn3j C0rn3j changed the title Tauon does not attempt to recreate a sink/link(?) when the connection dies due to sound server restart or device removal Tauon does not attempt to recreate a sink/link(?) when the connection dies due to sound server restart Nov 15, 2024
@C0rn3j C0rn3j added the bug label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant