artemanufrij / playmymusic

An elementary OS app
http://anufrij.org/melody
96 stars 26 forks source link

Rescan library while playing breaks the app #10

Closed WebShapedBiz closed 6 years ago

WebShapedBiz commented 6 years ago

On Rescan Library while playing the app exits immediately. After restart there is no songs in library and automatic scan begins like on the first run.

artemanufrij commented 6 years ago

hm... I tested this use case again and again on three systems... Can you reproduce it?

WebShapedBiz commented 6 years ago

It is happening on every rescan. The last time, just minute ago, with new behaviour. On previous occasions, after restart, there are no songs in the library and automatic scan restored them as they were before. However, the last time the rescan split my album that was playing and created two entries in my library - one with only one song, the one that was playing when it exits, and all the other songs were put in "second" album. I'm using vanilla Elementary OS but not 0.4.1., the "old" one with all updates but without HWE kernel, Linux 4.4.0-96-generic

WebShapedBiz commented 6 years ago

Result: https://www.useloom.com/share/bf7512ead7f74a33bd93e1fd4647de4a

artemanufrij commented 6 years ago

could you start the player from console by com.github.artemanufrij.playmymusic and reproduce this crash please?

WebShapedBiz commented 6 years ago

Already did. There is no error messages while rescanning/exiting but there is an error message always at start of app:

[INFO 20:55:00.507751] Application.vala:153: Play My Music version: (null) [INFO 20:55:00.507782] Application.vala:155: Kernel version: 4.4.0-96-generic [WARNING 20:55:00.518164] Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-1MOOUInRZr: Veza odbijena

artemanufrij commented 6 years ago

Currently I'm testing it on tree systems with 100 - 5500 files. It runs very stable. :confused:

[INFO 21:01:22.012553] Application.vala:153: Play My Music version: (null)
[INFO 21:01:22.012575] Application.vala:155: Kernel version: 4.10.0-35-generic
WebShapedBiz commented 6 years ago

I have another computer (Elementary OS with HWE kerel) so I could try there if you think it would help you.

artemanufrij commented 6 years ago

It would be very helpful!

WebShapedBiz commented 6 years ago

On my laptop It works flawlessly.

artemanufrij commented 6 years ago

That's what I mean...

WebShapedBiz commented 6 years ago

So the conclusion is what? I should listen a better music on my desktop? ;-)

artemanufrij commented 6 years ago

which vala version is installed on your systems? vala --version

WebShapedBiz commented 6 years ago

Apparently none, it said that I should apt install valac. But I have no other issues with my system. EDIT: Laptop also doesn't have it.

WebShapedBiz commented 6 years ago

Desktop/Laptop: libvala 0.36.5

artemanufrij commented 6 years ago

I'm going to close this issue... I guess I can't fix it for "old" kernel... thank you for your support!

WebShapedBiz commented 6 years ago

Cheers Artem and thank you for PlayMyMusic