Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002800MPDAudio Output - Icecastpublic2010-02-04 11:522010-03-27 21:06
ReporterRudz 
Assigned Tocirrus 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.15.x 
Target VersionFixed in Versiongit 
Summary0002800: sending incorrect metadata to Icecast2 when crossfading is enabled
Descriptionwhen crossfading feature is enabled, mpd sends incorrect metadata to shout_plugin (not sure, maybe to others metadata-capable too), exactly - flips it, after 5 sec pause, to previous title exactly on every second song.

in action:
===
[2010-02-04 17:46:09] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Orient Expressions - Istanbul 1:26 AM"
[2010-02-04 17:52:30] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Serafim Tsotsonis - Wood Street"
[2010-02-04 17:52:34] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Orient Expressions - Istanbul 1:26 AM"
[2010-02-04 17:56:19] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Popmachine - Only you"
[2010-02-04 17:56:25] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Serafim Tsotsonis - Wood Street"
[2010-02-04 18:02:02] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Troubleman - Paz"
[2010-02-04 18:05:39] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Aromabar - Sand & stone & bricks & rocks"
[2010-02-04 18:05:44] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Troubleman - Paz"
[2010-02-04 18:09:53] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Voodoo Bull - Native soul"
[2010-02-04 18:15:15] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Hacienda - Siren song"
[2010-02-04 18:19:27] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Easter Wood Bunch - Sun Diver"
[2010-02-04 18:19:32] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Hacienda - Siren song"
[2010-02-04 18:24:39] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Timax - Stay with Me"
[2010-02-04 18:27:23] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Minus 8 - Elysian fields"
[2010-02-04 18:27:28] INFO admin/command_metadata Metadata on mountpoint /blc.mp3 changed to "Timax - Stay with Me"
===

, when actual playlist is:

===
 1) Orient Expressions - Istanbul 1:26 AM (26:49)
 2) Serafim Tsotsonis - Wood Street (15:25)
 3) Popmachine - Only you (5:48)
 4) Troubleman - Paz (3:42)
 5) Aromabar - Sand & stone & bricks & rocks (4:19)
 6) Voodoo Bull - Native soul (5:26)
 7) Hacienda - Siren song (4:17)
 8) Easter Wood Bunch - Sun Diver (5:17)
 9) Timax - Stay with Me (12:36)
 10) Minus 8 - Elysian fields (4:25)
===

and so on.
songs are actually played in right order, mpd client (i'm using mpc) always shows right title, so this problem is with metadata only.

note again, take a look on times and order - every second song's metadata is sent as previous, instead of current, with a delay of 5 sec.
crossfade value in above example was 20, but delay between such flips is not depends on crossfade value (tried with 5 and 30 also - same effect).

when i'm switching off crossfade feature (crossfade 0) - everything works as must to be, metadata gets sent normally, just in time and at playlist order.
Additional Informationversion info:
===
mpd (MPD: Music Player Daemon) 0.15.8

Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Supported decoders:

[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[audiofile] wav au aiff aif
[faad] aac
[mp4] m4a mp4
[mpcdec] mpc
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[mikmod] amf dsm far gdm imf it med mod mtm s3m stm stx ult uni xm
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav wma wmv wsaud wsvga wv wve

Supported outputs:

shout null fifo oss httpd

Supported archives:

bz2 zip iso

Supported protocols:

file:// http:// lastfm:// mms:// mmsh:// mmst:// mmsu://
===

mpd output configuration (only shout is used):

===
audio_output {
        type "shout"
        encoding "mp3" # optional
        name "XXXXXXXXXX"
        host "xxxxxxxxxxxxxxxx"
        port "8000"
        mount "/blc.mp3"
        password "hackme"
        #quality "5.0"
        bitrate "192"
        format "44100:16:2"
        protocol "icecast2" # optional
        user "source" # optional
        description "xxxxxxxxxxxxxxxxxxx" # optional
        genre "xxxxxxxxxxx" # optional
        public "yes" # optional
        timeout "5" # optional
}
===

icecast2 version and configuration, i guess, are not important, because there are a lot of another sources (not mpd) on it, and they all having no such problem.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-02-04 11:52 Rudz New Issue
2010-02-04 11:52 Rudz Status new => assigned
2010-02-04 11:52 Rudz Assigned To => encoded
2010-02-04 17:06 Rudz Issue Monitored: Rudz
2010-03-17 13:33 cirrus Assigned To encoded => cirrus
2010-03-17 18:44 cirrus Status assigned => resolved
2010-03-17 18:44 cirrus Fixed in Version => git
2010-03-17 18:44 cirrus Resolution open => fixed
2010-03-27 21:06 Avuton Olrich Status resolved => closed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker