Hi Serg,
Yes its quite simple. Simply pass the harbor input source to the
output.file command. I have a setup kind of like this(shortened for
brevity):
backup_playlist = request.dynamic(my_request_function)
output.dummy(fallible=true,backup_playlist)
live_dj =
input.harbor("datafruits",port=9000,auth=dj_auth,on_disconnect=on_disconnect)
on_fail = single("./datafruitsdotfm_processed.wav")
source = fallback(track_sensitive=false,
[live_dj,backup_playlist,on_fail])
output.file(%mp3, "/mnt/wat/datafruits-#{title}.mp3", live_dj,
fallible=true, reopen_on_metadata=true)
Only the live harbor input is dumped to the file, the playlists are not.
Does that make sense?
On Fri, Feb 13, 2015 at 3:28 PM, Serg Makles <[email protected]> wrote:
>
> Is it possible to output to a file only a live stream when it is present? I
> use harbor input to stream live sources and it would be great to write to
> file only this input (not playlists from server). Thank you very much!
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
--
-Tony Miller
github.com/mcfiredrill
@freedrull
freedrool.us
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users