Bug 201687 - Some metadata from shoutcast streams is not passed to parent apps
Summary: Some metadata from shoutcast streams is not passed to parent apps
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Kempf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 19:18 UTC by Modestas Vainius
Modified: 2011-05-07 10:07 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.3.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Modestas Vainius 2009-07-27 19:18:27 UTC
Version:           svn1002062 (using Devel)
OS:                Linux
Installed from:    Unlisted Binaries

VLC backend does not pass some metadata from shoutcast streams to the parent application (e.g. Amarok). Amarok does not display artist and title of the currently playing song but it seems to display radio station name (not instantly though contratry to Xine backend). When Xine backend is in use, all this info is displayed properly. I have also checked with VLC player itself and it seems to display artist, title and station name of the same stream just fine.
Comment 1 Myriam Schweingruber 2010-04-05 13:43:52 UTC
Modestas, is this still valid with a newer version of the vlc-backend? If yes, please don't forget to state the Phonon version you are using.
Comment 2 Mark Kretschmann 2010-04-18 11:19:22 UTC
I can confirm this. One good way for reproducing: Play the "Radio Paradise" stream in Amarok. The URL is this:

http://www.radioparadise.com/musiclinks/rp_128.m3u
Comment 3 Myriam Schweingruber 2010-04-18 11:46:25 UTC
Setting Phonon version.
Comment 4 Kristjan Ugrin 2010-05-10 22:17:08 UTC
I'll  add some more info.

Versions:
VLC version 1.1.0-pre1 The Luggage (1.1.0-pre1-0-g9003bde)
amarok v2.3.0.90-84-g96205dd
phonon-vlc I get: fatal: cannot describe '02ece3d493a05567cd18ab798b6a49d52e671f94'

Prerequisites: KDE 4.4.3 with vlc 1.1.0-pre1, latest phonon-vlc and recent amarok from git, a radio station that streams curent track name which is being played, Polskastacia hardstyle in this e.g.:
http://91.121.116.107:6950

Steps to reproduce:
- Open a stream in amarok with phonon-xine (e.g. http://91.121.116.107:6950) and check if you can see tags like track name, artist, album...
- If it shows then change to phonon-vlc and restart amarok
- Reopen the same stream, now the tags will not dynamicaly change, it will be stuck only at radio station name

This works in vlc-qt, probably phonon-vlc bug or missing feature
Comment 5 Lukas Tines 2010-07-20 22:10:08 UTC
I get the same bug. Amarok's showing only station name
phonon: 4.4.2.60
phonon-vlc: 2.0git20100720
vlc: 1.1.0

From what I figured from logs (with PHONON_VLC_DEBUG=3), vlc recognize the artist and track in stream - for example the line
[0x3c6f868] access_http access debug: New Title=Steve Allen And Davey Asprey - The Glitch (Original Mix)
So it just seems that it doesn't trigger any event in phonon backend. I would really appreciate if anyone could look into it, since this is only "working" backend (xine is broken with Pulse for me and gstreamer cant seek even in local files).
Comment 6 Lukas Tines 2010-07-20 22:26:51 UTC
Just checked, and this bug is still present in 0.2 git-d8927bde871212b5dcef0dae9a77e4453a579b5a
Comment 7 Lukas Tines 2010-07-22 11:14:33 UTC
From what I tested, it seems this is vlc bug. When I am playing shoutcast stream, vlc indeed get the "artist - title" metadata (shoutcast sends them together) and fires proper event (libvlc_MediaMetaChanged). Problem is when the metadata is then queried with libvlc_media_get_meta, vlc reports stream name as libvlc_meta_Title. libvlc_meta_Artist and libvlc_meta_Album are empty. The actual current song is in libvlc_meta_NowPlaying (Artist and Title together). It seems to me it's shoutcast-only problem, because mms streams are reported correctly.
Comment 8 Jean-Baptiste Kempf 2010-10-17 20:16:09 UTC
Can you reproduce that with the main normal VLC?

So we can open a bug there?
Comment 9 Jean-Baptiste Kempf 2010-10-18 12:14:55 UTC
Can you recheck with http://gitorious.org/phonon/phonon-vlc/commit/77a30858e85ce41145a430ee3ae897ae6b76d3ff applied in your tree?
Comment 10 Lukas Tines 2010-10-19 18:52:59 UTC
Well, it works for me - Amarok now correctly displays title and artist. Thanks for the fix
Comment 11 Jean-Baptiste Kempf 2010-10-19 19:09:07 UTC
As per comment #10
Comment 12 Myriam Schweingruber 2011-04-27 21:31:58 UTC
Reassigning to the new bugzilla product for better bug tracing of the various
backends. Sorry for the noise.