Bug 314475

Summary: Tracks in Nepomuk Collection have 0:00 length and scrubbing isn't possible.
Product: [Applications] amarok Reporter: Michael D <nortexoid>
Component: Collections/NepomukAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: me
Priority: NOR    
Version: 2.7.0   
Target Milestone: 2.8   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael D 2013-02-05 20:18:06 UTC
Every single one of my tracks in my nepomuk collection (via the plugin for 2.6.90, KDE 4.10 RC3) shows a length of 0:00 and scrubbing the track isn't possible. Dolphin also shows incorrect track length (usually 0:02 and 0:03) but track preview allows scrubbing.

This may be a bug for nepomuk rather than Amarok's Nepo Collection plugin.

Reproducible: Always

Steps to Reproduce:
1. Index music using nepomuk
2. Start Amarok with the nepomuk collection plugin enabled beforehand
3. Add some tracks from the nepo collection to the playlist
Actual Results:  
All added tracks have a length of 0:00. Scrubbing not possible.

Expected Results:  
Track length is correct and scrubbing is possible.

Kubuntu 12.10, KDE 4.10 RC3
Comment 1 Michael D 2013-02-05 20:21:55 UTC
I just discovered this is a duplicate of bug 310057 (https://bugs.kde.org/show_bug.cgi?id=310057). Please close it.
Comment 2 Myriam Schweingruber 2013-02-05 22:39:26 UTC
What do you mean by "scrubbing"?

*** This bug has been marked as a duplicate of bug 310057 ***
Comment 3 Michael D 2013-02-06 08:22:32 UTC
"Scrubbing" means "seeking", i.e. moving the navigation slider back and forth to seek to different times.
Comment 4 Myriam Schweingruber 2013-02-06 10:03:01 UTC
Seeking is not done by Nepomuk, but with a playcount of 0 the Phonon backend surely can't seek.
Comment 5 Michael D 2013-02-06 10:05:00 UTC
Are you sure? When I preview a music file from Dolphin, it displays an incorrect length (usually 0:02 or 0:03), but I'm able to seek. I guess Dolphin preview uses the phonon backend too.
Comment 6 Myriam Schweingruber 2013-02-06 10:07:07 UTC
That entirely depends on the phonon backend you use, the gstreamer one can't seek with a track length of 0:00
Comment 7 Michael D 2013-02-06 10:09:43 UTC
I'm using gstreamer. I don't get why seeking is possible from preview then.
Comment 8 Myriam Schweingruber 2013-02-06 10:12:33 UTC
(In reply to comment #7)
> I'm using gstreamer. I don't get why seeking is possible from preview then.

It's not gstreamer, but the Phonon-backend-gstreamer. How about asking them? I don't think this belongs in the Amarok bug tracker, as it is backend dependent.
Comment 9 Michael D 2013-02-06 10:25:08 UTC
Sure, I'll report wherever is appropriate. Thanks for helping.