Michael Smith
2004-Aug-06 14:57 UTC
[icecast-dev] More libshout questions ((even)more info)
On Monday 19 January 2004 23:04, Deven Phillips wrote:> Even more to consider... > > The metadata is working with WinAmp and RealPlayer. The concern I > have is that the 'url' metadata is being misinterpreted. My url has a > "-" in it, and that is getting mistranslated somewhere and > WinAmp/RealPlayer then see it as artist/title information. Not good. > WinAmp is supposed to display the website defined by the URL. Something > else I'll be looking into. Perhaps libshout does/doesn't do some URL > encoding? >libshout does not do url encoding for header values. If your client (winamp) has bugs requiring it to be encoded in this case, then you should do the encoding on the calling side. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Deven Phillips
2004-Aug-06 14:57 UTC
[icecast-dev] More libshout questions ((even)more info)
Even more to consider... The metadata is working with WinAmp and RealPlayer. The concern I have is that the 'url' metadata is being misinterpreted. My url has a "-" in it, and that is getting mistranslated somewhere and WinAmp/RealPlayer then see it as artist/title information. Not good. WinAmp is supposed to display the website defined by the URL. Something else I'll be looking into. Perhaps libshout does/doesn't do some URL encoding? Deven Deven Phillips wrote:> Okay, this is interesting.... > > The metadata functions work fine with icecast (2.0.0) but do not > work at all with NullSoft's ShoutCast server. . . Is that not > supported by libshout? Just curious... > > Deven > > Deven Phillips wrote: > >> Okay >> >> Nevermind the SEGFAULT, it was string pointers in my code. Sorry >> for the inconvenience. Continuing with the issue though . . . . >> >> Now that I can successfully call shout_metadata_add() and >> shout_set_metadata(), shout_set_metadata() returns >> SHOUTERR_NOCONNECT. This cannot be correct because it streams the >> mpeg audio just fine . . . Any ideas??? >> >> Do I need to call them in a specific order? Right now my order is: >> >> shout_metadata_add() >> shout_send() >> shout_set_metadata() >> loop >> shout_send() >> endloop >> begin again!! >> >> OR do I need to close the shout connection after every song and re-open? >> >> Any help would be appreciated!! >> >> Deven >> >> --- >8 ---- >> List archives: http://www.xiph.org/archives/ >> icecast project homepage: http://www.icecast.org/ >> To unsubscribe from this list, send a message to >> 'icecast-dev-request@xiph.org' >> containing only the word 'unsubscribe' in the body. No subject is >> needed. >> Unsubscribe messages sent to the list will be ignored/filtered. > > > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to > 'icecast-dev-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is > needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Okay, this is interesting.... The metadata functions work fine with icecast (2.0.0) but do not work at all with NullSoft's ShoutCast server. . . Is that not supported by libshout? Just curious... Deven Deven Phillips wrote:> Okay > > Nevermind the SEGFAULT, it was string pointers in my code. Sorry > for the inconvenience. Continuing with the issue though . . . . > > Now that I can successfully call shout_metadata_add() and > shout_set_metadata(), shout_set_metadata() returns SHOUTERR_NOCONNECT. > This cannot be correct because it streams the mpeg audio just fine . . > . Any ideas??? > > Do I need to call them in a specific order? Right now my order is: > > shout_metadata_add() > shout_send() > shout_set_metadata() > loop > shout_send() > endloop > begin again!! > > OR do I need to close the shout connection after every song and re-open? > > Any help would be appreciated!! > > Deven > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to > 'icecast-dev-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is > needed. > Unsubscribe messages sent to the list will be ignored/filtered.<p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.