This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1636207
I modified mplayer.py under audio/plugins to show stream
information if available. Please review and patch if acceptable.
Index: src/audio/plugins/mplayer.py
--- src/audio/plugins/mplayer.py (revision 8530)
+++ src/audio/plugins/mplayer.py (working copy)
@@ -302,9 +302,18 @@
for p in self.stdout_plugins:
p.stdout(line)
+ if line.startswith("ICY Info"):
+ titleKey = "StreamTitle='"
+ titleIndex = line.find(titleKey)
+ if titleIndex != -1:
+ titleStart = titleIndex + len(titleKey)
+ titleEnd = line.find("'", titleStart)
+ if titleEnd > titleStart:
+ self.item.info['artist'] =
line[titleStart:titleEnd]
+
def stderr_cb(self, line):
if line.startswith('Failed to open') and \ (not self.item or not self.item.elapsed):
Logged In: YES
user_id=104395
Originator: NO
Patch applied to rel-1 at r8921
Thanks, please test and report if there are any errors
Logged In: YES
user_id=325225
Originator: YES
Works splended on 1.6.2, streams with info show there info, streams without behave like always.
Thank you!
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).