[Savonet-users] Fedora RPMS

2020-06-03 Thread Jeff Hyche
Has anyone gotten a lead on some rpm installs for Fedora?


___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Fedora Repo Support

2019-07-06 Thread Jeff Hyche
Thanks for the reply.  To bad there is no repo for fedora.  However I was able 
to port the Centos rpms to Fedora.  The original maintainer of the CentOS 
packages did such a great job with them all I had to get the package 
dependances correct and the liquidsoap srpm compiled with no issues at all.  

On Tue, Jul 02, 2019 at 07:59:00AM -0400, Romain Beauxis wrote:
> Hi Jeff!
> 
> Unfortunately, we do not maintain any distribution-specific package
> anymore. Have you tried installing via opam?
> 
> Also, feel free to drop by in our slack channel where other users might be
> able to help you: http://slack.liquidsoap.info/
> 
> Romain
> 
> Le mar. 18 juin 2019 à 21:26, Jeff Hyche  a écrit :
> 
> > I'm currently running CentOS 7 on my server that I run liquidsoap on.  For
> > several reasons I have to convert this server to Fedora Server 30.  On
> > Centos 7 I'm pulling liquidsoap from the liquidsoap repo at
> > download.opensuse.org, RaBe Liquidsoap Distribution for CentOS 7.  The
> > RPMS on that repo are not compatable with Fedora Server.   Is there a
> > simular repo for Fedora?
> >
> >
> > ___
> > Savonet-users mailing list
> > Savonet-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >


> ___
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users



___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] Fedora Repo Support

2019-06-18 Thread Jeff Hyche
I'm currently running CentOS 7 on my server that I run liquidsoap on.  For 
several reasons I have to convert this server to Fedora Server 30.  On Centos 7 
I'm pulling liquidsoap from the liquidsoap repo at download.opensuse.org, RaBe 
Liquidsoap Distribution for CentOS 7.  The RPMS on that repo are not compatable 
with Fedora Server.   Is there a simular repo for Fedora?


___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] liquidsoap

2018-12-03 Thread Jeff Hyche
On Sat, Dec 01, 2018 at 05:41:38PM -0500, drew Roberts wrote:
> How are you doing this?
> 
> One liquidsoap instance (one .liq file) sending to 4 different servers?
> (Icecast or ?)
> 
> all the best,
> 
> drew
> 
> On Sat, Dec 1, 2018 at 9:31 AM Daniel Kielczewski 
> wrote:
> 

Yes, its simple to do.  You just need to open one output. for each source.  I 
presonally run 2 streams from the same instance. One goes to a upstream 
shoutcast server and the other to a local icecast server.  I've had as many as 
3 streams running from the same instance.   I'm not sure if liquidsoap as a 
actual limit on how many instances you can run in one script but if I was to go 
on server resources alone, I could easily host at least a dozen more streams 
from my server, probably twice as many.  


