Hey Romain,
I'm using the latest git version right now.
Thanks for that bash snippet btw that really helps. :)
Looks like I don't have my content-type headers working quite corrrectly, I
will fix that and let you know how it goes.
Thanks,
On 3 April 2017 at 23:36, Romain Beauxis <[email protected]> wrote:
> 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_fade_out=0,liq_cue_in=0:https://d
>>> ongles.streampusher-relay.club/datafruits/Datafruits-7thAug2
>>> 016-VRClubwithCaliforniaGamesandVanillaSnickers.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
>
>
--
-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