Bug 310783 - Track list is full of "unknown" tracks after restart amarok and no way to browse ampache collection
Summary: Track list is full of "unknown" tracks after restart amarok and no way to bro...
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Services/Ampache (show other bugs)
Version: 2.8.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 2.9
Assignee: Amarok Developers
URL: http://i.imgur.com/ZinTg.png
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 20:21 UTC by Łukasz Żarnowiecki
Modified: 2023-01-02 05:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Ampache config file (21.96 KB, application/x-php)
2014-03-26 18:20 UTC, ypq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Żarnowiecki 2012-11-27 20:21:24 UTC
Track list is full of "unknown" tracks that comes from ampache server after restart amarok and there is no way to browse ampache collection. All I gotta do is remove all "unknown" songs from my playlist, restart amarok and then I can start enjoy my music from ampache again.

Reproducible: Always

Steps to Reproduce:
1. Start amarok
2. Add music from ampache to playlist
3. Restart amarok
Actual Results:  
All tracks on the playlist are called "unknown" and there is now way to browse. Need to remove all "unknown" tracks and restart amarok.

Expected Results:  
Amarok is capable to play songs from ampache and I can easily manage my playlist and browse ampache
Comment 1 Myriam Schweingruber 2012-11-27 21:15:00 UTC
Amarok 2.5 is quite outdated now, please upgrade to Amarok 2.6 and try again.
Comment 2 Łukasz Żarnowiecki 2012-11-28 08:57:47 UTC
The same problem with amarok 2.6
Comment 3 Myriam Schweingruber 2012-11-28 10:27:31 UTC
Thank you for the feedback.
Comment 4 Jeffrey 2013-03-21 19:42:22 UTC
I also had this with 2.6.0 on Debian Unstable.  Removing the songs from the playlist, restarting Amarok, and re-browsing for files seems to have cleared it up the times I tried, but that's a good amount of effort which shouldn't be required IMHO.  Thanks for looking into this.
Comment 5 Myriam Schweingruber 2013-03-21 19:52:52 UTC
What with Amarok 2.7?
Comment 6 Myriam Schweingruber 2013-04-11 08:14:22 UTC
(In reply to comment #5)
> What with Amarok 2.7?

Still waiting for feedback...
Comment 7 Łukasz Żarnowiecki 2013-04-11 09:19:19 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > What with Amarok 2.7?
> 
> Still waiting for feedback...

Still in 2.7
Comment 8 Myriam Schweingruber 2013-04-11 12:30:32 UTC
Thank you for the feedback.
Comment 9 Myriam Schweingruber 2013-07-25 12:22:10 UTC
Ampache collection works fine in Amarok v2.7.90-56-g69199bd
Comment 10 Łukasz Żarnowiecki 2013-08-18 17:04:09 UTC
Well in Amarok 2.8 bug still remain
Comment 11 Myriam Schweingruber 2013-08-18 21:45:36 UTC
I can't reproduce this here at all. What exact Ampache version do you use? Is the Ampache server online when you start Amarok?
Comment 12 Łukasz Żarnowiecki 2013-08-19 06:47:20 UTC
>What exact Ampache version do you use?
Ampache 3.5.4, I tried also git master, but is full of bugs.

>Is the Ampache server online when you start Amarok?
Absolutely
Comment 13 Myriam Schweingruber 2013-08-19 08:01:49 UTC
Thank you for the feedback.
Comment 14 ypq 2014-03-26 18:20:21 UTC
Created attachment 85770 [details]
Ampache config file

Same situation here. After restarting Amarok, all that remains is a list full of empty tracks (no url, no tags).

Amarok is 2.8.0, having issues with two Ampache servers (3.5.4 and 3.6 alpha). My config file from one of them is attached to this comment. The access control list looks like this:

Name 	        Start Address 	End Address 	        Level 	User 	Type 	
DEFAULTv4 	0.0.0.0 	        255.255.255.255 	All 	        All 	Web Interface
DEFAULTv4 	0.0.0.0 	        255.255.255.255 	All 	        All 	Stream Access
DEFAULTv6 	:: 	                ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 	All 	All 	Web Interface
DEFAULTv6 	:: 	                ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 	All 	All 	Stream Access
DEFAULTv4 	0.0.0.0 	        255.255.255.255 	All 	All 	API/RPC
Comment 15 Dan Meltzer 2014-05-08 17:48:22 UTC
The issue is in AmpacheTrackForUrlWorker::run.  We are trying to access the network manager from a separate thread, and kio gets unhappy.  Not entirely sure the best way to adjust this.  Will look into it further.  Relevent debug output:

amarok: BEGIN: virtual void AmpacheTrackForUrlWorker::run() 
amarok(28502)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO is not thread-safe. 
QObject: Cannot create children for a parent that is in a different thread.
(Parent is NetworkAccessManagerProxy(0x91ef0f8), parent's thread is QThread(0x8bc11a8), current thread is ThreadWeaver::Thread(0x92482e0)
amarok: END__: virtual void AmpacheTrackForUrlWorker::run() [Took: 0s]
Comment 16 Andrew Crouthamel 2018-11-11 04:22:18 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Andrew Crouthamel 2018-11-12 03:22:28 UTC
Changing back to REPORTED per request of Myriam (Amarok dev).
Comment 18 Justin Zobel 2022-12-03 09:01:31 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 19 Bug Janitor Service 2022-12-18 05:14:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 20 Bug Janitor Service 2023-01-02 05:28:22 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!