___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] [savonet/liquidsoap] Switch to music-file at given with fadeout (#658)

2018-11-16 Thread Jeff Hyche
On Thu, Nov 15, 2018 at 02:24:14PM -0800, Pascal wrote:
 
> ```
> # radio is a playlist, news a single source
> radio = fallback(track_sensitive = false, [switch([ ( {0m0s} , news) ]), 
> radio ])
> ```
> This plays the file at the given time and stops the music. **But** it just 
> cuts off the playing track, instead of fading it out. 
> 
> So, is there an option to achieve that the currently playing music is faded 
> off before the news start?
> 

I did some more experimienting this morning with your issue. This might be 
close to what you are looking for.

out.s = fallback(track_sensitive = false, [ switch([({0m-5m} ,news), 
({6m-59m}, radio)]) ])

This will play the news file at the top of the hour after last track from the 
radio stream stops, as long as your radio stream stops in the 0m-5m window.  
The radio stream should pick up at the end of the news stream as long as your 
news stream is longer than the 5 minute window.  Else you will have silence 
till the news window passes.

I'm not sure there is a simple way to achive what you want to do, cut the radio 
stream at exactly the top of the hour and have it fade away.  






___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] [savonet/liquidsoap] Switch to music-file at given with fadeout (#658)

2018-11-15 Thread Jeff Hyche
There are several ways to do what you want to do.  First off all add isn't the 
way to do it.

Here is how I achive what you are trying to do.  I have two playlists like what 
you have there, jingles and master.  Master is a list of about 1200 tracks that 
play over and over.  At the top of the hour a cron job adds a new jingle track 
to the play list. 

s = fallback ([ rotate(weights=[1,1],  [ master, jingles ])

The master is a standard playlist, where the jingles playlist is a 
playlist.once.


On Thu, Nov 15, 2018 at 02:24:14PM -0800, Pascal wrote:
> I'm not sure if this is the right place. But I'll have a go. I am currently 
> setting up a radio station on a raspberry pi using liquidsoap. Most of it 
> works fine, thank you for your great work!
> 
> **What I am trying to do:**
> But there is one thing I have not managed to achieve so far. I would like to 
> play a specific file every hour (news.mp3). 
> 
> **What I have tried so far:**
> ```
> # radio is a playlist, news a single source
> radio = add([radio,switch([({00m0s},news)])])
> ```
> This plays the file at the desired time, but music keeps playing.
> 
> ```
> # radio is a playlist, news a single source
> radio = fallback(track_sensitive = false, [switch([ ( {0m0s} , news) ]), 
> radio ])
> ```
> This plays the file at the given time and stops the music. **But** it just 
> cuts off the playing track, instead of fading it out. 
> 
> So, is there an option to achieve that the currently playing music is faded 
> off before the news start?
> 
> 
> -- 
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> https://github.com/savonet/liquidsoap/issues/658


> ___
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users



___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Where to start

2018-10-29 Thread Jeff Hyche
The examples are good but the documents are pretty good to but they could use 
some work.  I got seperate email on that subject and it is a workin progress.  
It is the syntax examples in the documents that make me think I'm missing some 
information.

(?id:string, ?track_sensitive:bool,
 ?replay_metadata:bool, ?before:float,
 ?transitions:[(source, source)->source],
 ?single:[bool], [((()->bool)*source)])->source

The above example for the switch statement.  Figuring out what some of this 
means is confusing just from looking at it.  I assume the '?' means the entry 
is optional, but where is that actually documented?  There is a lot of 
documents in the liquid soap site.  I may have just missed the 101 page.

On Thu, Oct 25, 2018 at 03:43:58PM +0200, Gilou wrote:
> Hi,
> 
> The docs are obviously a good start, but when I wanted to go further, 2
> sources were very helpful:
> - scripts from others, here on the list, or inside some software like
> libretime¹, azuracast², …
> - source code implemented in liq, like scrips/utils.liq³ and the others
> 
> Cheers,
> 
> Gilles
> 
> 
> ¹ http://libretime.org/
> ² https://www.azuracast.com/
> ³ https://github.com/savonet/liquidsoap/blob/master/scripts/utils.liq


___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] Where to start

2018-10-24 Thread Jeff Hyche
I've been working with liquidsoap now for about 6 months.  I've gotten rather 
good at it but I think I'm missing something.  What I've learned is from the 
liquidsoap documentation and examples which is enough to get the basics down.  
But some of the advanced stuff doesn't work the way I think it should.  This 
leads me to believe my basic understanding is wrong and I'm missing something.  
Is there something else I should read and master before trying to get my head 
around the more advanced concepts of liquidsoap?


___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Reload_mode=watch

2018-10-12 Thread Jeff Hyche
On Fri, Oct 12, 2018 at 09:32:58AM +1000, Damian wrote:
> So I’ve played with this a little more and still can’t get 
> reload_mode=‘watch’ to work. Is there any way I can see errors related to 
> this in the log file?
> 
> > On 10 Oct 2018, at 08:35, Damian  wrote:
> > 
> > Perhaps we are using slightly different systems. I never delete or remove a 
> > playlist. My script randomises the songs in directories and then creates 
> > the playlist. I only ever move, add or remove songs inside those 
> > directories. The ‘watch’ function worked before but it doesn’t anymore and 
> > I suspect that it may be a result of two things
> > 

With the log file set to 3 you shoudl be able to find out everything but is 
mother maiden name.  I'm not so sure about that ether.  Here is a helpful hint 
I use when combing through log files to remove useless data.   In vim enter the 
command

:g//d

That will remove all lines in the file with the search term in it.  I find it 
very useful when digging through big log files like liquidsoap spits out.


___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Reload_mode=watch

2018-10-09 Thread Jeff Hyche
On Tue, Oct 09, 2018 at 04:45:18PM +1000, Damian wrote:
> Hi thanks for the reply. When you say ‘Liquidsoap closes the playlist’ do you 
> mean it stops? 
> 
> In my case, Liquidsoap continues to play files, it simply doesn’t reload the 
> playlist and doesn’t seem to be watching for changes anymore. 
> 
> I actually don’t want to change the playlist. I just want to force the 
> reload. 
> 
> 

What I observed is if you remove a active playlist then luqidsoap will stop 
loading that playlist and close it.  I had several playslist in rotate, one, 
two, and three.  I noticed that if I deleted playlist two then update it, 
liquidsoap would ignore it till it was restarted.  

I don't see why you want to force a playlist to reload if you don't change it 
but you can just touch it with the touch command and it should force a reload. 

touch 


___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] [savonet/liquidsoap] High memory usage if too many connections failed (#541)

2018-07-03 Thread Jeff Hyche
On Mon, Jul 02, 2018 at 08:51:52PM -0400, Nolan Wagner wrote:
> Looks like it. Not sure if this was intentional or not.
> 

Nice to see some traffic though.  


--
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Playlist identfication

2018-04-24 Thread Jeff Hyche
I maybe missing something here. I've not had time to sit down and think
much about this, but how will this tell me what playlist just got
finished playing? 

On Tue, Apr 24, 2018 at 08:49:59AM -0500, Romain Beauxis wrote:
> Ok, I've just pushed a new on_track callback for playlists. It takes two
> argument: ~last:bool, true when the next track is the last in the playlist
> and the actual track's position. If you return true in this function then a
> playlist reload will be immediately queued.
> 
> 2018-04-16 11:22 GMT-05:00 Romain Beauxis <romain.beau...@gmail.com>:
> 
> > Actually, no. It's not a bad idea, I'll look at adding a playlist argument
> > for it.
> >
> > 2018-04-10 15:45 GMT-05:00 Jeff Hyche <jwhy...@warwind.org>:
> >
> >> I have a number of playlists.once that are reloaded using a cronjob.  Is
> >> there a way to tell what play list just got finished playing?  I want to
> >> create a intellegent function using on_done=, but I need a way to tell
> >> what playlist just finished.
> >>
> >> I've been playing with the source.id() but it doesn't seem to be useful
> >> for that.   In fact I really can't figure out what use it has at all
> >>

--
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Any eamples on how to use lists

2018-04-13 Thread Jeff Hyche
Are there any examples of list practices any where?

On Fri, Apr 13, 2018 at 01:42:04PM -0500, Jeff Hyche wrote:
> Can some one recommend a tutoral or even some examples of how to use the
> lists commands?  I'm specfically looking on how to search a list for
> entry.
> 
> --
> 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
> Savonet-users@lists.sourceforge.net
> 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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] Any eamples on how to use lists

2018-04-13 Thread Jeff Hyche
Can some one recommend a tutoral or even some examples of how to use the
lists commands?  I'm specfically looking on how to search a list for
entry.

--
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Precise playlist generation with Liquidsoap

2018-04-12 Thread Jeff Hyche
Yes, that should be the case from what I have observed with my
expeiments with rotation playlists.  Depinding on how you have the mode=
setting on the playlist. 

I mave my master playlist set to random, and if I read this corretly it
should pull a random track out of the playlist everytime it selects one
from that list.

The default, I believe is randomize, where it will load the list and
stuff it.  Then it will start at postion 1 and work its way down.  When
it reaches the end it will start back at 1.  Unless you feed it another
playlist.


On Wed, Apr 11, 2018 at 08:52:15PM +1000, Damian wrote:
> Hi Peter,
> 
> Thanks for your repy.
> 
> With regard to option (b), correct me if I am wrong:
> 
> This mean that if I have 4 directories, when the weighting variable causes 
> Liquidsoap to return to the music1 directory, it will continue playing the 
> randomised order from where it left off (essentially remembering the position 
> in the playlist so as to avoid repeating tracks that may have already been 
> played from that directory) that is until I add or remove content from that 
> directory at which point the playlist will reload and start afresh.
> 
> Damian
> 
> - - -
> I prefer to use encrypted email.
> My public key fingerprint is 77CC 9087 0A92 F55D 75A3  660B 68F2 1FA9 B26E 
> CAC7
> 
> > On 11 Apr 2018, at 6:37 pm, Peter  wrote:
> > 
> > 
> > Hi - you can do this quite easily with Liquidsoap.
> > 
> > (a) if you want to generate playlists from specific directories, you can do 
> > so with a command similar to:
> > 
> > ls -d "$PWD"/* > /path_to/directory_containing_playlists/playlist.m3u  (or 
> > whatever file extension you choose)
> > 
> > and make this run periodically.  However...
> > 
> > 
> > (b) You can dispense with playlists because Liquidsoap can simply take the 
> > contents of a directory as a playlist.  EG this is a line from one of my 
> > config files:
> > 
> > jingles = playlist(reload_mode = "watch", "/radio/jingles/")
> > 
> > You probably don't need to specify what sort of random behavior, because it 
> > defaults to  mode="randomize", which shuffles the play order each time it 
> > is loaded, and plays it in this order for a whole round.
> > 
> > The "watch" command tells it to keep an eye on the directory and reload the 
> > playlist when the contents changes, i.e. when you add news files.
> > 
> > Finally, you can set the weighting between each playlist:
> > 
> > radio = random(weights = [1, 1, 1],[music1, music2, music3])
> > 
> > - pete
> > 
> > 
> > 
> > --
> > 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
> > Savonet-users@lists.sourceforge.net
> > 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
> Savonet-users@lists.sourceforge.net
> 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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] max_listeners?

2018-04-11 Thread Jeff Hyche
As far as I've able to determine there is no way to determine how many
listeners you have on a stream.  Short of pulling it from the server
website with a http reqest.  Normally, you would restrict user access at
the server side and not the source.

I could be wrong.  I've only been working with ls for a month now.

On Wed, Apr 11, 2018 at 01:23:27PM -0500, Peter wrote:
> 
> Is there any way to set max_listeners per mountpoint in Liquidsoap? None of 
> the expressions I’ve tried seem to work.
> 
>  - pete
> 
> 
> ++
> 
> 
> --
> 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
> Savonet-users@lists.sourceforge.net
> 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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] Playlist identfication

2018-04-10 Thread Jeff Hyche
I have a number of playlists.once that are reloaded using a cronjob.  Is
there a way to tell what play list just got finished playing?  I want to
create a intellegent function using on_done=, but I need a way to tell
what playlist just finished.

I've been playing with the source.id() but it doesn't seem to be useful
for that.   In fact I really can't figure out what use it has at all

--
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] Truncate a playlists after played

2018-03-23 Thread Jeff Hyche
Does anyone have a good routine to truncate a playlist after it has been
played?

--
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Watch playlists stop working

2018-03-17 Thread Jeff Hyche
On Sat, Mar 17, 2018 at 04:06:38PM +, Lee Morgan wrote:
> 
> Try the following:
> 
> 1) tested small amount of music on playlists to start with, then check and 
> correct all the music for errors.
> 
> 2) used the following setting: set("tag.encodings",["UTF-8"]) + also, added 
> this to output.icecast: encoding="UTF-8"
> 
> 3) used the following for playlists:
> music=playlist("/home/media/music/music.pls",
> conservative=true,mode="randomize",reload=1,reload_mode="rounds")

I'll take a look at this and see if it's better than what I currently
have.  I've only been working with liquidsoap for better part of a week.

I was actually able to figure out what the issue was with my playlists a
few minutes after I posted.  All the cronjobs update thier playlists by
redirecting the output, >, to the file.   They worked fine.

The ones that where give me issues is when I would update one manually.
I would first remove the old play list then copy over the new one.
Liquidsoap would notice the file was gone and mark the playlist as
failed.  It was just my own bad habits causing the issue. 

Still, I would like to know if there was a way that would keep the
playlists valid even if the file is removed and later replaced.

--
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] Watch playlists stop working

2018-03-16 Thread Jeff Hyche
I have some reloadable playlists set up, I'm using the following code to
do this.

# Dynamic Playlists
# Set up a dynamic reloadable play list for radio drmas
drama = playlist.once(reload_mode = "watch", "drama.lst")
# Set up a dynamic reloadable playlist for specials playlists
splist = playlist.once(reload_mode = "watch", "splay.lst")
# Set up dynamic reloadable playlists for jingle source
jingles = playlist.once(reload_mode= "watch", "tags.lst")

These play lists are reloaded by cron jobs or by hand.  The problem is
they work for a while then just stop working.  I've dug through the log
files and can't find anything amiss there.

--
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users