Hi Tony,
What version of liquidsoap are you using?
If you are using a recent codebase, I just migrated the download code from
OCaml to liquidsoap script here:
https://github.com/savonet/liquidsoap/blob/master/scripts/protocols.liq#L119
Regardless of the version, extension should be determined by the mim type
as returned by the distant server. This command should tell you what is
being used:
curl -sLI -X HEAD #{uri} | grep -i '^content-type' | tail -n 1 | cut -d':'
-f 2 | cut -d';' -f 1
Romain
2017-03-24 4:22 GMT-04:00 Tony Miller <[email protected]>:
> For the record I tried `taglib.force_mpeg` and it seems to help, not sure
> if this has any downsides.
>
> On 24 March 2017 at 15:48, Tony Miller <[email protected]> wrote:
>
>> Hi, I'm using request.dynamic to play files from http. I can see these
>> are downloaded to /tmp like I expect.
>>
>> ```
>>
>> 2017/03/24 06:25:12 [lang:3] annotate_line: annotate:liq_fade_in=0,liq_fad
>> e_out=0,liq_cue_in=0:https://dongles.streampusher-relay.clu
>> b/datafruits/Datafruits-7thAug2016-VRClubwithCaliforniaGames
>> andVanillaSnickers.mp3?1480408652
>>
>> 2017/03/24 06:25:18 [decoder:3] Method "MAD" accepted
>> "/tmp/liq71c9f6.osb".
>>
>> 2017/03/24 06:25:19 [requests:3] Finished with "/tmp/liqd101c8.osb".
>>
>> 2017/03/24 06:25:19 [requests:3] Prepared "/tmp/liq71c9f6.osb" (RID 6).
>> ```
>>
>> I noticed that now the extension is .osb, which I believe is confusing
>> the metadata parsing mechanism. There is no metadata on my final icecast
>> stream.
>>
>> I googled a bit and found this pretty old post, where Romain seems to
>> suggest using a configuration option named "taglib.force_mp3" (now renamed
>> to force_mpeg).
>>
>> Is this what I need, or am I making some other mistake?
>>
>> Thanks,
>>
>>
>> --
>> -Tony Miller
>> github.com/mcfiredrill
>> @freedrull
>> freedrool.us
>>
>
>
>
> --
> -Tony Miller
> github.com/mcfiredrill
> @freedrull
> freedrool.us
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users