Hi Brandon, Le 23 février 2011 09:54, Brandon Casci <[email protected]> a écrit : > I just noticed that Liquidsoap has been setting the title data for Icecast > as follows > > artist: Dream Theater > title: Dream Theater - Pull Me Under > > So you end up with a complete string with the artist in there twice, like > this > > Dream Theater - Dream Theater - Pull Me Under
That's weird.. Could you tell use more about your script? Do you use shoutcast? > I'm not sure when this started happening. I usually listen via an app that > doesn't pull titles in-stream so I assume this has been happening for months > since I've never added any meta-data handling code. > > Is this a known issue? > > Though on a separate note, I want to put the album name in there so I do > have to custom format the meta data, and it seems the best way to do that is > to not populate the artist field, and place everything into the title field. You can manipulate metadata without changing them in your files. One example is the radiopi script, listed there: http://savonet.sourceforge.net/doc-svn/radiopi.html In short, the system passes URI for songs that are of this form: annotate:display_title="title",display_artist="artist":/path/to/file.mp3 Once the request is resolved by liquidsoap, it contains the extra metadata you passed it with. Finally, you rewrite the metadata before outputing with something of this form: # Rewrite metadata source = rewrite_metadata( [("artist",'$(if $(display_artist),"$(display_artist)","$(artist)")'), ("comment",""), ("title", '$(if $(display_title),"$(display_title)","$(title)")'), ("album", '$(if $(display_album),"$(display_album)","$(album)")')], source) Romain > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
