Re: [RDD] Hello guys

2020-05-05 Thread Wayne Merricks
Hi Andrejs,

I don't have Riv in front of me to check but you use log chains in your
logs to automatically go to the next log/day when it has finished.

This works fine if you can guarantee your timings but if you have any sort
of live shows with presenters who don't pay attention you might find your
midnight change over is all over the place.  This can lead to odd cuts in
songs when things realign for hourly news or whatever.

What I did to fix this was to use the aux log.  I had two events there.
About 10 seconds before midnight I did a make next on the log chain. 5
seconds before the midnight swap I did a fade down and play next which got
the log to swap over on time with a nicer fade rather than a hard cut.

My logs were always over filled to help prevent dead air at this point.

Hope this makes sense,

Wayne

On Mon, May 4, 2020 at 5:39 PM  wrote:

>
> Hello, everybody.
> I'm new to Rivendell.
>
> I would ask to help.
>
> Is it possible to preload log in Rivendell.
>
> How to make, that at night when the log is playing, when 20 seconds are
> left until the end, the next day log is preloaded.
>
>
> --
> Best regards,
> Andrejs Grigorjevs
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Song plays but no VU or sound (Ubu 18+ and equivalent Debian)

2018-12-16 Thread Wayne Merricks
Hi all,

I've been away a while so apologies if this is already solved (I checked,
couldn't find an answer).

With Ubuntu 18.04 I went through the usual source install procedures
everything went pretty well, far less source patching than there used to be
(even QT3 went through without messing).  Just the standard mysql auth
socket annoyances.

Anyway Rivendell "plays", everything appears normal, cae'd logs that its
starting/playing audio etc.  However you get no VU Meter movement or sound.

I'm obviously missing something (it used to be that the playback would
freeze so this is a new bug on me).  Any hints would be appreciated.

Cheers,

Wayne
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RdAirplay Log panel columns

2018-06-23 Thread Wayne Merricks
Hi,

Have a look at the Ubuntu xenial instructions on the wiki.  They should
apply to the latest Debian for qt3.

Regards,

Wayne

On Sat, 23 Jun 2018, 00:46 Gary Hodder,  wrote:

>
> >
> >  I already know that it's on the list, but I wouldn't hold my breath.
> >
> I seem to recall some time back that a version was being worked on for
> qt4, is the light still turned on at the end of that tunnel?
> I'm having no luck compiling qt3 on the latest debian.
>
> Gary.
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RD on Latest Ubuntu 18.04

2018-06-16 Thread Wayne Merricks
If it helps this is the page I found the mysql socket vs password info:

https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04


On Sat, Jun 16, 2018 at 6:02 PM, Chuck  wrote:

>   Thanks so much Hoggins and Wayne!  The pow fix does work and compiled
> to completion, but I am now facing the 'can't connect to database'
> problem, and it looks like the database is not actually created, so I am
> going to have to back up and make the changes Wayne suggested.
>
>   I really, really appreciate the contributions everyone makes to this
> forum.  You guys (and gals) are the best!
>
> --Chuck W.
>
>
> On Sat, 16 Jun 2018 11:12:11 +0100
> Wayne Merricks  wrote:
> > Subject: Re: [RDD] RD on Latest Ubuntu 18.04
> >
> > Hi,
> >
> > The pow10 to pow(10.0 etc fix does indeed work.  Just be aware that you
> > will have to remove the mysql secure password plugin (from mysql
> > shell: uninstall
> > plugin validate_password; ) otherwise you get errors in various places.
> You
> > will also need to change the root user from socket auth to password
> > authorisation otherwise you won't be able to set up the initial database
> > and rivendell database user.  There was also one new dependency for
> source
> > install libssl-dev.
> >
> > Other than that, Riv has come a long way since 2.15.  Everything seems to
> > work without all the patching required back when 16.04 came out so if
> > you're following the old Ubuntu Xenial guide, ignore all of the rivendell
> > source code patches and from the little I've poked around, you don't even
> > need MyISAM any more as the SERVICES table no longer have all the CLOCK
> > fields like it used to.
> >
> > I tested this very briefly with Riv 2.19.2 so your mileage my vary.
> >
> > Regards,
> >
> > Wayne
> >
> > On Wed, Jun 13, 2018 at 7:18 PM, Hoggins!  wrote:
> >
> > > Hey,
> > >
> > > If you have issues with the pow10() function, you can have a look at
> > > this issue : https://github.com/ElvishArtisan/rivendell/issues/210
> > > Basically, before compiling, by replacing pow10() with pow() in
> > > cae/cae_jack.cpp and cae/cae_alsa.cpp like this :
> > >
> > > from :
> > > (jack_default_audio_sample_t)pow10((double)level/2000.0);
> > >
> > > to :
> > > (jack_default_audio_sample_t)pow(10.0,(double)level/2000.0);
> > >
> > > That should do the trick !
> > >
> > > Hoggins!
> > >
> > > Le 13/06/2018 ? 19:34, Chuck a ?crit :
> > > >   I know I have championed the CentOS 7 appliance, but we have a
> > > > situation where it is desirable (more than desirable, actually) to
> > > > install it on a machine running the latest Ubuntu LTS.  Wayne
> Merrick's
> > > > excellent guide for 16.04 does not work with the newest 18.04 LTS
> > > > release.  It stops compiling (with a dozen or more red entries also
> > > > flying through) dead at a "pow" entry error and will not go further.
> > > >
> > > >   Has anybody successfully installed on Ubuntu 18.04? and how did
> you do
> > > > it?
> > > >
> > > >   Thanks!
> > > >
> > > > --Chuck W.
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RD on Latest Ubuntu 18.04

2018-06-16 Thread Wayne Merricks
Hi,

The pow10 to pow(10.0 etc fix does indeed work.  Just be aware that you
will have to remove the mysql secure password plugin (from mysql
shell: uninstall
plugin validate_password; ) otherwise you get errors in various places. You
will also need to change the root user from socket auth to password
authorisation otherwise you won't be able to set up the initial database
and rivendell database user.  There was also one new dependency for source
install libssl-dev.

Other than that, Riv has come a long way since 2.15.  Everything seems to
work without all the patching required back when 16.04 came out so if
you're following the old Ubuntu Xenial guide, ignore all of the rivendell
source code patches and from the little I've poked around, you don't even
need MyISAM any more as the SERVICES table no longer have all the CLOCK
fields like it used to.

I tested this very briefly with Riv 2.19.2 so your mileage my vary.

Regards,

Wayne

On Wed, Jun 13, 2018 at 7:18 PM, Hoggins!  wrote:

> Hey,
>
> If you have issues with the pow10() function, you can have a look at
> this issue : https://github.com/ElvishArtisan/rivendell/issues/210
> Basically, before compiling, by replacing pow10() with pow() in
> cae/cae_jack.cpp and cae/cae_alsa.cpp like this :
>
> from :
> (jack_default_audio_sample_t)pow10((double)level/2000.0);
>
> to :
> (jack_default_audio_sample_t)pow(10.0,(double)level/2000.0);
>
> That should do the trick !
>
> Hoggins!
>
> Le 13/06/2018 à 19:34, Chuck a écrit :
> >   I know I have championed the CentOS 7 appliance, but we have a
> > situation where it is desirable (more than desirable, actually) to
> > install it on a machine running the latest Ubuntu LTS.  Wayne Merrick's
> > excellent guide for 16.04 does not work with the newest 18.04 LTS
> > release.  It stops compiling (with a dozen or more red entries also
> > flying through) dead at a "pow" entry error and will not go further.
> >
> >   Has anybody successfully installed on Ubuntu 18.04? and how did you do
> > it?
> >
> >   Thanks!
> >
> > --Chuck W.
> >
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Cloning a Rivendell hard drive

2017-11-15 Thread Wayne Merricks
Just to chip in.  I recommend using clonezilla.  Just make a cd or bootable
USB with the iso from their website.  Then boot the machine with it and
follow the instructions.

It lets you direct disk copy although it is more useful to image to a
network drive or whatever else you fancy.  I normally use it with SSH but
you can also use Windows shares if you prefer.

Regards,

Wayne

On 15 Nov 2017 21:15, "Cowboy"  wrote:

> On Wednesday 15 November 2017 03:22:05 pm Rob Landry wrote:
> >  the second time, I had to reinstall
> > the boot loader on the cloned drive, after which it too worked.
>
>  If you're using CentOS or RHEL...
>
>  Boot the install CD for a version LOWER than you're running.
>  ie: if you're running 6.8 using a 6.4 CD it works just dandy !
>  Tell it to upgrade. One of the options will be to re-do the boot loader.
>  Take the upgrade/reinstall boot loader option.
>  It will "upgrade" ( do nothing ) in a few seconds, install the boot
>  loader, and you should be good to go.
>
> --
> Cowboy
>
> http://cowboy.cwf1.com
>
> Time is nature's way of making sure that everything doesn't happen at
> once.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Additional Main Log Outputs

2017-10-10 Thread Wayne Merricks
Hi,

In this case I'd just use JACK.  You essentially get a software switcher
with Rivendell on one side and your sound card outs on the other.  You can
then hook them up as required.

I suppose you could also use ALSA directly but im not completely sure how
best to duplicate with that.

Alternatively buy an audio distributer and do it in hardware instead.

Regards,

Wayne

On 11 Oct 2017 01:33, "Aaron Savage"  wrote:

> I am sure this has been asked before but I could not find it in the Wiki
> or the lists I went through.
>
> How can I add additional Main Log Outputs. I only see One and Two.  I have
> a situation where they want 4 seperate outputs for the Main Log.  Possible?
>
> Thanks,
> Aaron
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Have to restart Riv to get sound card

2017-10-07 Thread Wayne Merricks
Is there any chance that pulse audio is stealing your card from Riv?

Also when the card is "missing" does it show up in a play -L?

Finally a restart is generally not the solution.  If the card is there but
Riv isn't working a simple killall caed ripcd rdcatchd should do the same
as a full restart as far as Riv is concerned.

If that doesn't fix things you're more likely looking at hardware oddness
than Riv dying.

Regards,

Wayne

On 6 Oct 2017 16:55, "Tom Van Gorkom"  wrote:

> I just installed CentOS 7 with Riv 2.16 on a new Asus i3 box. It all works
> except after reboots, I have to restart rivendell from the terminal for it
> to recognize the PCIe sound card. This is for another station to learn on
> so they gave me the box with an Asus Virtuoso 100 card installed. It shows
> as selected in Rdalsaconfig. Any ideas?
>
> Also, why in the latest script installs of Riv 2.16 does the menu for
> RDalsa not function on either CentOS 6.9 or 7.x? It will only open from the
> terminal. Has anyone else seen this?
>
>
> Tom Van Gorkom
> Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
> Office: 956-380-8150 <(956)%20380-8150>
> Cell: 865-803-7427 <(865)%20803-7427>
>
> Rio Grande Bible Institute
> 4300 S US Hwy 281
> Edinburg, TX 78539
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Log Locking

2017-06-26 Thread Wayne Merricks
Just to weigh in on the technical side as someone who has both programmed
software that does this and also someone on the help desk that dealt with
other software.

Nothing is perfect.

Things that can break a software lock:

* Computer crash or shutdown as already noted.
* User starts working and goes to lunch/a meeting/whatever
* Database server restarted/crashed (most clients can end up in a weird
state at this point).

Things that seem like a good idea:

* Implement a 30minute time out.
* Allow IT to override the lock outs.
* Allow "more important" staff to override the locks.

Why they're not:
* User goes to lunch etc and lock times out/overridden and then all their
work is lost.  Bonus points if the work lost was by some of the more
awkward/higher ranking staff members.
* You get to watch the arguments for the third one which can be amusing.

Having said all of this, having a lock option of any sort and understanding
the problems it may cause is probably a good choice to have for some sites.

Regards,

Wayne

On 26 Jun 2017 12:31, "Rob Landry" <41001...@interpring.com> wrote:

>
> I went through similar issues with my music scheduling programs. In the
> end, it turned out to be easier for the users to solve this problem by
> communicating among themselves than to craft a technical solution.
> Technical solutions to this sort of problem tend to be messy (e.g. user
> shuts down computer without properly logging out, so log stays locked
> forever).
>
>
> Rob
>
> On Thu, 22 Jun 2017, Patrick wrote:
>
> Today someone was voice tracking and another person went into the log
>> editor accessing the same
>> log. I believe the way the log editor works is the entire log is loaded
>> in and then written back when
>> done, causing any voice tracks recorded during that time to be
>> overwritten.
>>
>> If this is true, would it be a good idea to place some kind of lock on
>> the database when someone
>> is voice tracking that prevents the log editor from opening the same log,
>> at least without some kind
>> of warning message?
>>
>> Patrick
>>
>>
>> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Every second cart playing no audio after 2.16.0 upgrade

2017-06-14 Thread Wayne Merricks
By default Rivendell will alternate between the sound card outputs if you
have more than one set up inside the host settings with rdadmin.

If you go to rdadmin, edit hosts, your pc name, rdairplay.  Are you set to
output to different ports?

Try setting them all to port 0 especially for the second output and see if
that makes a difference.


On 14 Jun 2017 08:50, "Dan Faulknor (Interesting Radio)" <
m...@interestingradio.nz> wrote:

> Brand new Rivendell user here.
>
> I've just upgraded from 2.13.0 (which was working...) to 2.16.0 on Ubuntu
> 16.04 and now every second cart plays, as in the time runs through
> normally, but there's no sound output or indications on the VU meter. It
> did clear up some database errors but at this stage I'd rather have those!
>
> It's not the files because if I swap the cart order around, the other one
> in each pair then doesn't play any sound. It doesn't seem to be time based
> either as I can skip through carts in a log slow or fast and still every
> 2nd one doesn't work.
>
> caed.log shows a "StopPlayback" almost immediately after "Play" on the
> carts that play no sound. Log is below...
>
> Any pointers would be much appreciated.
>
> Cheers,
> Dan
>
> 14/06/2017 - 19:04:57.073 : UnloadPlayback - Card: 0  Stream: 0  Handle: 4
> 14/06/2017 - 19:07:49.272 : LoadPlayback  Card: 0  Stream: 0  Name:
> /var/snd/010122_001.wav  Handle: 6
> 14/06/2017 - 19:07:49.336 : PlaybackPosition - Card: 0  Stream: 0  Pos: 0
> Handle: 6
> 14/06/2017 - 19:07:49.336 : Play - Card: 0  Stream: 0  Handle: 6  Length:
> 207360  Speed: 10  Pitch: 0
> 14/06/2017 - 19:07:50.901 : StopPlayback - Card: 0  Stream: 1  Handle: 5
> 14/06/2017 - 19:07:50.911 : UnloadPlayback - Card: 0  Stream: 1  Handle: 5
>
>
> 14/06/2017 - 19:11:10.294 : LoadPlayback  Card: 0  Stream: 1  Name:
> /var/snd/010142_001.wav  Handle: 7
> 14/06/2017 - 19:11:10.315 : PlaybackPosition - Card: 0  Stream: 1  Pos: 0
> Handle: 7
> 14/06/2017 - 19:11:10.318 : Play - Card: 0  Stream: 1  Handle: 7  Length:
> 231492  Speed: 10  Pitch: 0
> 14/06/2017 - 19:11:16.754 : UnloadPlayback - Card: 0  Stream: 0  Handle: 6
>
>
> 14/06/2017 - 19:14:54.278 : LoadPlayback  Card: 0  Stream: 0  Name:
> /var/snd/010257_001.wav  Handle: 8
> 14/06/2017 - 19:14:54.316 : PlaybackPosition - Card: 0  Stream: 0  Pos:
> 264  Handle: 8
> 14/06/2017 - 19:14:54.318 : Play - Card: 0  Stream: 0  Handle: 8  Length:
> 207696  Speed: 10  Pitch: 0
> 14/06/2017 - 19:15:01.813 : StopPlayback - Card: 0  Stream: 1  Handle: 7
> 14/06/2017 - 19:15:01.814 : UnloadPlayback - Card: 0  Stream: 1  Handle: 7
>
>
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Audio issues

2017-05-24 Thread Wayne Merricks
Hi,

Looking through the guide there seems to be a step missing which would mean
when the daemons are loaded on startup they will be loaded as root and then
jack/pulse/some combination will load as your logged in user.

Jack only allows the same user to use it.  The startup order is also
crucial.  Anyway try this in a terminal

ps -C caed -C jackd -C pulseaudio -o user,group,cmd

This should show you what users those three things are running as.  Caed is
part of Rivendell.

If they're not the same try this:

sudo killall caed ripcd rdcatchd

Then in your app menu find JACK Control (or run qjackctl)

It may already be running near the clock.   Open it up and click Stop and
then start.  Judging by the scripts in the tutorial this should load
Rivendell etc and be working.

What you'll want to do after that (assuming the user problem) is disable
the Rivendell start up script and remove the super user bit from the
Rivendell daemons.

Have a look at the disabling Rivendell section at the top of this page

http://rivendell.tryphon.org/wiki/Debian_6_Configure_Rivendell_2.1.1_with_JACK

Regards,

Wayne

On 24 May 2017 13:31, "Dave Englefield"  wrote:

> Hi
>
>
>
> I’m very new to working with Ubuntu and Rivendell. But we recently managed
> to get everything set up using the following guide:
>
>
>
> https://tecwhisperer.com/install-rivendell-automation-
> part-1-system-preparation/
>
>
>
> All was working fine until yesterday, when I booted the machine up and can
> no longer hear any audio out from the machine. Rivendell also doesn’t allow
> us to play audio. (Play buttons are disabled)
>
>
>
> Having done some googling most people are suggesting we need to go through
> PulseAudio to fix, but if I understand correctly the guide we followed
> bypassed PulseAudio and is instead using Jack?
>
>
>
> In AlsaMixer we can see the soundcard, and auto mute is set to false. We
> also can see that the Headphone fader is all the way to the bottom, but
> everything else is up.
>
>
>
> Any assistance would be fantastic.
>
>
>
> Dave
>
>
>
>
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Running shell commands via RML

2017-04-24 Thread Wayne Merricks
I may be wrong but it could be using whatever user the daemons are running
as but then that doesn't make sense as normally that is root unless you
have changed things.

Unless you haven't logged out/in since adding your user to the dialout
group?

The only other thing I can think of is Debian 8 doing something odd?

On 24 Apr 2017 04:30, "Rob Landry" <41001...@interpring.com> wrote:


If I create a macro with a line such as:

RN /home/scott/relay.sh 5!

... as which user will that command run?

I have just built a new Rivendell machine that uses such a shell command to
fire a relay on a USB relay box that appears as /dev/ttyUSB0.

The comand works flawlessly... if I run it manually from a command line.
Rivendell, however, executes the shell script, but the script won't talk to
the box unless I chmod o+w /dev/ttyUSB0 . I don't want to do that; I'd
rather add the user in question to the dialout group, if I can figure out
what user it is.

Rivendell is running as the user 'scott'. 'scott' is already a member of
the dialout group; therefore, the command must be executing as some other
user, but which one?

This is RD version 2.15.3 running on Debian 8.

The box is a KMTronic Ltd. Model U8CR. I've used them before on Rivendell
systems and have not had this problem. In the past, adding 'scott' to the
dialout group always got the box working. I wonder what's changed.


Rob

-- 
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rmlsend doesn't work?

2017-04-04 Thread Wayne Merricks
Apologies for the stupid question, is the host IP in rdadmin still the dhcp
address?

On 4 Apr 2017 01:15, "Rob Landry" <41001...@interpring.com> wrote:

>
> OK; rmlsend started working after I rebooted the machine.
>
> Now what's happening is that GPI inputs aren't triggering macros.
>
> I have a station that runs baseball broadcasts from a satellite feed. When
> it's time for the game, a macro loads and starts the special game log
> instead of the regular daily log. It then executes three commands to enable
> GPI's:
>
> GE 0 I 1 1 !
> GE 0 I 2 1 !
> GE 0 I 3 1 !
>
> GPI 1 is the cue to run a local station ID;
> GPI 2 is the cue for a local break;
> GPI 3 is end-of-game.
>
> When a closure is received from the satellite, I see it in ripcd.log:
>
> 03/04/2017 - 19:40:59.739 : GPI 0:1 ON
> 03/04/2017 - 19:41:00.240 : GPI 0:1 OFF
>
> ... but the macro associated with the closure never fires. As a temporary
> workaround, I set the macros up on Sound Panel buttons; when the button is
> pressed the macro runs as it is supposed to, but I can't get any GPI to
> fire a macro.
>
> This is RD 2.15.2 running on CentOS 6. I'm using a Measurement Computing
> PCI-PDISO8 GPIO board that seems to work reliably.
>
> I am wondering if I have forgotten something. That's likely, as I am
> running on almost no sleep.
>
> I just spotted some interesting entries in ripcd.log:
>
> 03/04/2017 - 19:17:48.022 : received rml: 'GI 0 I 1 1 50003!' from
> 10.95.3.201
> 03/04/2017 - 19:17:48.031 : cart: 50003
> 03/04/2017 - 19:17:48.032 : received rml: 'GI 0 I 1 0 0!' from 10.95.3.201
> 03/04/2017 - 19:17:48.032 : cart: 0
> 03/04/2017 - 19:17:48.032 : received rml: 'GI 0 I 2 1 50004!' from
> 10.95.3.201
> 03/04/2017 - 19:17:48.032 : cart: 50004
> 03/04/2017 - 19:17:48.032 : received rml: 'GI 0 I 2 0 0!' from 10.95.3.201
> 03/04/2017 - 19:17:48.032 : cart: 0
> 03/04/2017 - 19:17:48.033 : received rml: 'GI 0 I 3 1 50001!' from
> 10.95.3.201
> 03/04/2017 - 19:17:48.033 : cart: 50001
> 03/04/2017 - 19:17:48.033 : received rml: 'GI 0 I 3 0 0!' from 10.95.3.201
> 03/04/2017 - 19:17:48.033 : cart: 0
>
> If I read this right, something is assigningthe macro carts that will run
> with each GPI goes high or low. The cart numbers are the ones I assigned in
> rdadmin, so that checks out.
>
> What strikes me as odd is the address 10.95.3.201. That was this machine's
> DHCP-assigned address when I had it on my bench a month ago. Now it has the
> static address 10.1.10.2, but clearly some part of the software is
> remembering the old address. Could that have anything to do with my problem?
>
>
> Rob
>
> --
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.
>
> On Sun, 2 Apr 2017, Rob Landry wrote:
>
>
>> I have a machine running RD 2.15.2 under CentOS 6. rml commands don't
>> seem to work.
>>
>> if I start rmlsend from a terminal window, put in 'localhost' as the
>> host, and enter any rml command, it will show up in my ripcd log but it
>> will have no effect on rdairplay.
>>
>> I've never encountered this condition before. Weird, huh?
>>
>>
>> Rob
>>
>> --
>> Я там, где ребята толковые,
>> Я там, где плакаты "Вперёд",
>> Где песни рабочие новые
>> Страна трудовая поёт.
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rdxport.cgi problem

2017-03-29 Thread Wayne Merricks
Is it the Rivendell Apache configuration permissions problem?  The default
config is for Apache 2.2 (it might be 2.0) and below but if you're running
2.4 you can't use the allow/deny directives.  Instead you have to use
require directives.

See the top of this section for more info
http://rivendell.tryphon.org/wiki/UbuntuXenial#Setup_Rivendell_for_Apache

Regards,

Wayne

On 29 Mar 2017 17:09, "Matthew Chambers"  wrote:

> I got everything pretty much working on Fedora 25 after installing from
> source.
>
> I, however, can't import any audio Audio Converter Error OK, and I can't
> delete carts either.
>
> I see a string of this error in the /var/log/httpd/error_log
> [Wed Mar 29 05:53:48.853183 2017] [cgi:error] [pid 18186] [client
> 127.0.0.1:53036] End of script output before headers: rdxport.cgi
> [Wed Mar 29 05:54:48.862286 2017] [cgi:error] [pid 18187] [client
> 127.0.0.1:53060] AH01215: (13)Permission denied: exec of
> '/usr/local/libexec/rdxport.cgi' fa
> iled: /usr/local/libexec/rdxport.cgi
>
>
> and in /var/log/httpd/access_log
> 127.0.0.1 - - [29/Mar/2017:10:46:54 -0500] "POST /rd-bin/rdxport.cgi
> HTTP/1.1" 500 127 "-" "-"
>
> I've tried rdxport.cgi owned as me (the rivendell user) and as root,
> selinux is permissive, what else could it be?
>
> Matthew A. Chambers, NR0Q
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Hard drive use music server.

2017-03-29 Thread Wayne Merricks
Hi,

Linux doesn't really care where directories are in terms of physical
drives.  All directories are just a link to some location.

This can be on the same drive, on a different drive, to a completely
different directory on the same drive or even across the network/internet
with things like samba, NFS and sshfs.

So short story is, create an audio directory on your 1tb drive, give it
read and write permissions to the Rivendell group and user.  Then mount it
to /var/snd.

It will be something like sudo mount /path/to/1tb/audio /var/snd

You could also use symlinks, just be aware that in both cases you might
have to add an entry to /etc/fstab to make the 1tb drive mount
automatically on startup.

Regards,

Wayne

On 29 Mar 2017 11:29, "David Helms"  wrote:

A lot to learn still but excited about using Rivendell. Still confused
about how the Rivendell Broadcast Appliance uses the drives. I wanted the
secondary drive on my music server exclusively separate for the audio but I
see where Rivendell sets up all the RD folders on it with just the OS and
Rivendell software on the main drive leaving a ton of unused space on both
drives and no explanation in the wiki. I was setting up as a Network Client
with 320 ghdd as main drive and 1 tbhdd for audio. So advice on setup for
both music server and playout. I have a elementary understanding, we'll
maybe more than that since I have gone from trying to create my own setup
on Mint XFCE to just running the Appliance and excited about moving
forward. Thank you all for your patience and help.

Thank You
David


Sent from ProtonMail mobile



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Log generation

2017-03-20 Thread Wayne Merricks
No there is nothing built in.  You can use rdlogmanager with some command
line options to manually run it.  Add this to cron and you're done.

Be aware that if you have a non-graphical OS rdlogmanager sometimes moans
about not being able to access X.org and refuses to run.

Regards,

Wayne



On 20 Mar 2017 11:54, "James Greenlee"  wrote:

Is there a setting somewhere to automatically create logs for the next day
or does this need to be run manually?  I've found some examples of
scripting added to CRON for scheduling log generation, but before stepping
outside of Rivendell, I wanted to make sure I'm not missing something.

Thanks!

James
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell and Ubuntu.

2017-03-01 Thread Wayne Merricks
Hi,

Rivendell works fine on Ubuntu 14.04 and is really easy with the Tryphon
repos (hasn't been updated since 2.10.3).  If you use 16.04 it has newer
versions of MySQL and has issues.  You must use at least Rivendell version
2.15 which fixed a bunch of MySQL null date issues.

Last time I tried it, there were still some font issues but it was usable.

Search for Rivendell Ubuntu Xenial if you want the wiki page full of
instructions, I need to update some of the page as it refers a lot to 2.13
but broadly speaking you shouldn't have to patch any of the C code before
compiling as this was fixed in 2.15, other than that the source
instructions are the same.

Regards,

Wayne

On Wed, Mar 1, 2017 at 7:34 PM, Lorne Tyndale 
wrote:

> James,
>
> I run Rivendell on Lubuntu 14.04.  For QT3, I pull that from the Tryphon
> repositories, for the rest of Rivendell I compile from source.  I'm
> running my audio through Jack.
>
> For getting things running, the big item is that you have to use a
> startup script that'll create the /var/run/rivendell folder if it isn't
> there.  Ubuntu needs this folder recreated after a bootup.
>
> The other "gotcha" I've run into is that if I happen to be running on
> the 32 bit version of the OS on a 32 bit only processor there are a few
> things that you can do that will cause a crash.  The main one that will
> do this is going into RDAdmin and trying to set up GPIO's will often
> cause a crash.  Note that this same procedure works fine when running
> the 64 bit OS without crashing, it is something about the 32 bit build
> of Ubuntu that has the issue.  In reality this isn't a big issue for me
> - the few 32 bit machines that I have running Rivendell I just know to
> avoid doing things like running rdadmin to set up gpio's on the 32 bit
> machines and such.
>
> Otherwise I have not run into any significant issues.  It just works.
>
> Lorne Tyndale
>
>
> >
> > It's been awhile since I last looked into this, but I seem to recall
> some issues with Rivendell on Ubuntu.  Have the kinks in Rivendell on
> Ubuntu been worked out?  Any gotchas I need to be aware of?
> >
> > Thanks,
> >
> > James
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDXport error

2017-02-22 Thread Wayne Merricks

Hi,

This is probably going to be an Apache'ism.  First can you just use any 
old web browser to view the Rivendell cgi pages:


http://localhost/rd-bin/addcart.html

Next I'm afraid I have to get into "CentOS" guessing games as I'm only 
familiar with Debian based setups.  Ubuntu changed a bunch of stuff 
recently which did things like always give you 403 forbidden errors and 
didn't enable cgi so it would never work.


First off if you have 403s you need to edit the rd-bin.conf file (I 
think this change came in with Apache 2.4+):


On line 23 you will see:


Options ExecCGI FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

Delete these two lines:

Order allow,deny
Allow from all

...and replace with the new way of doing things:

Require all granted

With that done copy re-enable the rd-bin site via apache:

sudo a2ensite rd-bin
sudo service apache2 reload

We also need to enable the CGI module otherwise your audio won't import 
(which might be the problem you're describing):


sudo a2enmod cgi
sudo service apache2 restart

Hope this helps, in theory the steps should be the same under CentOS.

Regards,

Wayne

On 2017-02-22 21:30, Tom Van Gorkom wrote:

Yes, it spits back PIDs for apache running.

Installed Lynx and ran as you suggested. Results:

The requested URL /rdxport.cgi was not found on this server.
Apache/2.2.15 (CentOS) Server at reaiplay1s [or localhost]  Port 80

On my good machine I get the same message back.

In the httpd error log, the only thing that I see that is different
than a good machine is:

SELinux policy enabled; httpd running as context
system_u:system_r:httpd_t:s0
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

in access log: All looked the same as a good machine except where I
ran lynx:  "GET /rdxport.cgi HTTP/1.0"

So if it is not found, what do I change?

rdxport.cgi appears correctly located in /var/www/rd-bin with root
permission. I dont know where to find execcgi. Searches on both good
and the machine in question results in 0 found.

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150  
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Wed, Feb 22, 2017 at 2:32 PM, Kit Raymond Haskins  wrote:


Tom,

Ive noticed the grey out time remaining to be a side-effect with
httpd not having permissions set up, or apache is running as a
different user.

Check and see if the apache service is indeed working.  Something
like
ps -eaf |grep httpd  <- should spit back some PIDs for a running
daemon.

Looking in the /etc/httpd/logs directory with error_log and
access_log have shown me some error messages while the CGI file is
called.  Mine where ExecCGI messages in which ExecCGI wasnt set-up
with the options for the folder that rdXport.cgi lives in ...   Is
rdXport.cgi doing anything when you go to the link with a browser
directly ???

lynx http://localhost/rdxport.cgi [1]  <-  should burp back
"invalid web method" if youre using a web browser.  Or does this
return an error message like "not found" or some permission error
message, of which I cant provide an exact quote to the phrase it
returns.

(Lynx is a CLI based web browser, in case you are not familar with
the command, Im a CLI kinda of guy and do enjoy my  VI, Im even
using Pine to compose this message)

--Kit Haskins


Kit, you were right - the time is greyed out at the bottom of the
library.
So where should I look now?


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org [2]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[3]




Links:
--
[1] http://localhost/rdxport.cgi
[2] mailto:Rivendell-dev@lists.rivendellaudio.org
[3] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[4] mailto:k...@ka0wuc.org


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Problem with log chain

2017-02-22 Thread Wayne Merricks

Hi,

As a quick note, don't use timed events for midnight and you'll be 
fine, it works most of the time, but occasionally timing glitches mean 
it doesn't.


You can use cron as mentioned however Riv will work if you use Aux logs 
and no hard midnight timings.


I do this:

Main Log:

-- Hard Timed make next for 23:59:50 just before the log chain

Aux Log:

-- Hard Timed Macro Fade down over 5 seconds and then play next for 
23:59:55


This achieves the following:

23:59:50 all excess dumped from the main log leaving the currently 
playing event and the log chain

23:59:55 Aux kicks in and fades down the main log
00:00:00 Aux "plays" the log chain via play next

I've used this for the past 4 years without any issues.  I also use Aux 
for top/bottom of the hour fades in a similar way, just remember to use 
a sleep macro the same length as your fade or everything instantly 
executes:


e.g.

Fade 3000 (3 second fade)
Sleep 3000 (3 second wait)
Play Next

Regards,

Wayne


On 2017-02-22 16:41, Tom Van Gorkom wrote:

Ive been using the auto generated log chain every day for a year now
and it has never given trouble. The only thing I do is to not worry
about being exact. I have a timed make next event that pulls short
songs (less than 3 min) with a schedule code at 23:57:40 so it bumps
anything extra in the hour. When it finishes, the next days log 
loads.

Its always a little after midnight but not enough to worry about. I
have bottom of the hour and top of the hour IDs that are timed make
next that also gives a bit of time correction throughout the day when
we are not live so its not been a problem.

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150  
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Wed, Feb 22, 2017 at 8:21 AM, Patrick  
wrote:



Brilliant!

Thank you.

—
Patrick
patr...@scnv.net [1]

> On Feb 22, 2017, at 2:13 AM, ermina 
wrote:
>
> Hi,
>
> i dont use the log chain event. I seem to recall was bugged when
i started putting rivendell into production years ago, so i went for
a simple cronjob executed at 00:00 every day.
> -- begin script
> #!/bin/sh
> NOWDATE=$(date +%Y%m%d)
> rmlsend --to-host=rd.airplay.machine.ip LL 1 $NOWDATE!
> exit 0
> -- end script
> The log template name for my service is %Y%m%d, so you might need
to adapt but see the idea.
> My 00h to 01h clocks usually start with a "make next" event to
ditch all potentially remaining (overscheduled) events of the
previous log.
>
> cheers,
>
> . e
>
>
> On 02/20/2017 06:55 PM, Patrick wrote:
>> Im having an intermittent problem with chaining to the next days
log. Sometimes it works, sometimes it doesnt.
>>
>> Last night it just started the February 19 log over again.
>>
>> I think this may have something to do with a timed event at the
beginning of the log happening before the log clears
>> and hits the chain.
>>
>> My first question, is it possible to make the automatic log
chain a timed event so it dumps everything out at midnight?
>>
>> Heres what my /var/log/messages looks like from last night:
>>
>> Feb 19 23:58:53 rdhost caed: Play - 1
>> Feb 19 23:58:53 rdhost rdairplay: started audio cart: Line:
818  Cart: 11261  Cut: 1 Pos: 0  Card: 0  Stream: 0  Port: 0
>> Feb 19 23:58:53 rdhost caed: Play - Card: 0  Stream: 0 
Handle: 22  Length: 223874  Speed: 10  Pitch: 0
>> Feb 19 23:58:54 rdhost rdairplay: finished event: Line: 817 
Cart: 11187  Cut: 1 Card: 0  Stream: 1  Port: 1
>> Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0  Stream:
1  Handle: 21
>> Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0  Stream:
1  Handle: 21
>> Feb 19 23:58:54 rdhost caed: UnloadPlayback - Card: 0  Stream:
1  Handle: 21
>> Feb 20 00:02:36 rdhost caed: LoadPlayback  Card: 0  Stream:
1  Name: /var/snd/011232_001.wav  Handle: 23
>> Feb 20 00:02:36 rdhost rdairplay: started audio cart: Line:
819  Cart: 11232  Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 1
>> Feb 20 00:02:36 rdhost caed: PlaybackPosition - Card: 0 
Stream: 1  Pos: 168  Handle: 23
>> Feb 20 00:02:36 rdhost caed: Play - 1
>> Feb 20 00:02:36 rdhost caed: Play - Card: 0  Stream: 1 
Handle: 23  Length: 227210  Speed: 10  Pitch: 0
>> Feb 20 00:02:37 rdhost rdairplay: finished event: Line: 818 
Cart: 11261  Cut: 1 Card: 0  Stream: 0  Port: 0
>> Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0  Stream:
0  Handle: 22
>> Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0  Stream:
0  Handle: 22
>> Feb 20 00:02:37 rdhost caed: UnloadPlayback - Card: 0  Stream:
0  Handle: 22
>> Feb 20 00:06:15 rdhost caed: LoadPlayback  Card: 0  Stream:
0  Name: /var/snd/060101_002.wav  Handle: 24
>> Feb 20 00:06:15 rdhost caed: PlaybackPosition - Card: 0 
Stream: 0  Pos: 120  Handle: 24
>> Feb 20 00:06:15 rdhost caed: Play - 1
>> Feb 20 00:06:15 rdhost rdairplay: started audio cart: Line: 2 
Cart: 60101  Cut: 2 Pos: 0  Card: 0  Stream: 0  Port: 0

Re: [RDD] RDXport error

2017-02-16 Thread Wayne Merricks

Hi,

Sometimes also happens when the apache config hasn't been implemented 
properly.


Only usually on a source install mind.

Try copying a working rivendell apache conf from another machine.

Under Debian/Ubuntu the conf looks a bit like this, remember to change 
/usr/lib/cgi-bin to wherever the rivendell cgi is located:



  Options ExecCGI FollowSymLinks
  AllowOverride None
  Require all granted
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler default-handler
  
  
SetHandler cgi-script
  
  
SetHandler cgi-script
  
  
SetHandler cgi-script
  

ScriptAlias /rd-bin/ "/usr/lib/cgi-bin/rivendell/"


On 16/02/17 04:20, Kit Raymond Haskins wrote:
Sorry for the add-on here.  With a partial install, might even see if 
the HTTPD server ie: apache2 is installed, running, alive:


ps -eaf |grep httpd

Again thinking here with RDXport errors, could be the apache server 
isn't playing nice in the sand box, being a possible partial install 
... Guessing here ...


--- 

Thru the Ethernet, past the Gateway, off the modem pool, nothing but 
NET .

k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...

On Wed, 15 Feb 2017, Kit Raymond Haskins wrote:


Might I suggest a quick peek at either the

/etc/httpd/logs/error_log

 or even the

/etc/httpd/logs/access_log


And see if the "rdXport returned an error" could have some detail 
such as CGIEXEC is turned off, or maybe more specific errors in 
permissions of the rdxport.cgi file ...


Another symptom might be also be noticed is if you open up rdlibrary 
and look at the button center and observe if the "Free: " box shows a 
valid time left for storage.  Such as "3056h:41m"  or is this grey'ed 
out and blank ???


I've noticed this sometimes while building my boxes, also related to 
permissions as well ...


--- 

Thru the Ethernet, past the Gateway, off the modem pool, nothing but 
NET .

k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...

On Tue, 14 Feb 2017, Tom Van Gorkom wrote:

Yes, /var/snd is mounted locally.. The library populates and I can 
play any
of it from the server on the local machine but it does not show the 
audio

wave form in Edit and another symptom is that only way to configure
rdalsaconfig is from the terminal. The app in the menu only asks for 
the PW

and then does nothing Something must be missing still.

The problem is that this is a brand new lenovo i5 computer and the 
only way
to get the DVD appliance to load is to use legacy boot on the DVD 
but then
it will not boot off the hard drive when loaded. When I use UEFI on 
the DVD
it jumps past the Rivendell selection menu and doesn't seem to 
completely
install Rivendell but will reboot. Do you have any tricks to get the 
hard

drive to boot after loading it? I would much rather use the appliance
install to be sure it all is there and works.

Thanks,

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Tue, Feb 14, 2017 at 3:40 PM, Robert Jeffares 


wrote:

Have you created a local /var/snd and exported /var/snd from the 
server

then mounted it locally.

You must have changed localhost in /etc/rd.conf to the address of your
server

regards


Robert

On 15/02/17 10:14, Tom Van Gorkom wrote:

Riv 2.15.2 on CentOS 6.8, client on server.

I had to download and install Rivendell from the repository because of
BIOS issues preventing the DVD appliance from working right so have 
had to
install  missing components for audio and codecs. It now sees the 
server
and plays but gives an error when I click on Edit Markers in the 
library:


 "Unable to download peak data, error was: 'RDXport service 
returned an

error'".

What might I still be missing? Now that I have formated and 
successfully
installed CentOS and it reboots, might it work to install Rivendell 
from

the DVD now?

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150 <(956)%20380-8150>
Cell: 865-803-7427 <(865)%20803-7427>

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539


___
Rivendell-dev mailing 
listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



--
*Communication Consultants*
64 Warner Park Avenue

Laingholm

Auckland 0604

09 8176358

0221693124

06 650 6087

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev







___
Rivendell-dev mailing list

Re: [RDD] Can’t import mp3 after update

2017-02-16 Thread Wayne Merricks
Can you do a yum install libmp3lame? (I'm not sure on the package names 
outside of Debian).



On 16/02/17 08:45, Pascal Vanbel - Radio Universitaire Namuroise - RUN 
88.1 wrote:

Hello,


Last week, I did  a ‘yum update’ to update our computers to the latest 
versions.


Since RD refuses to import mp3


rdcatchd: Import error: Unsupported Format, id: 5


After some research, it seems that the mp3 format is no longer in the 
ressources


SUPPORTED AUDIO DRIVERS
  AudioScience HPI [4.14.03]
  JACK Audio Connection Kit [Generic]
  Advanced Linux Sound Architecture (ALSA) [1.0.28]

SUPPORTED IMPORT FORMATS
Free Lossless Audio Codec (FLAC)
OggVorbis
PCM16 Linear
PCM24 Linear

SUPPORTED EXPORT FORMATS
Free Lossless Audio Codec (FLAC)
MPEG Layer 2
OggVorbis
PCM16 Linear
PCM24 Linear

AUDIO ADAPTERS
  Card 0: AudioScience 6685 [1]
  Driver: AudioScience HPI
  Inputs: 8
  Outputs: 8

  Card 1: Not present

  Card 2: Not present

  Card 3: Not present

  Card 4: Not present

  Card 5: Not present

  Card 6: Not present

  Card 7: Not present



twolame is still present

Does the same on both the computers

Computers are running CentOS 7 and were installed according to the new 
method published on this ML few month ago which was flaw less till 
last week.


Import in Wav in the same directories works perfectly so I convert my 
mp3 in wav before but it fails many of my automated tasks :-/


Bonne journée :-)

PVB
RUN 88.1


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Insert  note marker with RML

2017-01-26 Thread Wayne Merricks
Not as far as I know, you can use the label command to put messages into 
the grey box top right of airplay if that is any use (LB Hello for no 
colours or if you want a nice red warning LC Red Stop breaking things).



On 26/01/17 00:36, Patrick wrote:

Is it possible to insert meta events into the log machine using the PX or other 
RML command?

I want to be able to add a note marker with a note.

Patrick


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Interesting USB Serial Issue

2017-01-26 Thread Wayne Merricks

Hi,

Probably not related but I had a similar issue when using a real serial 
port.  It would be fine for a few days and then would stop receiving via 
Riv.


In the end I stopped using Rivendell as a go between and used screen 
combined with some shell scripts to relay to Riv via rmlsend.  It has 
been reliable ever since.


Its worth a try either way although it may not make a difference:

http://rivendell.tryphon.org/wiki/Switchers#The_macros_didn.27t_work


On 26/01/17 00:32, Steve Varholy wrote:

Ouch. That's not good.

Sent from my iPhone


On Jan 25, 2017, at 7:25 PM, Cowboy  wrote:


On Wednesday 25 January 2017 06:26:14 pm Steve Varholy wrote:
Any thoughts? Is is a bug in the USB driver perhaps?

It's a bug in the USB BIOS implementation.

I searched for weeks for a way to reset the bus without
re-loading BIOS.
I found none.

--
Cowboy

http://cowboy.cwf1.com

"The four building blocks of the universe are fire, water, gravel and
vinyl."
-- Dave Barry
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Renamed group won't show in library.

2017-01-24 Thread Wayne Merricks

The numbers thing, don't worry about it, that is the way Rivendell works.

The only other thing I can think of is that the GROUPS are ok but the 
CARTS themselves are not renamed properly.


In the CART table there is a GROUP_NAME, this needs to match the group 
you renamed.



On 23/01/17 23:27, Gregory Avedissian wrote:

Wayne,

Thanks. I looked at everything in GROUPS and AUDIO_PERMS and it all looks
right. The other thing the user did was import the carts she wanted into
BEDS instead of STINGS. Those carts have cart numbers that belong in
STINGS. When I checked those carts in the CART table, they all show up as
being in STINGS, but Rivendell sees them in BEDS.

I'm wondering if restarting the Rivendell daemons on the server will fix
the problem. I'll try that next unless someone has a better idea.

Greg


On 01/23/2017 11:33 AM, Wayne Merricks wrote:

There are two tables that work together in MySQL to get the groups to show
up.

First backup your database!

The first table you have is GROUPS, the important thing is that the NAME
matches exactly what you're expecting (e.g. STINGS and not Stings).

Next you have a table called AUDIO_PERMS.  The GROUP_NAME field here has
to be exactly the same as the NAME field in the GROUPS table.

Also next to the group make sure you have a SERVICE_NAME that matches the
services you want to use the group with (default is Production but you
might have changed this).

If there are multiple services, create one row for each service but change
the SERVICE_NAME each time.

There are a few rename bugs in Riv when all you're doing is changing case
that seems to get it confused.


On 22/01/17 20:12, Gregory Avedissian wrote:

Someone tried changing the name and description of the STINGS group.
First, she changed it to Seasonal, and then she noticed that the other
groups were all in upper case, so she changed it to SEASONAL. When she
went to import a cart into the library, neither STINGS nor SEASONAL showed
up in the groups drop-down box. That's the case for the Group box in the
main library window and the Group box in the Add Cart window.

I changed the name and description back to STINGS and Short stingers, but
it still doesn't show. All of this was done on the client machine. The
library and database are on the server. Restarting the rivendell daemons
on the client did not help. The server is busy broadcasting, so I didn't
try restarting the daemons there.

FWIW, it doesn't show on the server, either. If we go into Admin, Manage
Groups, STINGS is there. The cart range does not conflict with any other
groups and was not changed. I did notice that there was no active service,
so I moved Production over to active. (It's our only service).

We're using rivendell-2.10.3-1 on debian wheezy.

What do I have to do to get STINGS to show up again? Thanks.

Greg
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Renamed group won't show in library.

2017-01-23 Thread Wayne Merricks
There are two tables that work together in MySQL to get the groups to 
show up.


First backup your database!

The first table you have is GROUPS, the important thing is that the NAME 
matches exactly what you're expecting (e.g. STINGS and not Stings).


Next you have a table called AUDIO_PERMS.  The GROUP_NAME field here has 
to be exactly the same as the NAME field in the GROUPS table.


Also next to the group make sure you have a SERVICE_NAME that matches 
the services you want to use the group with (default is Production but 
you might have changed this).


If there are multiple services, create one row for each service but 
change the SERVICE_NAME each time.


There are a few rename bugs in Riv when all you're doing is changing 
case that seems to get it confused.



On 22/01/17 20:12, Gregory Avedissian wrote:

Someone tried changing the name and description of the STINGS group.
First, she changed it to Seasonal, and then she noticed that the other
groups were all in upper case, so she changed it to SEASONAL. When she
went to import a cart into the library, neither STINGS nor SEASONAL showed
up in the groups drop-down box. That's the case for the Group box in the
main library window and the Group box in the Add Cart window.

I changed the name and description back to STINGS and Short stingers, but
it still doesn't show. All of this was done on the client machine. The
library and database are on the server. Restarting the rivendell daemons
on the client did not help. The server is busy broadcasting, so I didn't
try restarting the daemons there.

FWIW, it doesn't show on the server, either. If we go into Admin, Manage
Groups, STINGS is there. The cart range does not conflict with any other
groups and was not changed. I did notice that there was no active service,
so I moved Production over to active. (It's our only service).

We're using rivendell-2.10.3-1 on debian wheezy.

What do I have to do to get STINGS to show up again? Thanks.

Greg
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] PI GPIO's?

2017-01-18 Thread Wayne Merricks
You can't use it directly as there is no Riv driver but you can use 
standard stuff like wiringpi (and other python interfaces) and pass that 
to riv with rmlsend.


On 2017-01-18 21:05, Lorne Tyndale wrote:

Hi,

Just wondering, for those of you who have run Rivendell on a PI, has
anyone tried using the GPIO's on the PI with Rivendell?  Does it 
work?





___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] caed - jackd connection

2017-01-18 Thread Wayne Merricks

rivendell_0

with ports like:

playout_0L
playout_0R
playout_1L etc

then on the record side ports:

record_0L etc

On 2017-01-18 21:01, drew Roberts wrote:

Emir,

On Wed, Jan 18, 2017 at 3:59 PM, Emir Yapıcı <emiryap...@gmail.com
[28]> wrote:


Hello Wayne

I dont know why but in Raspbian, rivendell init service is not
running on startup. So i always have to mkdir /var/run/rivendell or
start service manually...

Drew

I disabled the alsa outputs from rdalsaconfig and not starting jack
via rdadmin. First starting jack via qjackctl and then running
daemons.


Great. when you do this, how does riv show in the jack graph? riv0,
riv1, something else?

all the best,

drew 


EMIR YAPICI

On Wed, Jan 18, 2017 at 10:46 PM, Wayne Merricks
<waynemerri...@thevoiceasia.com [25]> wrote:


As an alternative run QJackCtl if you have a GUI and set up the
start up scripts that way (it also allows you to use patch bay to
autoconnect jamin, Riv to system and whatever else you might
use).  You still need to chmod -s the Riv daemons however I dont
suggest deleting the Rivendell init service because then on each
boot you have to create /var/run/rivendell and chown it as the
super user (some distros dont delete the contents of /var/run but
Debian/Ubuntu does).

The easiest thing to do is kill the daemons in your jack script
pre-start and in post start load the daemons up again.  This is
as easy as:

#pre-start
killall caed ripcd rdcatchd

#post-start
/usr/local/bin/caed&
/usr/local/bin/ripcd&
/usr/local/bin/rdcatchd&

Regards,

Wayne

On 2017-01-18 20:34, Emir Yapıcı wrote:


Hi Drew!

Ive tried stereotool on rpi2 but not so efficient because of
performance issues, now using Jamin on rpi3.

First step:

sudo chmod -s /usr/local/bin/caed
sudo chmod -s /usr/local/bin/ripcd
sudo chmod -s /usr/local/bin/rdcatchd

(Thanks Lorne)

You will do this just once.

And then create a script for jack execute After Startup;

sudo mkdir -m 770 /var/run/rivendell
sudo chown -R pi:rivendell /var/run/rivendell
caed

rdcatchd

ripcd

sleep 2

exit 0

You can use this only if rivendell daemons are not running on
startup.

EMIR YAPICI

On Wed, Jan 18, 2017 at 10:08 PM, drew Roberts
<zotz...@gmail.com [11]
[11]> wrote:


Emir,

On Sun, Jan 15, 2017 at 3:51 PM, Emir Yapıcı
<emiryap...@gmail.com [8]
[8]> wrote:


Thats now working by combining your and my method (for
Raspbian).


Can you document your full procedure that ended up working, I
am
actually trying to get this to work now so that I can try
stereo
tool with Riv on the Pi:

 https://www.youtube.com/watch?v=tVCw59m_DnA [9] [9]

all the best,

drew


Thanks Lorne!

EMIR YAPICI

On Sun, Jan 15, 2017 at 10:06 PM, Lorne Tyndale
<ltynd...@tyndaleweb.com [7] [7]> wrote:


Hi,

Not sure about Raspbian, but for Ubuntu after I compile
from
source I
usually have to kill the Rivendell daemons and then do a:

sudo chmod -s /usr/local/bin/caed /usr/local/bin/ripcd
/usr/local/bin/rdcatchd

After that start up Jackd, start up your daemons, and it
all
runs under
the same user.

Lorne Tyndale

>
>
> Hi!
>
> Ive made it (running jack from rdadmin) but runs as
root, not
as rd user...
>
> 15 Oca 2017 22:43 tarihinde "drew Roberts"
<zotz...@gmail.com [1]
[1]> yazdı:
>
> Hey Emir,
>
> On Sun, Jan 15, 2017 at 2:16 PM, Emir Yapıcı
<emiryap...@gmail.com [2] [2]> wrote:
>
> > Hello everyone!
> >
> > I have a problem with jackd connection. JACK can
connect
the clients with
> > same user id who started the JACK server. So caed and
JACK
cannot
> > communicate in this situation.
> > I can do this connection in Ubuntu by changing the
owner of
> > "/var/run/rivendell" and restarting daemons.
> > But this method isnt effective in Raspbian. I tried
starting JACK via
> > Rivendell but the owner of the process is "root"
again. How
can i change
> > the owner of Rivendell daemons then?
> >
>
> A couple of thoughts:
>
> 1. Set up rivendell to start jack in rdadmin. Then jack
will
run as the
> proper user.
>
> 2. Setup a a script for root to run. Then set up sudo
to
allow the rd user
> to run just that script. Let that script launch jack
and any
other jack
> apps that you want in your chain.
>
> Hope this gives you some ideas.
>
> I would really like to see the user that caed and
friends run
as be a
> config option.
>
> >
> >
> > *Best Regards*
> > *Emir YAPICI*
> >
> >
> >
> > all the best,
>
> drew
> --
> Bahamain Or Nuttin - http://www.bahamianornuttin.com
[3] [3]
> <http://www.bahamianornuttin.com/ [4]
[4]>___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org [5] [5]
>






http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

[

Re: [RDD] caed - jackd connection

2017-01-18 Thread Wayne Merricks
As an alternative run QJackCtl if you have a GUI and set up the start 
up scripts that way (it also allows you to use patch bay to autoconnect 
jamin, Riv to system and whatever else you might use).  You still need 
to chmod -s the Riv daemons however I don't suggest deleting the 
Rivendell init service because then on each boot you have to create 
/var/run/rivendell and chown it as the super user (some distros don't 
delete the contents of /var/run but Debian/Ubuntu does).


The easiest thing to do is kill the daemons in your jack script 
pre-start and in post start load the daemons up again.  This is as easy 
as:


#pre-start
killall caed ripcd rdcatchd

#post-start
/usr/local/bin/caed&
/usr/local/bin/ripcd&
/usr/local/bin/rdcatchd&

Regards,

Wayne



On 2017-01-18 20:34, Emir Yapıcı wrote:

Hi Drew!

Ive tried stereotool on rpi2 but not so efficient because of
performance issues, now using Jamin on rpi3.

First step:

sudo chmod -s /usr/local/bin/caed
sudo chmod -s /usr/local/bin/ripcd
sudo chmod -s /usr/local/bin/rdcatchd

(Thanks Lorne)

You will do this just once.

And then create a script for jack execute After Startup;

sudo mkdir -m 770 /var/run/rivendell
sudo chown -R pi:rivendell /var/run/rivendell
caed

rdcatchd

ripcd

sleep 2

exit 0

You can use this only if rivendell daemons are not running on 
startup.


EMIR YAPICI

On Wed, Jan 18, 2017 at 10:08 PM, drew Roberts  wrote:


Emir,

On Sun, Jan 15, 2017 at 3:51 PM, Emir Yapıcı  wrote:


Thats now working by combining your and my method (for Raspbian).


Can you document your full procedure that ended up working, I am
actually trying to get this to work now so that I can try stereo
tool with Riv on the Pi:

 https://www.youtube.com/watch?v=tVCw59m_DnA [9]

all the best,

drew


Thanks Lorne!

EMIR YAPICI

On Sun, Jan 15, 2017 at 10:06 PM, Lorne Tyndale
 wrote:


Hi,

Not sure about Raspbian, but for Ubuntu after I compile from
source I
usually have to kill the Rivendell daemons and then do a:

sudo chmod -s /usr/local/bin/caed /usr/local/bin/ripcd
/usr/local/bin/rdcatchd

After that start up Jackd, start up your daemons, and it all
runs under
the same user.

Lorne Tyndale

>
>
> Hi!
>
> Ive made it (running jack from rdadmin) but runs as root, not
as rd user...
>
> 15 Oca 2017 22:43 tarihinde "drew Roberts"  yazdı:
>
> Hey Emir,
>
> On Sun, Jan 15, 2017 at 2:16 PM, Emir Yapıcı
 wrote:
>
> > Hello everyone!
> >
> > I have a problem with jackd connection. JACK can connect
the clients with
> > same user id who started the JACK server. So caed and JACK
cannot
> > communicate in this situation.
> > I can do this connection in Ubuntu by changing the owner of
> > "/var/run/rivendell" and restarting daemons.
> > But this method isnt effective in Raspbian. I tried
starting JACK via
> > Rivendell but the owner of the process is "root" again. How
can i change
> > the owner of Rivendell daemons then?
> >
>
> A couple of thoughts:
>
> 1. Set up rivendell to start jack in rdadmin. Then jack will
run as the
> proper user.
>
> 2. Setup a a script for root to run. Then set up sudo to
allow the rd user
> to run just that script. Let that script launch jack and any
other jack
> apps that you want in your chain.
>
> Hope this gives you some ideas.
>
> I would really like to see the user that caed and friends run
as be a
> config option.
>
> >
> >
> > *Best Regards*
> > *Emir YAPICI*
> >
> >
> >
> > all the best,
>
> drew
> --
> Bahamain Or Nuttin - http://www.bahamianornuttin.com [3]
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org [5]
>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[6]


--

Bahamain Or Nuttin - http://www.bahamianornuttin.com [10]




Links:
--
[1] mailto:zotz...@gmail.com
[2] mailto:emiryap...@gmail.com
[3] http://www.bahamianornuttin.com
[4] http://www.bahamianornuttin.com/
[5] mailto:Rivendell-dev@lists.rivendellaudio.org
[6] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[7] mailto:ltynd...@tyndaleweb.com
[8] mailto:emiryap...@gmail.com
[9] https://www.youtube.com/watch?v=tVCw59m_DnA
[10] http://www.bahamianornuttin.com/
[11] mailto:zotz...@gmail.com


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Macro Help

2017-01-18 Thread Wayne Merricks
Just to combine this with Kyle's advice what you're after is either "\ 
" to denote spaces or the quotes like Kyle suggests e.g.


rmlsend "PP S1 1 1!"

or assuming I get my delimiters right:

rmlsend PP\ S1\ 1\ 1\!

the \ means this is a space in the current argument and not a 
new argument.  But yeah Kyle's is easier to read by far.


You should then be able to look at syslog to see if Riv picks up the 
RML command.


On 2017-01-18 20:25, Steve Varholy wrote:

He's right. I used "/" as the delimiter. I also screwed up the S1

However, it still just responds with the help listing.

[rd@rdhost ~]$ rmlsend PP S1 1 1 !

 rmlsend [--to-host=] [--to-port=]
[|--from-file=]

 Where  is the name or IP address of the host to send the
command to
 (default = localhost),  is the UDP port to to send the message
to
 (default = 5859),  is any valid RML code and  is the name
of a file
 containing valid RML code. If '-' is specified as , then
rmlsend will
 read the list of RML commands to be sent from standard input.

 When specifying RML code on the command line, it will likely be
necessary
 to escape any special characters (such as spaces or bang [!]
characters)
 to protect them from the shell.

 Examples:
 rmlsend LL TestLog!
 Send the RML command 'LL 1 TestLog!' to the local host.

 rmlsend --to-host=host.mydomain.com --to-port=5858
--from-file=test.rml
 Send the RML commands in 'test.rml' to the system at
'host.mydomain.com' at
 port 5858.

STEVE VARHOLY
 President and General Manager

The Historic Barringer Building

1338 Main Street - Suite 202

Columbia, South Carolina 29201

Office: (803) 753-7260 x 251

Direct: (803) 404-5535

Cell: (703) 585-2101

A Service of the Independent Media Foundation
-

FROM: rivendell-dev-boun...@lists.rivendellaudio.org
<rivendell-dev-boun...@lists.rivendellaudio.org> on behalf of Cowboy
<c...@cwf1.com>
 SENT: Wednesday, January 18, 2017 3:11:46 PM
 CC: rivendell-dev@lists.rivendellaudio.org
 SUBJECT: Re: [RDD] Macro Help

On Wed, 18 Jan 2017 15:00:05 +
 Wayne Merricks <waynemerri...@thevoiceasia.com> wrote:

 > The is a command line problem,

 No.
 It's a command line solution.

 You need a way to tell the system that a space is not a delimeter,
 as it always is, so the is the "escape" character.
 It tells the system that the very next single character is to be
 taken literally, and not by its normal meaning.
 The same "escape sequence" applies to all special characters that
 have dedicated meanings.
 *, ,the itself, etc.

 --
 Cowboy

 http://cowboy.cwf1.com [1]

 The trouble with heart disease is that the first symptom is often
hard
 to deal with: death.
 -- Michael Phelps

 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev [2]


Links:
--
[1] http://cowboy.cwf1.com
[2] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Macro Help

2017-01-18 Thread Wayne Merricks

Hi,


rmlsend is a command line utility to run macros on any Rivendell 
computer (--to-host to change machines or leave it for localhost), if 
you are using macro carts you don't need rmlsend.



The \ is a command line problem, you can't use ! in most linux shells as 
it is a special character so \! means this is a literal ! and not a 
special !.



On 18/01/17 14:33, Steve Varholy wrote:


Wayne:


Thank you.


In the macro cart must I prepend rmlsend to the macro command as per 
your example below?



rmlsend PP S1 1 1\!



What does the \ do? I didn't see that in the txt file in /docs.


*Steve Varholy*
President and General Manager

1478183502168_WXRY_Full_993_300x145.png


The Historic Barringer Building

1338 Main Street - Suite 202

Columbia, South Carolina 29201

Office: (803) 753-7260 x 251

Direct: (803) 404-5535

Cell: (703) 585-2101


A Service of the Independent Media Foundation


*From:* rivendell-dev-boun...@lists.rivendellaudio.org 
<rivendell-dev-boun...@lists.rivendellaudio.org> on behalf of Wayne 
Merricks <waynemerri...@thevoiceasia.com>

*Sent:* Wednesday, January 18, 2017 7:34:35 AM
*To:* rivendell-dev@lists.rivendellaudio.org
*Subject:* Re: [RDD] Macro Help

Hi,


You might be getting hit by case sensitivity.  Try this:


rmlsend PP S1 1 1\!


The broadcast tools stuff tends to have dip switches where you can 
change the modes, you might have to change it to pull down or pull up 
(basically the reverse of what it is now).



There are no notes that say you need to do anything special for the 
GPI-16 in the switchers.txt file so it should just work.


https://github.com/ElvishArtisan/rivendell/blob/master/docs/SWITCHERS.txt
rivendell/SWITCHERS.txt at master · ElvishArtisan ... 
<https://github.com/ElvishArtisan/rivendell/blob/master/docs/SWITCHERS.txt>

github.com
rivendell - A full-featured radio automation system targeted for use 
in professional broadcast environments





Regards,

Wayne

On 18/01/17 04:18, Steve Varholy wrote:


I think I've fallen into one of the gaps of documentation.


I've got the appliance installation running on HP Compaq Desktop PC 
8000 Elite Core 2 Duo E8400 (3.00 GHz).



I've got an external USB sound card. Works great.


I've also got a Broadcast Tools GPI-16+ connected via USB. I've got 
it working. The Rivendell GPI monitor thinks the GPI contact is ON 
all the time even though it is not - triggering it causes the GPI 
monitor to report it as "off" and then it goes back to "on." That's 
not my immediate issue.



The real issue I am having is setting up RDCatch to watch for a 
closure and then play a specific cart on the soundpanel.



I've set up a macro cart  with the following line in it PP s1 1 1! 
then gone into Admin/Manage Hosts to have the GPI closure on fire the 
macro cart.  (Play Row 1/Column 1 in Soundpanel S1)



It doesn't work.


Going in RDLibrary and running the line in the macro cart (or the 
whole Macro Cart) doesn't do anything.



I'm at a loss to try to figure out what is not set right - and 
there's still scant documentation to be able to figure it out myself.



Any clues where I should start?


*Steve Varholy*
President and General Manager

1478183502168_WXRY_Full_993_300x145.png


The Historic Barringer Building

1338 Main Street - Suite 202

Columbia, South Carolina 29201

Office: (803) 753-7260 x 251

Direct: (803) 404-5535

Cell: (703) 585-2101


A Service of the Independent Media Foundation



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Macro Help

2017-01-18 Thread Wayne Merricks

Hi,


rmlsend is a command line utility to run macros on any Rivendell 
computer (--to-host to change machines or leave it for localhost), if 
you are using macro carts you don't need rmlsend.



The \ is a command line problem, you can't use ! in most linux shells as 
it is a special character so \! means this is a literal ! and not a 
special !.



On 18/01/17 14:33, Steve Varholy wrote:


Wayne:


Thank you.


In the macro cart must I prepend rmlsend to the macro command as per 
your example below?



rmlsend PP S1 1 1\!



What does the \ do? I didn't see that in the txt file in /docs.





___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Macro Help

2017-01-18 Thread Wayne Merricks

Hi,


You might be getting hit by case sensitivity.  Try this:


rmlsend PP S1 1 1\!


The broadcast tools stuff tends to have dip switches where you can 
change the modes, you might have to change it to pull down or pull up 
(basically the reverse of what it is now).



There are no notes that say you need to do anything special for the 
GPI-16 in the switchers.txt file so it should just work.


https://github.com/ElvishArtisan/rivendell/blob/master/docs/SWITCHERS.txt

Regards,

Wayne

On 18/01/17 04:18, Steve Varholy wrote:


I think I've fallen into one of the gaps of documentation.


I've got the appliance installation running on HP Compaq Desktop PC 
8000 Elite Core 2 Duo E8400 (3.00 GHz).



I've got an external USB sound card. Works great.


I've also got a Broadcast Tools GPI-16+ connected via USB. I've got it 
working. The Rivendell GPI monitor thinks the GPI contact is ON all 
the time even though it is not - triggering it causes the GPI monitor 
to report it as "off" and then it goes back to "on." That's not my 
immediate issue.



The real issue I am having is setting up RDCatch to watch for a 
closure and then play a specific cart on the soundpanel.



I've set up a macro cart  with the following line in it PP s1 1 1! 
then gone into Admin/Manage Hosts to have the GPI closure on fire the 
macro cart.  (Play Row 1/Column 1 in Soundpanel S1)



It doesn't work.


Going in RDLibrary and running the line in the macro cart (or the 
whole Macro Cart) doesn't do anything.



I'm at a loss to try to figure out what is not set right - and there's 
still scant documentation to be able to figure it out myself.



Any clues where I should start?


*Steve Varholy*
President and General Manager

1478183502168_WXRY_Full_993_300x145.png


The Historic Barringer Building

1338 Main Street - Suite 202

Columbia, South Carolina 29201

Office: (803) 753-7260 x 251

Direct: (803) 404-5535

Cell: (703) 585-2101


A Service of the Independent Media Foundation



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] *_STACK Grows Indefinitely

2017-01-13 Thread Wayne Merricks
This appears to be correct although be aware that Riv does sometimes 
like to pass table names as variables.  I replied via github with more 
of an explanation.


It hasn't caused me any problems in over 4 years of Riv however log 
generation is slower than it was when I started and STACK growth is 
probably a contributing factor.



On 11/01/17 22:17, Patrick wrote:

Is it correct that the *_STACK table for each service will grow indefinitely 
when generating logs?

Everytime I generate a log KDHE_STACK grows by about 1,100 rows. It is now past 
40,000.

I went through rdevent_line.cpp and other source in /lib and I don't see 
anything that ever deltes rows.

If this is true, that the rows are never deleted, wouldn't this eventually be a 
problem?

—
Patrick
patr...@scnv.net




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Old database

2017-01-02 Thread Wayne Merricks
In rdadmin -> services what is in your log name template? It seems like 
its blank for you (hence _LOG).



On 01/01/17 12:39, Gary Hodder wrote:

Hi all,

just setup a new system on Fedora 25 that plays imports edit markers
etc all work.
When it comes to creating a log I get

$ rdlogmanager
invalid SQL or failed DB connection[Table 'Rivendell._LOG' doesn't
exist QMYSQL3: Unable to execute query]: select ID from `_LOG` where
TYPE=6
Database connection failed: select ID from `_LOG` where TYPE=6
Database connection restored.
invalid SQL or failed DB connection[Table 'Rivendell._LOG' doesn't
exist QMYSQL3: Unable to execute query]: select
`_LOG`.ID,`_LOG`.CART_NUMBER,`_LOG`.START_TIME,`_LOG`.TIME_TYPE,`_LOG`.
TRANS_TYPE,`_LOG`.START_POINT,`_LOG`.END_POINT,`_LOG`.SEGUE_START_POINT
,`_LOG`.SEGUE_END_POINT,CART.TYPE,CART.GROUP_NAME,CART.TITLE,CART.ARTIS
T,CART.ALBUM,CART.YEAR,CART.LABEL,CART.CLIENT,CART.AGENCY,CART.USER_DEF
INED,CART.CONDUCTOR,CART.SONG_ID,CART.FORCED_LENGTH,CART.CUT_QUANTITY,C
ART.LAST_CUT_PLAYED,CART.PLAY_ORDER,CART.ENFORCE_LENGTH,CART.PRESERVE_P
ITCH
,`_LOG`.TYPE,`_LOG`.COMMENT,`_LOG`.LABEL,`_LOG`.GRACE_TIME,`_LOG`.POST_
POINT,`_LOG`.SOURCE,`_LOG`.EXT_START_TIME,`_LOG`.EXT_LENGTH,`_LOG`.EXT_
DATA,`_LOG`.EXT_EVENT_ID,`_LOG`.EXT_ANNC_TYPE,`_LOG`.EXT_CART_NAME,CART
.ASYNCRONOUS,`_LOG`.FADEUP_POINT,`_LOG`.FADEUP_GAIN,`_LOG`.FADEDOWN_POI
NT,`_LOG`.FADEDOWN_GAIN,`_LOG`.SEGUE_GAIN,CART.PUBLISHER,CART.COMPOSER,
CART.USAGE_CODE,CART.AVERAGE_SEGUE_LENGTH,`_LOG`.LINK_EVENT_NAME,`_LOG`
.LINK_START_TIME,`_LOG`.LINK_LENGTH,`_LOG`.LINK_ID,
`_LOG`.LINK_EMBEDDED,`_LOG`.ORIGIN_USER,`_LOG`.ORIGIN_DATETIME,CART.VAL
IDITY, `_LOG`.LINK_START_SLOP,`_LOG`.LINK_END_SLOP,
`_LOG`.DUCK_UP_GAIN,`_LOG`.DUCK_DOWN_GAIN,CART.START_DATETIME,CART.END_
DATETIME,`_LOG`.EVENT_LENGTH,CART.USE_EVENT_LENGTH,CART.NOTES from
`_LOG` left join CART on `_LOG`.CART_NUMBER=CART.NUMBER order by COUNT
Database connection failed: select
`_LOG`.ID,`_LOG`.CART_NUMBER,`_LOG`.START_TIME,`_LOG`.TIME_TYPE,`_LOG`.
TRANS_TYPE,`_LOG`.START_POINT,`_LOG`.END_POINT,`_LOG`.SEGUE_START_POINT
,`_LOG`.SEGUE_END_POINT,CART.TYPE,CART.GROUP_NAME,CART.TITLE,CART.ARTIS
T,CART.ALBUM,CART.YEAR,CART.LABEL,CART.CLIENT,CART.AGENCY,CART.USER_DEF
INED,CART.CONDUCTOR,CART.SONG_ID,CART.FORCED_LENGTH,CART.CUT_QUANTITY,C
ART.LAST_CUT_PLAYED,CART.PLAY_ORDER,CART.ENFORCE_LENGTH,CART.PRESERVE_P
ITCH
,`_LOG`.TYPE,`_LOG`.COMMENT,`_LOG`.LABEL,`_LOG`.GRACE_TIME,`_LOG`.POST_
POINT,`_LOG`.SOURCE,`_LOG`.EXT_START_TIME,`_LOG`.EXT_LENGTH,`_LOG`.EXT_
DATA,`_LOG`.EXT_EVENT_ID,`_LOG`.EXT_ANNC_TYPE,`_LOG`.EXT_CART_NAME,CART
.ASYNCRONOUS,`_LOG`.FADEUP_POINT,`_LOG`.FADEUP_GAIN,`_LOG`.FADEDOWN_POI
NT,`_LOG`.FADEDOWN_GAIN,`_LOG`.SEGUE_GAIN,CART.PUBLISHER,CART.COMPOSER,
CART.USAGE_CODE,CART.AVERAGE_SEGUE_LENGTH,`_LOG`.LINK_EVENT_NAME,`_LOG`
.LINK_START_TIME,`_LOG`.LINK_LENGTH,`_LOG`.LINK_ID,
`_LOG`.LINK_EMBEDDED,`_LOG`.ORIGIN_USER,`_LOG`.ORIGIN_DATETIME,CART.VAL
IDITY, `_LOG`.LINK_START_SLOP,`_LOG`.LINK_END_SLOP,
`_LOG`.DUCK_UP_GAIN,`_LOG`.DUCK_DOWN_GAIN,CART.START_DATETIME,CART.END_
DATETIME,`_LOG`.EVENT_LENGTH,CART.USE_EVENT_LENGTH,CART.NOTES from
`_LOG` left join CART on `_LOG`.CART_NUMBER=CART.NUMBER order by COUNT
Database connection restored.
$

This database is dated june 2012, can it be easily fixed or would be it
easier to start from scratch?

Thanks
Gary.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Better Grid Editing in RDLogManager (or externally?)

2016-12-30 Thread Wayne Merricks

On 2016-12-30 21:28, drew Roberts wrote:

Wayne,

It would be nice if we could select multiple hours in multiple days
and then change all to the same clock with one go.
 


The way the Javascript/HTML works is similar to some of your ideas.  It 
is all drag and drop so lets say I have my entire weeks grid loaded and 
I wan't to copy clock NEW to 9am all week.  While holding ctrl, I drag 
NEW across the entire 9am row and they get highlighted.  When I release 
Ctrl/stop dragging they are all replaced.  Then I click save and its 
done.


The real time saver though is the clock editor.  Being able to 
insert/move events by dragging and dropping and have the start times 
auto calculate down the list really helped me make major clock changes 
quickly.


Regards,

Wayne
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Corrupt/Move Database Question

2016-12-30 Thread Wayne Merricks

Hi,

Two things, what Riv version are you using and what MySQL version?  
There are changes to MySQL v 5.7+ that make life awkward for earlier Riv 
versions than around 2.15.1.


You might also have MyISAM vs InnoDB errors with the SERVICES table.

Either way, you can manually create the rduser and see if that helps:

$ myqsl -u root -p
mysql> create user 'rduser'@'%' identified by 'letmein';
mysql> grant all on Rivendell.* to 'rduser'@'%';
mysql> flush privileges;

RD Admin should log in then assuming you have enabled mysql to listen 
on all addresses and not just local host (look at bind-address in 
my.cnf).


Run rdadmin from the command line and send any errors you get back 
here, they are usually more helpful than the GUI errors.


Regards,

Wayne

On 2016-12-29 19:35, Joe Thompson wrote:

OK, I'm stewing over the cloud idea still. But in the meantime I need
to get my current install fixed. Here's where I'm at, the existing
database is hosed. I believe at the point I've remedied the initial
issue that caused this. So I've created a brand new database so that 
I
can be assured I'm not going to run into straggling issues. I 
followed

the same exact tutorial I have used before to make sure I got all the
permission etc. set correctly.

I've modified the rd.conf file to use the new database. But when I 
run
rdadmin. It asks for the sql server credentials. I input them, it 
then
turns around and gives me either a access denied error, or it tells 
me

it can't write to the database. The error is sort of inconsistent.

Short of completely redoing the sql server itself I'm sort of at a
loss at this point.

Any input one can give me would be appreciated.

Thanks


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Better Grid Editing in RDLogManager (or externally?)

2016-12-30 Thread Wayne Merricks

Hi,

I wrote a prototype (very basic looking) HTML/Javascript grid editor, 
due to work changes, I haven't had a chance to continue with it but it 
might give you a place to start.


https://github.com/waynemerricks/rivendell-html

I use(d) it with Riv 2.10.3, I found it much quicker than the standard 
Riv way of doing things.


Regards,

Wayne

On 2016-12-30 16:08, drew Roberts wrote:

Hello everyone,

I have just been through a painful process of changing 4 days for two
services/stations and then about a week later changing 7 days for the
same two services/stations.

This left me thinking that there must be a better way.

Has anyone else had this thought and, if so, would you like to 
discuss

ways to improve things when it comes to editing the grids?

I will be looking to mock up some screen shots with explanations 
first

and then to produce some working code.

all the best,

drew--

Bahamain Or Nuttin - http://www.bahamianornuttin.com [1]

Links:
--
[1] http://www.bahamianornuttin.com/


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Ubuntu/Debian/Centos

2016-12-29 Thread Wayne Merricks

Hi,

I've used Ubuntu 14.04 for just over 2 years now, I don't keep them on 
the network so don't worry about updates as much although I do 
periodically go around and do an apt upgrade of the machines.  I don't 
use the full Ubuntu desktop, I started with Ubuntu server and put XFCE 
on top.  I have 4 studios and 2 server machines (and a bunch of VM's for 
the Windows users), none of them have ever crashed so I would say it is 
stable enough.


Regards,

Wayne


On 29/12/16 04:23, Gerry Dalton - GDTVSJ wrote:

I build a system for a buddy who can barely spell computer a few years ago for 
his radio station.  Since then its run fine without doing any of the updates 
etc over the last 5 years.  So now it's time to replace it  I tried the latest 
appliance with a new motherboard and 4Gb mem. I can not get it to boot up and 
run no matter the config after install.

So I thought about moving to Ubuntu.  See there is an Ubuntu article but 
wondering if it is a long term solution ?

The audio cards I will be using will be a Scott Studios ASI 4501 and a ASI 6114 
(card actually says 6200).

Looking for help/suggestions his system is getting flakier by the day


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] GPO

2016-12-12 Thread Wayne Merricks
Can you test it with serial commands? I have used screen in the past to 
do this but any terminal program will work.


E.g for serial port 1 at 9600 baud:

screen -fn -L -d -m -S switcher /dev/ttyS1 9600

Then you send commands like this:

screen -S switcher -X stuff cmd_to_send

On the ACS 8.2 I have, lets say I want output 1 to unlatch, output 2 to 
latch and output 3 to pulse (all on unit 0). I would send screen 3 times 
with the following command:


*0OR1F

*0OR2L

*0OR3P

e.g. screen -S switcher -X stuff *0OR3P

That way at least you know if your device is working or if Rivendell is 
having issues.  You can obviously use bash scripts to send via screen 
and use an RN macro in Riv to achieve the same thing if Rivendell isn't 
working for you.


Also be aware that some dip switch settings may have to be changed in 
order for Rivendell to use it properly (I had to take the lid off mine 
but some of the units have them on the back).


Regards,

Wayne

On 12/12/16 16:24, Tim Camp wrote:

Greetings,

I have a Broadcast Tools SRC 8 III that I have been using for GPI 
input closures and it works well, however I had a need to use the 
relay outputs and I can't get them to work.


The receive light flashes on the unit but no relay closure.

Using macro command GO matrix type gponum state length

as GO 1 O 1 1 0!

any thoughts?

Tim Camp
WZEW-FM
Mobile, Al.



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Appliance Issue

2016-12-11 Thread Wayne Merricks

Hi,

Might be a long shot but I've had instances recently where some USB 
sound cards are not detected by Riv at all (I can't remember if 
rdalsaconfig listed them).  It was something to do with the card only 
supporting 24bit sound and whatever Riv does do swap between 16/32bit 
didn't work.


The only way I could use this card in the end was to use JACK first and 
make Riv use JACK instead of ALSA directly.


I didn't have the time to figure out why this would be the case..

Regards,

Wayne

On 2016-12-10 22:28, Lorne Tyndale wrote:
After you hit save in rdalsaconfig, did you go into the 
/etc/asound.conf
file and add back in the rate line as I previously suggested  and 
resave
the file?  You'll need to be root to do this.  Once re-saved you'll 
need

to restart the Rivendell daemons.

Another thought - have you tried using Jack instead of ALSA?




I did move them down and hit save. Rivendell still does see them.

Sent from my iPhone

On Dec 10, 2016, at 1:38 PM, John Anderson 
> wrote:


Steve


the cards in the top window are "available", the ones in the bottom 
window are in use in rivendell


so you must move the one you want, to the lower part of the window 
and save...


if centos sees it, rivendell can't.. if rivendell is using it, it 
will not play in centos...


.


On Saturday, December 10, 2016 12:20 AM, Steve Varholy 
> wrote:



rdalsaconfig is showing both onboard sound cards - like it did as 
originally installed.


However rdadmin/manage hosts/audio resources  reports no cards 
present.


Centos is seeing the onboard card and plays sounds through it 
outside of Rivendell.


So, I am pretty much still stuck.

Any suggestions?

Steve Varholy
President and General Manager
[1478183502168_WXRY_Full_993_300x145.png]

The Historic Barringer Building
1338 Main Street - Suite 202
Columbia, South Carolina 29201
Office: (803) 753-7260 x 251
Direct: (803) 404-5535
Cell: (703) 585-2101

A Service of the Independent Media Foundation

From: 
rivendell-dev-boun...@lists.rivendellaudio.org 
> 
on behalf of Robert Jeffares 
>

Sent: Saturday, December 10, 2016 12:10:56 AM
To: 
rivendell-dev@lists.rivendellaudio.org

Subject: Re: [RDD] Appliance Issue

I have noticed that storing alsamixer settings requires specifying 
the card


# alsactrl store [0,1,2]

so they come back on reboot. I note too that sometimes I had to 
create

the directory they were stored in.

I am away from base at the moment, so don't have access to my notes.

The store *has* to be done as root

regards

Robert


On 09/12/16 22:12, Andy Higginson wrote:
>    On Fri, 09 Dec 2016 00:09:45 + Steve Varholy 
> wrote 

>   > Would the upgrade/update of the appliance changed that?
>
> There has been some kind of change in the ALSA setup on Centos 6 
that has come between the version on the Appliance DVD (Centos 6.6?) 
and the current fully updated version (Centos 6.8).  I don't know how 
much of a change there is, but there are some extra things that you 
need to do to the Alsamixer setup to get it to keep the settings over 
a reboot.  I don't know if this is totally off the rails or if this is 
a clue.

>
> Andy
>
>
> ___
> Rivendell-dev mailing list
> 
Rivendell-dev@lists.rivendellaudio.org

> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list

Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list

Rivendell-dev@lists.rivendellaudio.org

http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] MySQL DB Creation

2016-11-16 Thread Wayne Merricks
Yes don't let QT3 scare you.  I have some Ubuntu 16.04 scripts here but 
they should work for Debian.


https://github.com/waynemerricks/rivendellubuntuxenial/blob/master/install/003.install_qt3.sh


On 16/11/16 13:53, Kyle Robbertze wrote:

Hi

On 16/11/2016 15:30, Wayne Merricks wrote:

OK that kind of makes sense.  Kill/stop the rivendell services (caed,
rdcatchd, ripcd) then Drop the Rivendell database and also drop the
rduser user.

Done


You might have to flush privileges too.  Then just load rdadmin and it
will create the DB for you.  If the database/user already exists
(partially or otherwise) then it can get into a situation where it won't
run as the schema is incorrect.

Flushed


I've never had to use a DB create script unless Riv (there are some old
files from aeons ago I think, when riv was still a v1 release but you
shouldn't be using these).  There was talk of doing something like this
a few weeks/months ago.  I don't think it is complete yet but if you are
building from source downloading the 2.15.1 release rather than cloning
the git repo is the way to go.

The issue with downloading 2.15.1 is Qt3 as this is unavailable in
Debian 8 or unstable. So I need to compile from github master, which has
Qt4 support. However the master branch seems to have removed the
functionality of creating the DB if it is not present.

Basically, drop the db/user and run rdadmin from the terminal and we
should be able to figure out what is going on from there (there is a
slim chance user creation is failing but this was patched in 2.15.1).

The result is the same - Couldn't open MySQL connection on "localhost"
when running rdadmin. Unfortunately there is no more detail then that.

Thanks
Kyle



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] MySQL DB Creation

2016-11-16 Thread Wayne Merricks

Hi,

Building from source is the same procedure.  You just need to install 
mysql-server before you run rdadmin and check you can connect to it with 
root and whatever password you chose.


I run/have ran Rivendell on Debian 6, 7, Ubuntu 12.04 and 14.04 for no 
other reason than I am more familiar with Debian based stuff.  You can 
also use the tryphon.eu repos to get an easy apt-get install rivendell 
rivendell-server line however they haven't been updated since v2.10.


Be aware that Ubuntu 16.04 and by extension Debian 8 (9?) upped the 
MySQL version number to 5.7 which has some stricter null interpretations 
that makes life interesting.  You will need to be using the latest Riv 
2.15 version which has patches to fix this.


You will also have some fun and games getting QT3 installed from 
source.  Short story is use Ubuntu 14.04 or Debian 7 with the tryphon 
repos unless you specifically need later versions of Rivendell and you 
will have a very easy time on Debian based distros.


Regards,

Wayne



On 16/11/16 09:02, Kyle Robbertze wrote:

On 16/11/2016 00:43, Wayne Merricks wrote:

Hi,

All you have to do is run rdadmin, it will prompt you for the db access
details.  Assuming these work, it will create a database called
Rivendell and set up a user called rduser for the db.

Great, thanks. This worked on the broadcast appliance, but building from
source. That just responds 'Could not open MySQL connection on
"localhost"'. This is not too much of an issue currently as I am still
evaluating Rivendell to see if it fits our use-case, but down the line
it would be nice to install this on a Debian base instead of CentOS.

Thanks



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] MySQL DB Creation

2016-11-15 Thread Wayne Merricks

Hi,

All you have to do is run rdadmin, it will prompt you for the db access 
details.  Assuming these work, it will create a database called 
Rivendell and set up a user called rduser for the db.


By default it looks at localhost (/etc/rd.conf), change the conf file 
if it is not on the local machine.


Regards,

Wayne

On 2016-11-15 21:29, Kyle Robbertze wrote:

Hi,

Does anyone have a SQL dump/up-to-date DB creation script for 
Rivendell?

I have recently tried to install Rivendell from source and from the
appliance iso, but neither have an up-to-date DB structure. The 
creation
script [1] in the github repo is not compatible with Rivendell v2.5.5 
as

distributed in the iso.

Further the ISO image has a few inconsistencies - the google fonts 
rpms

end in .r instead of .rpm in /Packages/ and the files in /repodata do
not correspond to the names listed in /repodata/TRANS.TBL. Also the
standalone install does not install MySQL server

Thanks
Kyle

[1]

https://github.com/ElvishArtisan/rivendell/blob/stable/scripts/rd_create_db


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Trouble - database mismatch and audio converter error

2016-09-11 Thread Wayne Merricks
Assuming both distros are the same you can just update the playback 
however be aware that if you are using the tryphon repos on the playback 
machine 2.10.3 is the latest version that has been packaged there.  You 
might be forced to either revert or do a source install to get 2.15.1 on 
it.




On 2016-09-10 22:15, Chris Howard - CBR wrote:

version numbers!

playback/database machine  says 2.10.3
laptop  says 2.15.1

This is my own doing, I was prompted to do the graphical
update tool on the laptop and I said yes like a dummy.

So... I'm kind of hoping I can do the same thing with the
playback/database machine and get them at the same version.

I'm feeling much better about my situation.
I was in a bit of a panic when I couldn't bring
up RDLibrary on the playback machine!





On 9/10/2016 4:01 PM, Wayne Merricks wrote:
It certainly sounds like one of the machines has updated while the 
other is still running an older version but you can easily confirm it 
by comparing the version numbers in the title of rdairplay (or 
rdadmin).


Normally when the database is upgraded, the database is backed up to 
the user directory.  Have a look for that on the laptop in your home 
directory (I forget where it stores by default).


Once you have found that and confirmed the versions being different 
there are two things you can do.


Turn off the laptop and import the old database so the on air 
machine is back to normal (will require downtime of a few minutes to 
run a mysql import e.g. mysql -u rduser -pletmein Rivendell < 
path_to_backup_db.sql).


The downside is you won't be able to use the laptop until you update 
the on air machine.


The second option is to use yum or whatever tools you are using to 
update the playback machine and reboot (or kill the daemons).  This 
way at least you can continue to use both machines.


I've not had issues in the past with a Riv update but anything is 
possible with package updates on a machine so be prepared for down 
time.


Once you're done consider using your distro tools to hold any 
updates to Rivendell or simply turn off auto updates if these are not 
general use machines.


On 2016-09-10 21:43, Chris Howard - CBR wrote:

More information:

I didn't give you enough information.  I've gotten past
the first shock, so I'll try to make better sense.

I have two machines involved.  One is the playback machine
which is in current operation.  The 2nd machine is a laptop.

I have the laptop set up to use the database on the playback
machine remotely.  I usually build my logs from the laptop.

I can bring up RDLibrary on the laptop but not on the
playback/database machine.  I can try the other tools, but
I've been building logs and such with no problems from the laptop.

RDAirplay is running on the playback machine, we are on the air.

I am trying to run RDImport, RDLibary, etc. on the playback machine
and they fail.

I'm thinking I maybe have a newer version on the laptop and it
has updated my MySQL database, bumping out the playback machine
from being able to use the tools. ?

Any advice on that?  I am inclined to think that a short downtime
on the playback machine with an update will do the job but
I don't want to go off the air unless I have a good idea
of a way forward... at least not at this moment, maybe early
tomorrow morning.




On 9/10/2016 3:33 PM, Chris Howard - CBR wrote:


I've been running since July 10th without any kind of reboot,
everything working fine.

Today I go to load up some stuff into the library with RDImport
and it is giving me an audio converter error.

So then I try to bring up RDLibrary and various other tools
and I'm getting a database mismatch statement.

I'm thinking somehow my database automatically updated itself?

Ok, so how do I fix this?  Will a reboot do it?
I really don't want to reboot if I don't have to.

Chris Howard
WMFH-LP
Columbus, MS

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Trouble - database mismatch and audio converter error

2016-09-10 Thread Wayne Merricks
It certainly sounds like one of the machines has updated while the 
other is still running an older version but you can easily confirm it by 
comparing the version numbers in the title of rdairplay (or rdadmin).


Normally when the database is upgraded, the database is backed up to 
the user directory.  Have a look for that on the laptop in your home 
directory (I forget where it stores by default).


Once you have found that and confirmed the versions being different 
there are two things you can do.


Turn off the laptop and import the old database so the on air machine 
is back to normal (will require downtime of a few minutes to run a mysql 
import e.g. mysql -u rduser -pletmein Rivendell < 
path_to_backup_db.sql).


The downside is you won't be able to use the laptop until you update 
the on air machine.


The second option is to use yum or whatever tools you are using to 
update the playback machine and reboot (or kill the daemons).  This way 
at least you can continue to use both machines.


I've not had issues in the past with a Riv update but anything is 
possible with package updates on a machine so be prepared for down time.


Once you're done consider using your distro tools to hold any updates 
to Rivendell or simply turn off auto updates if these are not general 
use machines.


On 2016-09-10 21:43, Chris Howard - CBR wrote:

More information:

I didn't give you enough information.  I've gotten past
the first shock, so I'll try to make better sense.

I have two machines involved.  One is the playback machine
which is in current operation.  The 2nd machine is a laptop.

I have the laptop set up to use the database on the playback
machine remotely.  I usually build my logs from the laptop.

I can bring up RDLibrary on the laptop but not on the
playback/database machine.  I can try the other tools, but
I've been building logs and such with no problems from the laptop.

RDAirplay is running on the playback machine, we are on the air.

I am trying to run RDImport, RDLibary, etc. on the playback machine
and they fail.

I'm thinking I maybe have a newer version on the laptop and it
has updated my MySQL database, bumping out the playback machine
from being able to use the tools. ?

Any advice on that?  I am inclined to think that a short downtime
on the playback machine with an update will do the job but
I don't want to go off the air unless I have a good idea
of a way forward... at least not at this moment, maybe early
tomorrow morning.




On 9/10/2016 3:33 PM, Chris Howard - CBR wrote:


I've been running since July 10th without any kind of reboot,
everything working fine.

Today I go to load up some stuff into the library with RDImport
and it is giving me an audio converter error.

So then I try to bring up RDLibrary and various other tools
and I'm getting a database mismatch statement.

I'm thinking somehow my database automatically updated itself?

Ok, so how do I fix this?  Will a reboot do it?
I really don't want to reboot if I don't have to.

Chris Howard
WMFH-LP
Columbus, MS

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] question from Argentina

2016-09-09 Thread Wayne Merricks

rdadmin by default is:

UN: admin

PW: there is no password so just click OK (or Press Enter)



On 09/09/16 22:24, La Mosquitera Radio Comunitaria wrote:
Hi David and thank you for that quick answer! I had installed from 
repository now. But I dont know user or password for rdadmin and dont 
know where to find it. If i use admin|admin I get an error, it 
cantconnect with db. If I try to open other stuff (like rdairplay) it 
says that rd cant start daemons.


I apologize for my english,I didnt studied, hahaha, I learned reading 
html code,so I must speak like a monkey.


Thank you very much for your help

Marcelo

2016-09-09 17:20 GMT-03:00 David Klann >:


Greetings from North America Marcelo!

Have you seen or tried to install the Rivendell Debian package from
http://debian.tryphon.eu/ ? That might be an easier way to get
Rivendell
installed on your Wheezy system.

It's a little hard to tell why you are getting those type errors. It
would help to see the output from your configure step: can you
send the
contents of config.log?

Hope this helps!

  ~David Klann


On 09/09/2016 02:38 PM, La Mosquitera Radio Comunitaria wrote:
> Hello, my name is Marcelo,I am tryn to install rivendell at La
> Mosquitera, a communitary (without commercial purposes) radio
station at
> El Bermejo, Mendoza, Argentina.
> Its a fresh install in a Debian Wheezy based distro (etertics).
We have
> a problem with compilation, at make time, here I send you the
log, maybe
> you can help us to get your program workng here!! Thanks in advance!
>
> ~/rivendell-2.1.1$ make
> Making all in icons
> make[1]: Entering directory '/home/dario/rivendell-2.1.1/icons'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory '/home/dario/rivendell-2.1.1/icons'
> Making all in helpers
> make[1]: Entering directory '/home/dario/rivendell-2.1.1/helpers'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory '/home/dario/rivendell-2.1.1/helpers'
> Making all in lib
> make[1]: Entering directory '/home/dario/rivendell-2.1.1/lib'
> if /bin/bash ../libtool --tag=CXX --mode=compile g++
> -DPACKAGE_NAME=\"rivendell\" -DPACKAGE_TARNAME=\"rivendell\"
> -DPACKAGE_VERSION=\"\`cat\ PACKAGE_VERSION\`\"
> -DPACKAGE_STRING=\"rivendell\ \`cat\ PACKAGE_VERSION\`\"
> -DPACKAGE_BUGREPORT=\"Fred\ Gleason\ \
> >\>\" -DPACKAGE=\"rivendell\"
> -DVERSION=\"2.1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_VORBIS=1
> -DHAVE_FLAC=1 -DHAVE_MAD=1 -DHAVE_TWOLAME=1 -DHAVE_LAME=1 -DJACK=yes
> -DALSA=yes -DSRC=yes -DHAVE_FLAC_METADATA=yes
> -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1  -I.
> -I.  -Wall -DPREFIX=\"/usr/local\" -I/usr/include/qt3
> -DQT_THREAD_SUPPORT   -g -O2 -MT rdcart_search_text.lo -MD -MP -MF
> ".deps/rdcart_search_text.Tpo" -c -o rdcart_search_text.lo
> rdcart_search_text.cpp; \
> then mv -f ".deps/rdcart_search_text.Tpo"
> ".deps/rdcart_search_text.Plo"; else rm -f
> ".deps/rdcart_search_text.Tpo"; exit 1; fi
>  g++ -DPACKAGE_NAME=\"rivendell\" -DPACKAGE_TARNAME=\"rivendell\"
> "-DPACKAGE_VERSION=\"\`cat PACKAGE_VERSION\`\""
> "-DPACKAGE_STRING=\"rivendell \`cat PACKAGE_VERSION\`\""
> "-DPACKAGE_BUGREPORT=\"Fred Gleason 
> >>\"" -DPACKAGE=\"rivendell\"
> -DVERSION=\"2.1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_VORBIS=1
> -DHAVE_FLAC=1 -DHAVE_MAD=1 -DHAVE_TWOLAME=1 -DHAVE_LAME=1 -DJACK=yes
> -DALSA=yes -DSRC=yes -DHAVE_FLAC_METADATA=yes
> -DHAVE_SECURITY_PAM_MODULES_H=1 -DHAVE_SECURITY__PAM_MACROS_H=1
-I. -I.
> -Wall -DPREFIX=\"/usr/local\" -I/usr/include/qt3
-DQT_THREAD_SUPPORT -g
> -O2 -MT rdcart_search_text.lo -MD -MP -MF
.deps/rdcart_search_text.Tpo
> -c rdcart_search_text.cpp  -fPIC -DPIC -o .libs/rdcart_search_text.o
> In file included from ./rddb.h:30:0,
>  from rdcart_search_text.cpp:25:
> ./rdconfig.h:85:3: error: 'uid_t' does not name a type
>uid_t uid() const;
>^
> ./rdconfig.h:86:3: error: 'gid_t' does not name a type
>gid_t gid() const;
>^
> ./rdconfig.h:126:3: error: 'uid_t' does not name a type
>   

Re: [RDD] Audio problems long Import

2016-09-01 Thread Wayne Merricks

Possibly Apache time outs?

/etc/apache2/apache2.conf

Find:

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

Increase as required (1800 = 30minutes).




On 01/09/16 06:47, juan carlos navarro hernandez wrote:

I'm having trouble importing audio from an hour of time.

How I can fix it ?


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Dual Monitors

2016-08-23 Thread Wayne Merricks
If you have any recent Intel they will drive 2 monitors on the open 
source monitors very well for standard desktop use.  Failing that any of 
the older NVIDIA cards should work fine.  I'm running a passively cooled 
Nvidia GT610 which cost me about £40 a few years ago.  In my experience 
running two cards just causes problems and sadly even though I don't 
agree with some of the NVIDIA ways of doing things, AMD GPUs are still a 
bit crashy (or they overheat like crazy on the linux drivers and spin 
all the fans up).


One caveat, I don't know what driver versions Centos 6 has for the open 
source graphics and I have had freezes with the NVIDIA blob drivers on 
occasion.


Short story, Intel if you can (but not Skylake yet), failing that Nvidia 
on the open source drivers or the blob if necessary.



On 23/08/16 07:41, Rich Stivers wrote:
I would like to set up dual monitors for both of our Rivendell 
workstations. I'm running Centos 6 with the

latest Rivendell version.

o Which video cards work well with Centos 6 and Rivendell?

o Has anyone set up dual displays in Centos 6 without a lot of trial 
and error with video driver versions?


o Is it more cost/performance effective to have one card with two 
video outputs, or two cards of the

same model?

All comments welcome.

Thanks,
Rich Stivers
KKUP-FM 91.5, Cupertino / San Jose, CA

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] change end date with rdimport?

2016-08-17 Thread Wayne Merricks
If the file name or something else has a set format for dates you should 
be able to script it with bash (or whatever you prefer using).



On 17/08/16 16:46, Tom Van Gorkom wrote:
I am aware of that one but I cannot predict exactly when the programs 
will download in respect to their play dates though I could try to 
program that part to see if it can become consistent. We often get 3-4 
days at a time a few days before the play date.


Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Wed, Aug 17, 2016 at 10:18 AM, Wayne Merricks 
<waynemerri...@thevoiceasia.com 
<mailto:waynemerri...@thevoiceasia.com>> wrote:


I'm not sure about the cart chunk but there are options for:

--startdate-offset
--enddate-offset

There are also options for set-daypart-times and set-datetimes


On 17/08/16 15:49, Tom Van Gorkom wrote:

Does rdimport (or dropbox) allow any options for changing the
start and end dates from the cart chunk? More specifics below.

If not, is there a way to modify it with a script to automate it
something like: enddate=startdate, or in some cases null out the
start and enddate and then import?

Specific problem to solve: we continuously receive about 15
different programs via Amb-os and they come with a 3 day range
for each episode. Some must play in order and we play the same
episode twice during the day. Therefore, today's episode and
tomorrow's episode are both playable on any given day so the log
will often play today's in the morning and tomorrow's in the
evening. For now, we manually find change them.  Other programs
do not need an air date so we disable it.

Thanks,

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150 
Cell: 865-803-7427 

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
<mailto:Rivendell-dev@lists.rivendellaudio.org>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
<http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev>

___ Rivendell-dev
mailing list Rivendell-dev@lists.rivendellaudio.org
<mailto:Rivendell-dev@lists.rivendellaudio.org>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
<http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev> 

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] change end date with rdimport?

2016-08-17 Thread Wayne Merricks

I'm not sure about the cart chunk but there are options for:

--startdate-offset
--enddate-offset

There are also options for set-daypart-times and set-datetimes


On 17/08/16 15:49, Tom Van Gorkom wrote:
Does rdimport (or dropbox) allow any options for changing the start 
and end dates from the cart chunk? More specifics below.


If not, is there a way to modify it with a script to automate it 
something like: enddate=startdate, or in some cases null out the start 
and enddate and then import?


Specific problem to solve: we continuously receive about 15 different 
programs via Amb-os and they come with a 3 day range for each episode. 
Some must play in order and we play the same episode twice during the 
day. Therefore, today's episode and tomorrow's episode are both 
playable on any given day so the log will often play today's in the 
morning and tomorrow's in the evening. For now, we manually find 
change them.  Other programs do not need an air date so we disable it.


Thanks,

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Audio Converter Error.

2016-08-17 Thread Wayne Merricks
Probably permissions on /var/snd.  As your logged in Rivendell user, you 
should be able to create files in your /var/snd directory.


Just to make sure, change the /var/snd group to rivendell and add group 
read/write/execute permissions to the directory.  You will also need 
read/write permissions to all the files in the directory.


sudo chgrp rivendell /var/snd

sudo chmod g+rwx /var/snd

sudo chmod -R g+rw /var/snd


On 17/08/16 09:35, Owen Dawe wrote:
Thank you Wayne, your solution worked. When I look in snd on sda I can 
tell it's pointing to snd on sdb by the larger amount of free space I 
have available. I also could see a audio file I had there.


Thank you Cowboy for you explanation which helps me learn about Linux.

However. A new problem arrived. I'm unable to import any audio through 
RDImport Dropbox or even add a single file through RDLibrary. I get an 
error saying Internal error. Gosh that could be anything! Even SQL. I 
might do a Rivendell purge, then reinstall. Sometimes quickest in the 
long run. All good practice. I've reinstalled Rivendell several times 
and it's not that bad.


Regards and thanks,

Owen. (a clear moonlit frosty night here in central New Zealand)


On 17/08/16 04:00, rivendell-dev-requ...@lists.rivendellaudio.org wrote:

Send Rivendell-dev mailing list submissions to
rivendell-dev@lists.rivendellaudio.org

To subscribe or unsubscribe via the World Wide Web, visit
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
or, via email, send a message with subject or body 'help' to
rivendell-dev-requ...@lists.rivendellaudio.org

You can reach the person managing the list at
rivendell-dev-ow...@lists.rivendellaudio.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Rivendell-dev digest..."


Today's Topics:

1. Re: Automation Mode (John Boles)
2. Re: RdLibrary - find songs from year (Morten Krarup Nielsen)
3. Audio Converter Error. (Owen Dawe)
4. Re: Audio Converter Error. (Wayne Merricks)
5. Re: Audio Converter Error. (Cowboy)


--

Message: 1
Date: Mon, 15 Aug 2016 11:51:28 -0600
From: John Boles <rugge...@gmail.com>
To: User discussion about the Rivendell Radio Automation System
<rivendell-dev@lists.rivendellaudio.org>
Subject: Re: [RDD] Automation Mode
Message-ID:
<cam9pcjrlv4v5etztb0+paolbwppjug7hycvm6cvtkwgvkwj...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Correct, I do want to READ the value of PM
under the ripc commands you use TA! to get the value of it.
John

On Mon, Aug 15, 2016 at 9:52 AM, Fred Gleason <fr...@paravelsystems.com>
wrote:


On Aug 15, 2016, at 09:33, John Boles <rugge...@gmail.com> wrote:

Then I would propose that it be like TA!

Except of course using PM!

Not following your point here.  It is ?like TA? already ?i.e. the 
command

causes the requested action to happen.

My understanding was that you wanted to *read* the current mode.

Cheers!


|--| 

| Frederick F. Gleason, Jr. |  Chief 
Developer |
|   |  Paravel 
Systems |
|--| 

|  A room without books is like a body without a 
soul. |
| -- 
Cicero|
|--| 



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://caspian.paravelsystems.com/pipermail/rivendell-dev/attachments/20160815/e7c591d5/attachment-0001.html>


--

Message: 2
Date: Tue, 16 Aug 2016 08:47:06 +0200
From: Morten Krarup Nielsen <morte...@gmail.com>
To: User discussion about the Rivendell Radio Automation System
<rivendell-dev@lists.rivendellaudio.org>
Subject: Re: [RDD] RdLibrary - find songs from year
Message-ID:
<CAAd6psVbWFWm6hKvC3w21UxBBQHf8cD++7HqhXtNW=ghj30...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Thanks, I will give it a try today!

2016-08-15 16:08 GMT+02:00 David Klann <dkl...@linux.com>:

As of Rivendell 2.10.3, a valid SQL statement to search the CART table
by year would look something like:

select NUMBER,GROUP_NAME,TITLE,ARTIST,ALBUM,YEAR from CART where YEAR
like '1990%';

Note the year format "-MM-DD". This is because YEAR uses the MySQL
"date" data type which includes the month and day. MM and DD default to
01 when not specified, but using the "LIKE" comparison operator gets 
you

all rows that match the

Re: [RDD] Audio Converter Error.

2016-08-16 Thread Wayne Merricks

Try this:

sudo mv /var/snd /var/snd_original

Then mount /var/snd on the new device to /var/snd on the original.  If 
it is an entire blank partition you might be able to do it like this:


sudo mount /dev/sdb5 /var/snd

If it is a drive with its own stuff and a random directory for /var/snd 
you might have to use the bind parameter:


sudo mount --bind /path/to/drive/snd /var/snd

Symlinks can be hit and miss depending on what program is meant to be 
following them.


On 16/08/16 13:30, Owen Dawe wrote:
I'm having trouble using RD Import from a 'temporary folder' on my 
Desktop through  Rivendell's  Dropbox via terminal. I added a second 
drive sdb5 formated to ext4 and have it mounted and created a 
'symlink' from snd sda1 to a var/snd created on sdb5. Var/snd on sda1 
has 108MB free space. Var/snd on sdb5 has 500G spare space. I managed 
to import six files and transfered them to sdb5.


From the seventh file onwards I get a message saying. Audio Converter 
Error: No space left on device, skipping (names of the remaining ten 
files). I have tried setting the links up  several times both through 
terminal and the click and drag method. I've reformated sdb5 twice 
making new links continuing to get the same error. I've deleated the 
six files in var/snd on both sda1 and sdb5 but still get the same 
error. It's got me wacked actually.


Regards, Owen.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Now and Next

2016-08-12 Thread Wayne Merricks

Hi,

Just to check the obvious I use the following udp.conf for the udp rlm:

[Udp1]
IpAddress=127.0.0.1
UdpPort=
FormatString=CART=%n\nTITLE=%t\nARTIST=%a\nALBUM=%l\nMS=%h\n
Encoding=0
ProcessNullUpdates=1
MasterLog=Onair
Aux1Log=No
Aux2Log=No

Change Onair to Yes if  you don't use on air flags (TA 0/1!). Then in 
rdadmin -> hosts -> edit host -> rdairplay -> configure now and next 
params, I fill this out for the loadable modules:


Path: /usr/lib/rivendell/rlm_udp.rlm
Argument: /path/to/udp.conf

Then you have to turn on now and next for the music groups you want to 
report now and next for:


rdadmin -> manage groups

Tick "Transmit Now & Next Data" for each group you need to send now and 
next info.


Restart rdairplay to pick up the changes.

On 10/08/16 20:21, Peter Morton wrote:

Greetings:

I am attempting to implement now and next meta data on my Rivendell system (ver 
2.15.1). I am sending the data to a windows computer on which the streaming 
software (provided by the streaming company) lives. I am using wireshark to 
watch for UDP packets leaving the Rivendell computer and although I can see 
other traffic there I see nothing headed for the streaming computer.

I have tried the now and next configuration located in the RDairplay 
configuration screen both with and without the RLM_udp module, both with no 
luck. This is the information I am using:

outgoing iP = 192.168.28.72 (I am at 192.168.28.96)
Meta wildcards: %n|%g|%h|%t|%a|%l|%y|%b%r

Thanks.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Pause a recording in RDLibrary?

2016-07-29 Thread Wayne Merricks
Just as an FYI, I use Audacity and JACK to share the sound card with 
Riv.  Via Audacity preferences and some JACK wizardry we even force 
Audacity to not use the main play out so in essence you can record and 
play back while live on air without making Audacity live.


The options to open the library etc directly seem interesting though.

Regards,

Wayne

On 28/07/16 21:28, Tom Van Gorkom wrote:
Interesting. We use Audacity on our Riv machines to do quick edits but 
have not used it for critical recording mainly because I wasn't sure 
how clean and professional it would be and because we would need to 
install a second high quality sound card for recording. When editing, 
we play back over the MB sound or a simple sound card. I guess if we 
don't care about clean balanced inputs we could use a regular card. 
It's just simpler for the operator to record into the Riv playout when 
he is doing a live interview but I can rearrange things and no, pause 
in that case isn't super critical.


Still learning the best way to do things,

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Thu, Jul 28, 2016 at 2:27 PM, Todd Baker > wrote:


Just checked - Yes - the Riv C Library is out there

https://github.com/RadioFreeAsia/rivendell-c-api

That what the Audacity version uses to talk to 2.0 Rivendell systems.

Todd B.


*From: *"Todd Baker" >
*To: *"Al Peterson" >
*Cc: *"User discussion about the Rivendell Radio Automation
System" >
*Sent: *Thursday, July 28, 2016 3:21:43 PM

*Subject: *Re: [RDD] Pause a recording in RDLibrary?

Dear Al,
  Sorry - I missed that Posting somehow..

Yes, the Audacity code we added is kinda like that - specifically
   Menu Choices under File
Browse Rivendell Library
Export To Rivendell Library
Export Selection to Rivendell Library.

The version we originally used (and still use) did this via Mysql
calls, and a Samba mount, and we copied the data from
Windows->Linux...

The latest version - (which I have yet to test thoroughly -
because we are not there yet... we are still on Old Rivendell 1.5
believe it or not...)
is Rivendell 2.0 compatible. It uses a Rivendell C API Library
(which I wrote with lots of help from Fred G.) to talk to the
Rivendell
Web API to put things in/take things out of Rivendell.  Since
Rivendell 2.0 doesn't allow direct content access - you have to
use the web interface - (ie apache).
so I wrote the C API to create the http calls to pass into the
Rivendell Web API.  Our production version IS running with the new
code - it simply isn't
using the new code cause it figures out which DB it sees - and
since we are not on the 2.0 database schema - it doesn't use that
new code.
(There are 100 plus Windows machines running Audacity - so WHEN we
do upgrade to 2.0 - I needed it to be smart enough to easily be
flipped
to 2.0 - rather than manually install 100 + NEW executables - but
I digress)...

The Riv C API Library isn't out on  GitHub yet I don't think - it
may only be in house right now.will have to check.

I have tested the Rivendell 2.0 version - but it has not been put
into Production use "Yet" That's a ways down the road for us -
for too many reasons to list here - ...

The only caveat about the new 2.0 version is that the Mysql calls
are still in the code - because we needed to have browse capability,
and the Web API simply did not work well for giving us a list of
Carts/Cuts and sorting capabilities (you can sort on Cut
Description, Cart Title, Cart/Cut Number
in our version when browsing the library).

Getting Mysql libraries to work is a bit of work, especially since
Audacity uses Visual Studio C++, WxWidgets, etc but it
works...and I did write a version
a few years ago for Ubuntu, (and I also wrote one for Mac - but I
have no idea where that code isand I start sweating just
thinking about it... ;)...

We have been using our Audacity version for Rivendell  1.5.2 for
8+ years...Latest Audacity versions I have built with are Audacity
2.0.3 (Win 7) and
Audacity  2.1.2. (Win 10).

Best Regards,
Todd

*From: *"Al Peterson" >
*To: *"Todd Baker" >, "User

[RDD] Ubuntu 16.04 Update (Seems OK now)

2016-07-20 Thread Wayne Merricks

Hi Fred/all,

Apologies for the delay, the current stable branch appears to be usable 
with Ubuntu 16.04 provided you manually tweak MySQL.  There is still 
oddness with QT fonts but that is most likely an Ubuntu and not a 
Rivendell problem.


Since I last tried, DB upgrades  from 2.10.3 seem to work fine (I have 
about 10,000 carts and its a system that has been running since 2012 in 
one form or another).  We don't use 16.04 Riv in production here so 
anyone thinking of using it be wary of potential for oddness but the 
normal stuff all seems fine.


One thing I have found, adding a host to the DB produces a truncated error:

invalid SQL or failed DB connection[Data truncated for column 
'INPUT_TYPE' at row 1 QMYSQL3: Unable to execute query]:


  insert into RDLIBRARY set
INPUT_CARD=0,INPUT_PORT=0,INPUT_TYPE=0 ... STATION="ukriv005"

The record is added anyway so it is not a big issue but it boils down to 
INPUT_TYPE being an ENUM (A, D).  This might just be stable branch churn 
I'm not sure.


Please note, we don't use rdcatch, rdfeed or VTs here so I'm not really 
sure if any of that is broken (it seems OK but I've not clicked every 
option to try them out).


If you are planning a release soon, I'd say these changes are a good 
place to start with Ubuntu, there is nothing obviously wrong that I can 
find which is an improvement from barely working.


Regards,

Wayne
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] New Rivendell Appliance Setup

2016-07-18 Thread Wayne Merricks
t the client to your server:

[mySQL]
; The connection parameters for the MySQL server.
Hostname=rdserver  (the name you gave to your server or the IP address
works also)
Loginname=rduser
Password=letmein
Database=Rivendell
Driver=QMYSQL3

We disable mySQL on the clients. Also make sure that you add all of your
hosts to the hosts file with their IP addresses on all machines.

You need to make sure you give all the correct permissions on the server
mySQL - I assume you found directions for doing that from what you said
earlier.

Be sure to create an exportfs for the shared folders if you have some
such
as rd_xfer and export it on the server, and then add the shared file(s)
on
your fstab list on each client and mount them.

That's what I remember without being where I can look at my notes. Hope
it
helps.

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Sun, Jul 17, 2016 at 6:08 AM, Ryan Kin <k1n9h...@gmail.com> wrote:


Hey Wayne, this is my rd.conf folder


; rd.conf
;
; This is the default configuration file for Rivendell
;
; by Fred Gleason <fr...@paravelsystems.com>
;

[Identity]
; These entries are used to define the system user and group that will
; own the audio files.
AudioOwner=rivendell
AudioGroup=rivendell

; This password is used by the various Rivendell modules to log into
; Rivendell system services [caed(8), ripcd(8), rdcatchd(8)].
Password=letmein

; This entry is what will appear in RDSelect's list for this
configuration.
Label=Default (Local)

[mySQL]
; The connection parameters for the MySQL server.
Hostname=localhost
Loginname=rduser
Password=letmein
Database=Rivendell
Driver=QMYSQL3

[AudioStore]
MountSource=
MountType=
MountOptions=defaults
CaeHostname=
XportHostname=

[Logs]
; Set the method to be used for logging.  Possible values are:
;  Syslog = Use the syslog facility.
;File = Log directly to a file.  See also the 'LogDirectory='
;   and 'LogPattern=' parameters below.
;None = Don't generate logs at all.
Facility=Syslog

; The directory to write logs to.  Used only if the 'Facility='
; parameter is set to 'File'.
LogDirectory=/home/rd/rdlogs

; The directory to to put core files in in the event of a daemon
; crash.  For this to work, you must also configure your environment
; to allow the generation of core dumps (e.g. 'ulimit -c unlimited').
CoreDumpDirectory=/home/rd/rdlogs

; The name of the file to send logs to.  The following wildcards can
; be used:
;  %d - The day of the month (01 - 31)
;  %h - The hour (00 - 23)
;  %M - The month (01 - 12)
;  %m - The minute (00 - 59)
;  %n - The name of the originating module --e.g. 'rdairplay', 'caed'.
;  %s - The second (00 - 60)
;  %Y - The four digit year
; This parameter is used only if the 'Facility=' parameter is set to
; 'File'.
LogPattern=%n-%Y%M%d.log

; Log upload/download debug data.  You generally want to enable this
only
; when debugging a specific upload/download problem, as *lots* of data
; can be generated.  Valid arguments are 'Yes' or 'No'.
LogXloadDebugData=No

[Alsa]
; ALSA Parameters
; (It should seldom be necessary to tweak these)
PeriodQuantity=4
PeriodSize=1024
ChannelsPerPcm=-1

; [SoftKeys]
;
; This section can be used to program the RDSoftKeys applet, or you
; can use the --map-file= switch to configure multiple soft
; key setups on the same host.
;
; Columns=10
;
; Command1=hithlum.srlabs.loc:GO 3 1 1 0!
; Legend1=Telos 1 ON
; Color1=red
;
; Command2=hithlum.srlabs.loc:GO 3 2 1 0!
; Legend2=Telos 2 ON
; Color2=red
;

[Tuning]
; This section defines the realtime parameters used when running
; audio components.  Normally, these are useful only for debugging.
UseRealtime=Yes
RealtimePriority=9

[Format]
; This value is used when testing and developing new features in the
; audio drivers.  It should never be altered on a production system.
Channels=2

[Hacks]
; If you are getting no output level meter indications with an older
; ASI card (such as the ASI4215, ASI4113 or ASI4111), try uncommenting
; the following line:
; UseStreamMeters=Yes

; Completely disable maintenance checks on this host.
; DisableMaintChecks=Yes

;
; Log Generation (old method, deprecated)
;
;  These sections are here strictly for backward compatibility.  See
;  the [Logs] section for a much more powerful way to configure
;  logging.
;
; [RDAirPlay]
; Logfile=/home/rd/rdairplay.log
;
; [RDCatchd]
; Logfile=/home/rd/rdcatchd.log
;
; [Ripcd]
; Logfile=/home/rd/ripcd.log
;
; [Caed]
; Logfile=/home/rd/caed.log
; EnableMixerLogging=No

On 7/16/16, Wayne Merricks <waynemerri...@thevoiceasia.com> wrote:

Assuming your networking is actually working and you've assigned IP
addresses statically (or reserved DHCP leases) all you have to do is
edit /etc/rd.conf to point to rdserver on every machine for the MySQL
database.

You then NFS share the server's /var/snd and mount it locally on every
machine a

Re: [RDD] Confirming a cart has been played to an external log

2016-07-12 Thread Wayne Merricks

I forgot about the /r problem, I used tr to strip it like this:

REPLY=$(echo $REPLY | tr -d '\r') #Remove any end of line chars

I have no idea if it is faster than sed.

On 2016-07-12 22:50, Robert Jeffares wrote:

Thanks Wayne,
 just the nudge I needed to take an alternate look.

 I set up a UDP RLM like this

 [Udp1]
 IpAddress=127.0.0.1
 UdpPort=5861
 FormatString=CART=%n BCTIME=%d(hh:mm)n
 Encoding=0
 ProcessNullUpdates=1
 MasterLog=Yes
 Aux1Log=No
 Aux2Log=No

 Since I only want to get data for the one CART when it plays, I run
nc from within the shell script for as long as it takes.

 # takes the udp output of RDAIRPLAY looks for line with CART
 # adds it to log

 nc -d -u -l 5861 |        (

 while read -t 1800 REPLY; do

 # time out set to 3 minutes in case cart gets bumped by time event
 #REPLY is default output of read

   if [[ "$REPLY" == *"CART=002005"* ]]; then

     #when we get it peel of broadcast time and put it in log
     echo "${REPLY:(-13)}" > /home/rd/zexacary.log
     break
   fi

 done
                                 )
 exit 0

 I could have set the CART as a variable; this is the quick and 
dirty.


 The script carts and plays each item 3 times over 70 minutes.

 The log gets emailed to me.
 I had to use sed to get rid of the 'r' in the lines that are
generated by the UDP RLM so the data comes as a message not as an
attachment.
 I decided to run nc as needed. One less permanent process. Accurate
reporting when you have three up at any time.

 It runs every 10 minutes. When there is a bulletin the script gives
each instance a unique ID so it is possible to have several info
bulletins running simultaneously. ' Weather events as they happen'
play in a FIFO series of snippets just often enough.
 In this area we get 'weather bombs' about once every 18 months. Some
are supposed to be once in 20 and once in 50 year events.
 When you get 200mm of rain in a few hours on the top of a steep 
sided

mountain range it's got two ways to flow and both of them are down.
 The flat area at the bottom on both sides of a 50km ridge is between
500m and 2km from the ocean. When the rain hits the [king] high tide
the rivers back up and everything floods. First storm in a while it
takes time. The second one while everything is still wet is the
jackpot.
 We're in between a significant one and a follow up one right now!
 It's never a question of if it's going to happen it's more where.
 People who come on holidays and weekends, still insist on trying to
drive everywhere, ford flooded rivers, complain when the power goes
out, and wonder why it takes so log to get trucks and excavators past
all sorts of blockages to clear something outside their place.
 The locals have an unkind name for such people.
 I have had the playout script running for a while. Now I can produce
a log of actual broadcast times. This along with archive copies of 
all

announcements helps local Civil Defence demonstrate that they are
doing their best. Our CD media liason is an ex radio guy and when 
it's

really turning pear shaped delivers audio bulletins every 15 minutes.

 Thanks again Wayne, and RD, keeping radio always on, always local.

 regards
 Robert

On 10/07/16 02:46, Wayne Merricks wrote:


Hi,

I used the UDP rlm to do this in house as I found the icecast rlm
to sometimes do strange things in our weird set up.  I have the
following udp conf (for rlm):

[Udp1]
IpAddress=127.0.0.1
UdpPort=5860
FormatString=CART=%nnTITLE=%tnARTIST=%anALBUM=%lnMS=%hn
Encoding=0
ProcessNullUpdates=1
MasterLog=Onair
Aux1Log=No
Aux2Log=No

Obviously remove the bits you don't need, I assume you could
literally stick with a cart number as:

FormatString=%nn

That way you're just dealing with cart numbers and nothing else
each time.

Then I have a reader script that just does this:

CARTNUM=123456

while true; do
  read RAWDATA

  if [[ $RAWDATA == $CARTNUM ]]; then

    #This is the cart you wanted do something

  fi

done

In order to start the listening port I use nc and another script
(via screen):

screen -d -m -S updreader bash -c "nc -l -u -p 5860 |
/path/to/reader/script.sh"

Hope that makes sense,

Wayne

On 2016-07-09 00:40, Robert Jeffares wrote:


I have a script which  picks up [road] traffic information from a

dropbox and plays it 3 times.
 Audio is carted using rdimport and using RML PX it gets placed
next
and goes to air.
 Works well and handles multiple bulletins.
 When we have bad weather we have lots of data!

 I want to get the actual broadcast times and put them in the
log the
shell script generates.

 I thought I could make a macro cart which I can put in the log
first,
then put the traffic cart in so they play in sequence, the macro
cart
outputting time of day.

 I have thought of using Now & Next to somehow get data when
that
unique cart plays.

 Monitoring port 5860 and pulling in the data is something I can

manage.

 But the how to generate the data in the first place i

Re: [RDD] Confirming a cart has been played to an external log

2016-07-09 Thread Wayne Merricks

Hi,

I used the UDP rlm to do this in house as I found the icecast rlm to 
sometimes do strange things in our weird set up.  I have the following 
udp conf (for rlm):


[Udp1]
IpAddress=127.0.0.1
UdpPort=5860
FormatString=CART=%n\nTITLE=%t\nARTIST=%a\nALBUM=%l\nMS=%h\n
Encoding=0
ProcessNullUpdates=1
MasterLog=Onair
Aux1Log=No
Aux2Log=No

Obviously remove the bits you don't need, I assume you could literally 
stick with a cart number as:


FormatString=%n\n

That way you're just dealing with cart numbers and nothing else each 
time.


Then I have a reader script that just does this:

CARTNUM=123456

while true; do
  read RAWDATA

  if [[ $RAWDATA == $CARTNUM ]]; then

#This is the cart you wanted do something

  fi

done

In order to start the listening port I use nc and another script (via 
screen):


screen -d -m -S updreader bash -c "nc -l -u -p 5860 | 
/path/to/reader/script.sh"


Hope that makes sense,

Wayne

On 2016-07-09 00:40, Robert Jeffares wrote:

I have a script which  picks up [road] traffic information from a
dropbox and plays it 3 times.
 Audio is carted using rdimport and using RML PX it gets placed next
and goes to air.
 Works well and handles multiple bulletins.
 When we have bad weather we have lots of data!

 I want to get the actual broadcast times and put them in the log the
shell script generates.

 I thought I could make a macro cart which I can put in the log 
first,

then put the traffic cart in so they play in sequence, the macro cart
outputting time of day.

 I have thought of using Now & Next to somehow get data when that
unique cart plays.

 Monitoring port 5860 and pulling in the data is something I can
manage.

 But the how to generate the data in the first place is causing acute
brain fade.

 Someone will have done this somewhere for something else.

 regards
 Robert Jeffares


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing Issue with wrong Audio Length

2016-07-06 Thread Wayne Merricks
You can use bash as a "dropbox" that copies to the real Rivendell 
dropbox directory afterwards


#!/bin/bash

#Path to Rivendell dropbox (Change this to whatever)
#Keep the trailing /
RIVENDELL=/home/rivendell/dropbox/

#Would be a good idea to run this in screen so that you can monitor it
#e.g.
# screen -d -m -S mp3fixer /path/to/this/script.sh
# monitor with screen -r mp3fixer
# screen runs in the background so add it as a startup script and 
forget

# about it

#Variable to set as running forever
RUNNING=1

#Loop forever
while [ $RUNNING -eq 1 ]; do

  #Find the mp3s
  for file in $(find -name "*.mp3"); do

#We have mp3s so do something with them
echo Found $file
mp3val "$file" -f

#Move it to Rivendell dropbox
mv "$file" $RIVENDELL

  done

  #Wait for 30 seconds before checking again
  sleep 30

done


Please note I'm writing this from google and direct to email so please 
check it or let me know if something doesn't work properly.


On 2016-07-06 20:42, Charly Hering wrote:

Hello,

I am trying to implement a Rivendell system in my organization.

I work for a intercontinental radio association. In that case we 
share

and broadcast programs from a lot of different radios and we do not
control all the prodution processes.

I came to my point. A radio send us a daily program but the metadata
seems corrupt. It shows a length of 1 hour but the real audio length
is 15 min.

I import it with a rivendell dropbox, and when rivendell create a 
log,

it mess up the playlist with the faulty lenght (creating time with
nothing sheldue)

Passing the audio track in a tag editor fix the issue, for example:

_$ mp3val audio.mp3 -f_ 

I would like to keep the automated function of the dropbox: Drag the
file and no more to do to import and create the log

Is there a possibility to add this function easily to the dropbox
script used by rivendell.

Thanks

Charly


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] ubuntu server 16.04 LTS mysql 5.7

2016-07-01 Thread Wayne Merricks
No it still breaks, the fix is to apt remove MySQL server.  Finish the 
upgrade (dpkg -a) then delete any reference to my.cnf or mysqld.cnf in 
/etc/mysql and /etc/mysql/mysql.conf.d/


Once you've done that reinstall mysql server.  Your database data will 
not be deleted.


If you leave any references to my.cnf it will fail to install so make 
sure you move them all wherever you need them.


Also don't use MySQL 5.7 with Rivendell.  There are some patches in the 
stable branch to fix the problems, hopefully they will make the next 
Rivendell release but I haven't had time to double check/test everything 
to give Fred the Ubuntu OK.


Regards,

Wayne



On 2016-07-01 18:20, VE4PER / Andy wrote:

Anybody know if ubuntu server 16.04 LTS has got the mysql server
install via dist-upgrade  problem sorted out yet? and/or what the fix
is?

It flags a problem with mysql server 5.7 as being downloaded and
installed but generates an error because it was not configured which
then prevents re-installing it from scratch as there uncompleted 
error

flag does not clear when one purges any mysql packages to attempt a
clean re-install.

cheers
Andy



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Autostarting Rdairplay on bootup

2016-06-30 Thread Wayne Merricks

OK, we probably need to go back a few steps.

If you have the Rivendell init script working, the daemons should be 
loading fine.


After a reboot (without any startrivendell.sh or systemd stuff), is caed 
running?


ps -C caed

If not run caed manually and take note of the error it gives you. There 
are usually two things that stop it running:


/var/run/rivendell doesn't exist or you haven't run rdadmin yet.

If caed isn't running by itself on reboot then your init script isn't 
working for whatever reason.


On 29/06/16 21:31, Seth Stevenson wrote:

Ok wayne, Here is what I did.

I created a file called startrivendell.sh. In it is this

#!/bin/bash
sudo /etc/init.d/rivendell start
/usr/local/bin/rdairplay

I have it linked to the rdairplay icon in autostart folder

I edited visudo with this:

%bananapi ALL=(ALL) NOPASSWD: /home/bananapi/startrivendell.sh

Still this won't work on startup.

On Wed, Jun 29, 2016 at 12:54 PM, Wayne Merricks 
<waynemerri...@thevoiceasia.com 
<mailto:waynemerri...@thevoiceasia.com>> wrote:


You can do sudo if you add a NOPASSWD flag via visudo to the
script you need to run as sudo but thats getting ahead.

The Rivendell init script does three things:

1.  Create /var/run/rivendell and chown it to the rivendell group
2.  Run /usr/sbin/rdcleandirs (seems to be a relatively new thing,
I don't remember seeing it in v2.11)
3.  Runs caed, ripcd and rdcatchd

Other than the /var/run/rivendell bit you can run these as your
logged in user, they don't need root access.  In some ways if
you're using JACK it is actually easier not to run as root.

The Pi uses Debian Jessie these days and I think systemd runs on
that.  You could try these scripts I made for Ubuntu 16.04, in
principle it should work:

http://rivendell.tryphon.org/wiki/UbuntuXenial#Systemd_Services



On 29/06/16 17:41, Seth Stevenson wrote:

/user/local/bin/caed etc do not seem to start rivendell. Only
sudo /etc/init.d/rivendell start. I don't think you can have sudo
run in a script though, can you? Don't know what else to try.

On Wed, Jun 29, 2016 at 12:09 PM, Wayne Merricks
<waynemerri...@thevoiceasia.com
<mailto:waynemerri...@thevoiceasia.com>> wrote:

In theory you could replace the exec line with a script:

Exec=/home/pi/startRivendell.sh

#!/bin/bash
/usr/local/bin/caed &
/usr/local/bin/ripcd &
/usr/local/bin/rdcatchd &

sleep 5

/usr/local/bin/rdairplay

remember to chmod it (chmod ug+x /home/pi/startRivendell.sh)

You could also make the script wait until caed etc starts:

#!/bin/bash

#Wait for CAED
WAIT=1
while [ $WAIT == 1 ]; do

  pidof caed >/dev/null
  if [[ $? -ne 0 ]]; then
WAIT = 0
  fi

  #Wait 1 second before trying again
  sleep 1

done

#Load airplay
/usr/local/bin/rdairplay


On 29/06/16 16:05, Seth Stevenson wrote:

I did try the autostart route. It complained about missing
daemons. I this is because also in rc.local I have the
daemons starting  as /etc/init.d/rivendell start. From
looking at system log it seems that the programs in
autostart happens before rc.local runs so rdairplay in
autostart doesn't seem the daemons. I guess the question
then is how to maybe start the daemons before autostart
runs. I look around but didn't see any way autostarting via
gui. Thanks for your help!

    On Wed, Jun 29, 2016 at 10:42 AM, Wayne Merricks
<waynemerri...@thevoiceasia.com
<mailto:waynemerri...@thevoiceasia.com>> wrote:

don't bother with rc.local it doesn't always work and
its hard to figure out why.

I have an older pi running wheezy as opposed to the
newer jessie build.

Inside the users directory I have this:

/home/pi/.config/autostart

I'm not sure if any scripts work here but the standard
Linux desktop files work e.g. a file something like this:

[Desktop Entry]
Type=Application
Exec=/usr/local/bin/rdairplay

You can copy/paste an existing desktop file into here
and it should work.  Also have a look around your system
settings for startup applications, if you have that (I
think the newer Pi OS' do) then just use the GUI to do it.



On 29/06/16 15:32, Seth Stevenson wrote:

Hi all,

I have been pulling my hair out trying to autostart
rdairplay on a pi. I have created a script to do this
called rdairplay located at /home/bananapi. I then
added the script to rc.local like this. sudo sh
/etc/init.d/rdairplay. I then 

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Wayne Merricks
You can do sudo if you add a NOPASSWD flag via visudo to the script you 
need to run as sudo but thats getting ahead.


The Rivendell init script does three things:

1.  Create /var/run/rivendell and chown it to the rivendell group
2.  Run /usr/sbin/rdcleandirs (seems to be a relatively new thing, I 
don't remember seeing it in v2.11)

3.  Runs caed, ripcd and rdcatchd

Other than the /var/run/rivendell bit you can run these as your logged 
in user, they don't need root access.  In some ways if you're using JACK 
it is actually easier not to run as root.


The Pi uses Debian Jessie these days and I think systemd runs on that.  
You could try these scripts I made for Ubuntu 16.04, in principle it 
should work:


http://rivendell.tryphon.org/wiki/UbuntuXenial#Systemd_Services


On 29/06/16 17:41, Seth Stevenson wrote:
/user/local/bin/caed etc do not seem to start rivendell. Only sudo 
/etc/init.d/rivendell start. I don't think you can have sudo run in a 
script though, can you? Don't know what else to try.


On Wed, Jun 29, 2016 at 12:09 PM, Wayne Merricks 
<waynemerri...@thevoiceasia.com 
<mailto:waynemerri...@thevoiceasia.com>> wrote:


In theory you could replace the exec line with a script:

Exec=/home/pi/startRivendell.sh

#!/bin/bash
/usr/local/bin/caed &
/usr/local/bin/ripcd &
/usr/local/bin/rdcatchd &

sleep 5

/usr/local/bin/rdairplay

remember to chmod it (chmod ug+x /home/pi/startRivendell.sh)

You could also make the script wait until caed etc starts:

#!/bin/bash

#Wait for CAED
WAIT=1
while [ $WAIT == 1 ]; do

  pidof caed >/dev/null
  if [[ $? -ne 0 ]]; then
WAIT = 0
  fi

  #Wait 1 second before trying again
  sleep 1

done

#Load airplay
/usr/local/bin/rdairplay


On 29/06/16 16:05, Seth Stevenson wrote:

I did try the autostart route. It complained about missing
daemons. I this is because also in rc.local I have the daemons
starting  as /etc/init.d/rivendell start. From looking at system
log it seems that the programs in autostart happens before
rc.local runs so rdairplay in autostart doesn't seem the daemons.
I guess the question then is how to maybe start the daemons
before autostart runs. I look around but didn't see any way
autostarting via gui. Thanks for your help!

On Wed, Jun 29, 2016 at 10:42 AM, Wayne Merricks
<waynemerri...@thevoiceasia.com
<mailto:waynemerri...@thevoiceasia.com>> wrote:

don't bother with rc.local it doesn't always work and its
hard to figure out why.

I have an older pi running wheezy as opposed to the newer
jessie build.

Inside the users directory I have this:

/home/pi/.config/autostart

I'm not sure if any scripts work here but the standard Linux
desktop files work e.g. a file something like this:

[Desktop Entry]
Type=Application
Exec=/usr/local/bin/rdairplay

You can copy/paste an existing desktop file into here and it
should work.  Also have a look around your system settings
for startup applications, if you have that (I think the newer
Pi OS' do) then just use the GUI to do it.



On 29/06/16 15:32, Seth Stevenson wrote:

Hi all,

I have been pulling my hair out trying to autostart
rdairplay on a pi. I have created a script to do this called
rdairplay located at /home/bananapi. I then added the script
to rc.local like this. sudo sh /etc/init.d/rdairplay. I then
go to terminal and run sudo /etc/init.d/rc.local start and
it runs fine and rdairplay comes up. However when I reboot
it does not run the rdairplay application. I have tried
everything I know. Why would it run manually, but not on
reboot. Is there a better or different way to do this?

-- 
Seth Stevenson



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
<mailto:Rivendell-dev@lists.rivendellaudio.org>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
<mailto:Rivendell-dev@lists.rivendellaudio.org>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




-- 
Seth Stevenson



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
<mailto:Rivendell-dev@lists.rivendellaudio.org>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




--
Seth Stevenson


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Wayne Merricks

In theory you could replace the exec line with a script:

Exec=/home/pi/startRivendell.sh

#!/bin/bash
/usr/local/bin/caed &
/usr/local/bin/ripcd &
/usr/local/bin/rdcatchd &

sleep 5

/usr/local/bin/rdairplay

remember to chmod it (chmod ug+x /home/pi/startRivendell.sh)

You could also make the script wait until caed etc starts:

#!/bin/bash

#Wait for CAED
WAIT=1
while [ $WAIT == 1 ]; do

  pidof caed >/dev/null
  if [[ $? -ne 0 ]]; then
WAIT = 0
  fi

  #Wait 1 second before trying again
  sleep 1

done

#Load airplay
/usr/local/bin/rdairplay

On 29/06/16 16:05, Seth Stevenson wrote:
I did try the autostart route. It complained about missing daemons. I 
this is because also in rc.local I have the daemons starting  as 
/etc/init.d/rivendell start. From looking at system log it seems that 
the programs in autostart happens before rc.local runs so rdairplay in 
autostart doesn't seem the daemons. I guess the question then is how 
to maybe start the daemons before autostart runs. I look around but 
didn't see any way autostarting via gui. Thanks for your help!


On Wed, Jun 29, 2016 at 10:42 AM, Wayne Merricks 
<waynemerri...@thevoiceasia.com 
<mailto:waynemerri...@thevoiceasia.com>> wrote:


don't bother with rc.local it doesn't always work and its hard to
figure out why.

I have an older pi running wheezy as opposed to the newer jessie
build.

Inside the users directory I have this:

/home/pi/.config/autostart

I'm not sure if any scripts work here but the standard Linux
desktop files work e.g. a file something like this:

[Desktop Entry]
Type=Application
Exec=/usr/local/bin/rdairplay

You can copy/paste an existing desktop file into here and it
should work.  Also have a look around your system settings for
startup applications, if you have that (I think the newer Pi OS'
do) then just use the GUI to do it.



On 29/06/16 15:32, Seth Stevenson wrote:

Hi all,

I have been pulling my hair out trying to autostart rdairplay on
a pi. I have created a script to do this called rdairplay located
at /home/bananapi. I then added the script to rc.local like this.
sudo sh /etc/init.d/rdairplay. I then go to terminal and run sudo
/etc/init.d/rc.local start and it runs fine and rdairplay comes
up. However when I reboot it does not run the rdairplay
application. I have tried everything I know. Why would it run
manually, but not on reboot. Is there a better or different way
to do this?

-- 
Seth Stevenson



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
<mailto:Rivendell-dev@lists.rivendellaudio.org>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
<mailto:Rivendell-dev@lists.rivendellaudio.org>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




--
Seth Stevenson


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Wayne Merricks
don't bother with rc.local it doesn't always work and its hard to figure 
out why.


I have an older pi running wheezy as opposed to the newer jessie build.

Inside the users directory I have this:

/home/pi/.config/autostart

I'm not sure if any scripts work here but the standard Linux desktop 
files work e.g. a file something like this:


[Desktop Entry]
Type=Application
Exec=/usr/local/bin/rdairplay

You can copy/paste an existing desktop file into here and it should 
work.  Also have a look around your system settings for startup 
applications, if you have that (I think the newer Pi OS' do) then just 
use the GUI to do it.



On 29/06/16 15:32, Seth Stevenson wrote:

Hi all,

I have been pulling my hair out trying to autostart rdairplay on a pi. 
I have created a script to do this called rdairplay located at 
/home/bananapi. I then added the script to rc.local like this. sudo sh 
/etc/init.d/rdairplay. I then go to terminal and run sudo 
/etc/init.d/rc.local start and it runs fine and rdairplay comes up. 
However when I reboot it does not run the rdairplay application. I 
have tried everything I know. Why would it run manually, but not on 
reboot. Is there a better or different way to do this?


--
Seth Stevenson


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Mp4/aac

2016-06-29 Thread Wayne Merricks
I don't know about the CentOS packages but from a source install if you 
have libmp4v2 and libfaad (Debian names, they are probably called 
something else in CentOS) you then have to run ./configure to pick up 
the changes followed by a make and make install.  This has been the case 
since at least 2.13.0 (maybe earlier).


I would assume the packages were built with mp4 support but if they 
weren't it won't work at all without a recompile.


On 29/06/16 14:03, Stan Fotinos wrote:
I downloaded the 2 rpms from repos on the net for cents 6. I did a 
reboot and looked in rdadmin but nothing is showing. Any ideas?




On 29 June 2016 8:34:54 pm AWST, John Anderson 
 wrote:


I don't think so...check under rdadmin and see if they are there
in the import section... (i put them in a while back, my setups
are centos, and there wasn't a problem)...Where did you find them,
i didn't realize there were "really out there"


On Tuesday, June 28, 2016 10:17 PM, Stan Fotinos
 wrote:


Hi all

I have added the faad2 and mp4v2 packages to the Rivendell install
v2.14.1 centos 6. Do I need to do/configure anything else to be
able to import mp4/aac files?

Kind regards

Stan


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org

http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDAirplay froze, gam_server?

2016-06-24 Thread Wayne Merricks
If you're stuck, Debian/Ubuntu and others are a quick install with the 
tryphon repos:


sudo apt-get install rivendell rivendell-server

Obviously configuring and mounting NFS shares can take a bit longer.  If 
you're going Ubuntu start with Ubuntu Server and stick to xfce or lxde.


On 24/06/16 13:26, Tom Van Gorkom wrote:
OK. I am praying that Fred and/or others find a solution fast but 
thinking of building an alternate machine to use in place of our main 
airplay. It ran fine all night and when the operator came in this 
morning and began a live show it all crashed. He rebooted and it said 
it was missing daemons. On second reboot it all came back and is 
working fine for the moment.


Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Fri, Jun 24, 2016 at 7:21 AM, Cowboy > wrote:


On Thu, 23 Jun 2016 18:27:40 -0500
Tom Van Gorkom > wrote:

> I hate to admit that I didn't even notice that it updated to the new
> version when I applied all the hundreds of updates in waiting
for the
> next riv version.  Still learning...

 I've said time and time again, that I don't generally apply any
updates
 without a good reason to do so. If it ain't broke, don't fix it.
 This applies especially to the revenue stream.
 We didn't notice it, either, but we weren't looking for it.

--
Cowboy

http://cowboy.cwf1.com

Uncle Ed's Rule of Thumb:
Never use your thumb for a rule.  You'll either hit it with a
hammer or get a splinter in it.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org

http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Appliance Versions...

2016-06-23 Thread Wayne Merricks
I usually have Ubuntu 14.04 Server which is probably not much different 
to Debian 8.  I don't use 16.04 for anything critical in house but 
someone on the list wanted to use Rivendell on it and I didn't think it 
would be too difficult to sort out (it isn't but the MySQL date/time 
changes were unexpected and I still don't know why fonts won't respect 
system settings).


I do have one exception, I use Mattermost for show message aggregation 
(Email, Phones, Facebook and Twitter), it actually requires MySQL 5.6 or 
5.7 for some stupid reason so that was my first foray into lets upgrade 
14.04 oh crap everything broke (seriously everything, apache, mysql and 
php all failed and thats all I had on this internal web server/dev 
machine).  It was fairly trivial to fix but it certainly wasn't 
something I expected to die.


In the past newer kernels for hardware support on client machines are 
usually the only other reason I've used Ubuntu.


Mattermost is here if you want to check it out: 
http://www.mattermost.org.  It is meant to be some sort of internal work 
chat thing instead of using emails but I found it more useful as a radio 
presenter aggregation screen.


I installed an XMPP (Phones) and Email plugin.  Then wrote my own one 
for Facebook, it has really helped save us from death by dozens of 
screens (Rivendell, Email, Facebook/Social, Phones, Video Mixing + 
Autocue and random web site stuff for show purposes can eat through 5+ 
screens very easily).


On 2016-06-23 19:20, Rob Landry wrote:


Why do folks prefer Ubuntu to Debian? For a mission-critical
application like radio automation, I prefer to rely on a more
conservative distribution that might not have the latest bells and
whistles but is rock stable. Debian 8 is still on mysql 5.5.


Rob


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Tryphon Debian Repository

2016-06-22 Thread Wayne Merricks

Hi again,

I'll try to sit down and build from scratch to double check everything 
over the next couple of days and report back on any weirdness.


On 22/06/16 12:38, Wayne Merricks wrote:

Hi,

I've not used Riv in anger to double check everything.  Logs, log 
generation and general on air usage seem fine to me (airplay, library 
etc).  However, I have never used voice tracking or the extra tools 
like rdcatch (and whatever uses the FEED tables) so I really don't 
know for sure.


Obviously there is no guarantee I caught every code reference that 
might need changes but I would say the patches so far have turned 
Rivendell from encountering bugs in general use (can't make/alter 
logs, can't quit airplay etc) to seems fine for the normal stuff.


I also haven't tested on older versions of MySQL or MariaDB but I 
don't see how the code changes would impact those (as you know it was 
mostly wrapping NULL in the SQL statements).


On 21/06/16 20:39, Fred Gleason wrote:
On Jun 21, 2016, at 08:06, Wayne Merricks 
<waynemerri...@thevoiceasia.com> wrote:


PPAs etc might not be a bad idea however I recommend holding off for 
a while, especially if you're planning to use Ubuntu 16.04.  The 
MySQL changes weren't very Rivendell friendly, a bunch of patches 
have fixed the worst of these offenders however I guess these won't 
be in the general release until whatever comes after 2.14.1.


Are these ready for prime time on 16.04?  If so, I’ll start preparing 
a v2.14.2 release.


Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   | Paravel Systems |
|--|
|  A room without books is like a body without a soul. |
| -- Cicero|
|--|



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Tryphon Debian Repository

2016-06-21 Thread Wayne Merricks

Hi,

PPAs etc might not be a bad idea however I recommend holding off for a 
while, especially if you're planning to use Ubuntu 16.04.  The MySQL 
changes weren't very Rivendell friendly, a bunch of patches have fixed 
the worst of these offenders however I guess these won't be in the 
general release until whatever comes after 2.14.1.


Plus if you're going this route of PPAs on 16.04 it might be worth 
taking the plunge and creating a snappy package, I know there are some 
politics involved with snaps but it seems to be getting fairly universal 
take up on the major distros already.  Might be a bit premature for this 
though, I haven't had a lot of time to look into it.


On 2016-06-21 11:00, Andy Higginson wrote:

Hi,

I've been looking at Rivendell for some time now and have it
successfully running on a client / server setup under Ubuntu using 
the

very useful Tryphon repositories (thank you for these).  It seems
however that the Tryphon repositories are falling behind the current
releases.  It also seems that Alban has been rather quiet of late.  
Is

he OK, and are the repositories going to be updated?  Alternatively,
is it time to look at setting up an Ubuntu PPA on launchpad for
Rivendell?

Sorry if this has been discussed before however I've not seen
anything mentioned in any of the archives.

Many Thanks

Andy


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Synchronizing carts and logs

2016-06-13 Thread Wayne Merricks
I use syncthing to handle the physical file transfers but thats the 
easy bit.  Its a judgement call how you want to update the DB after 
that.  You could set up slave replication in MySQL but then if you slave 
client B to A and you write to B it all breaks.


Obviously CART/CUT info changes all the time (number of plays, last 
played etc), you've also got either the _STACK or _SRT table used in the 
play out reports, potential changes on the sound panels in airplay etc 
etc.


If you could list out what you need replicating between the two, which 
bits should always be the most current version on the master and which 
bits your happy to leave as whatever is the newest time stamp I'm sure 
you could do some MySQL bash/perl scripting magic to get it sorted but 
thats the best I can come up with.


To be honest I kept it simple, I just overwrite the remote clients 
every night with the home server database.  I put in an exception for 
the sound panels, the remote presenters use panels 11 - 20 and home is 1 
- 10.  That way I can do a dump of the panels table and re-insert after 
the mysql import every night.


You do lose any remote files that were imported by drop box stuff 
though.


On 2016-06-13 19:26, Rob Landry wrote:

I had a discussion with a Rivendell user in western New Hampshire
this morning -- not one of my clients -- who said he wished Rivendell
had the ability to transfer files with metadata seamlessly from one
server to another, as (he claims) Wide Orbit and NexGen do.

I mentioned that I wrote a couple of Perl scripts to do this
(actually, one script handles files, while the other handles logs). I
use the METADATA_DATETIME field in the CART table and the
MODIFIED_DATETIME field in LOGS to determine which copy of a record 
is

more recent, and synchronize accordingly. The only hitch is that it
isn't possible to delete a log or cart, since the time stamp for a
record is deleted with the record. If we need to delete something, we
must delete it manually from both machines simultaneously. While
that's not a problem with just two servers, it might be a challenge
were we synchronizing a dozen of them.

What concerns me is upgrading to new versions of Rivendell and the
need to go through both scripts to see if any changes have been made
to the CART, CUTS, LOGS, or *_LOG tables that might break the 
scripts.


If a future database schema omits, say, METADATA_DATETIME, one or
both scripts might break irreparably.

Is there a better way to solve the synchronization problem (say,
through the Web interface)?

Doing a database backup/restore once a day and rsync'ing /var/snd, as
some have suggested, is impractical.

I am curious how other RD users have approached this problem.


Rob


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Apache Conf File Change

2016-06-13 Thread Wayne Merricks
This in theory is just an Apache setup issue.  You just need to enable 
the mod and restart apache, it should load every time after that.


sudo a2enmod cgid
sudo service apache2 restart

On 12/06/16 23:53, Nick Andre wrote:
The apache conf file for Rivendell doesn't include any logic to handle 
the case that mod_cgi hasn't been properly loaded. Can someone who has 
code access wrap it in an if module loaded statement that won't load 
the conf if mod_cgi is lacking? That way it will trigger a 404 or some 
such error.


If this doesn't happen, the rivendell conf file can be loaded and when 
anything sends a POST to rdxport.cgi apache just serves you 
rdxport.cgi and reports a status code of 200 (essentially a silent 
failure). Worse, rdimport assumes the import was successful and 
deletes the source even though rdxport didn't do anything.


--Nick


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Australia

2016-06-12 Thread Wayne Merricks

Hi,

I hear this phrase quite often and I hope I can get my point across 
without stepping on anyone's toes or causing offence (it is certainly 
not intended and I apologise in advance).


The main benefit to us as a radio station in the UK is not that 
Rivendell is "just as great as a commercial software".  In many ways 
Rivendell is above and beyond what we used to use.  Being open source 
and with the RML plugins you get with Riv, we can make it do anything we 
want and talk to any system we can dream up.  It also uses standard 
database and file storage not some weird big blob of file that magically 
stores it all (and then breaks shortening your life by at least 10 years 
over the course of two weeks).


We have it plugged into our website, it is on internal serial 
connections/GPIO lines and I'm currently working on a way of getting 
now/next with appropriate youtube links into Facebook potentially for 
the Facebook live stuff.  I'm also trying to get all of that working 
with mattermost so I can aggregate the show comms rather than having 
emails in this window, facebook here, phone stuff here, internal here 
etc etc.


With the commercial offerings you just can't do this kind of thing.  
You get your option in the preferences menu and if it is not the option 
you want, tough.  You might be able to email the developers and wait to 
buy the upgrade but that's the best case scenario.  Even better, you 
won't wake up tomorrow to find that somebody decided to remove all the 
stuff you use in Rivendell because it has to be in the app store and 
used on tablets or Windows 10 only.


Even if Fred and the team did go crazy one day, you could just fork the 
code on github and continue to use Rivendell the way you want to use it, 
not the way a company says you have to use it.


It is a bit of a culture shock to go Linux if you've never messed with 
it before but Paravel has tech support (and systems) you can use if you 
need some extra help.


Anyway ramble mode off, enjoy what's left of your weekends or if you're 
unlucky, Friday probably isn't too far away.


Regards,

Wayne

On 2016-06-12 12:38, Lee Baker wrote:

Hi Peter,

We are a community radio station in Brisbane and are running
Rivendell.

Its a great system and works just as great as a commercial software.

From a community radio perspective, its very simple and easy for
volunteers to wrap their head around it.

Cheers,
Lee

On Fri, 10 Jun 2016 10:26 am Peter Bell  wrote:


Hi,

We are looking at implementing Rivendell to replace an ageing NETIA
system, and I have been asked if there are any stations in
Australia
using Rivendell, so:

Are there any radio stations in Australia using Rivendell?

Regards,

Peter.
IT dept Fine Music 102.5 (2MBS-FM)

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org [1]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[2]



Links:
--
[1] mailto:Rivendell-dev@lists.rivendellaudio.org
[2] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[3] mailto:peter.b...@finemusicfm.com


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Centos 6 ALSA Updates

2016-06-09 Thread Wayne Merricks
Just as an FYI to any Ubuntu server users, I had to go through the pain 
of updating a web server to Ubuntu 16.04.  16.04 really should not be 
used in production unless you're willing to work around breakages during 
the upgrade.


I've had minor issues in the past with obscure bits but MySQL, PHP and 
Apache all breaking/not installing properly on the update is something 
obvious I think should have been fixed before release. Hopefully it will 
change with the first point release as previously I've updated various 
machines as far back as 10.04 over the years without issue so this break 
was completely unexpected.


On 09/06/16 12:00, Cowboy wrote:

On Thursday 09 June 2016 06:30:44 am Robert Jeffares wrote:

run updates on a non essential machine, then
others one by one. Generally I don't make any changes until they have
been out for a month or so.

  Same here, ever since the notorious WinNT SP2 update which broke
  NT hopelessly on many mission critical machines world wide, and was
  almost immediately recalled, but not before much damage was done.

  Now, it's very true, that *was* Micro$oft, but these days when too many
  "programmers" have a Micro$oft mentality, automatic updates has
  proven too often to be a very bad thing !

  I've had some trouble with all versions of anyone's distro, no matter the OS,
  including CentOS 7, which most recently broke the stock included e-mail
  client, while fixing the Vbox DKMS which the previous update broke.
  M$ recently seems to be deliberately breaking everything by putting
  a forced update to the seriously flawed Win10 into everything.

  Bottom line : If you're going to assume the responsibility of being
  or acting like a sysadmin, then it's YOUR responsibility to test and
  re-test any and everything deployed into the revenue stream.
  "Automatic updates" is just irresponsible, almost to a criminally negligent 
level.

  Red Hat does a pretty good job, but you have to remember who they
  are doing it for, and it's not you !
  Debian is much better, but they do have their political agenda.
  Ubuntu, well, not even worth mentioning.



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] autoload applications

2016-06-04 Thread Wayne Merricks

Hi,

I use the Ubuntu start up applications to load QJackCtl.

Then I use the jack pre/post scripts to do the rest.

Jack Post Start:

#!/bin/bash

#Start Rivendell in the background
/usr/bin/rdairplay &

#Wait 10 seconds for airplay to load
sleep 10

#Start Playback
~/scripts/startLog.sh &

Start Log is some time calculations so that the log starts and plays at 
the right point.


You can either use jack_connect in scripts or set up a patch bay to 
make sure everything is hooked up correctly.


On 2016-06-04 05:09, jorge soto wrote:

 Im trying to get a few applications to autoload sequentially on
startup on ubuntu 14 but it works very erratically.  Here is what I
have scripted:

#!/bin/bash

/usr/bin/qjackctl &

sleep 25;

/home/jorge/scripts/xmitt-processor.sh &

sleep 30;

/usr/bin/rdairplay &

sleep 15;

/usr/bin/butt &

sleep 10;

exit 0

the xmit-processor.sh is a  script to load calf-plugin presets but
this is the part of the main script the fails most of the time.
Everything loads fine but calf does not. Any ideas? Or if some one 
has

a working script that is willing to share?
thanx.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Desperately need help building clocks for Live Remote (outside broadcast)

2016-06-02 Thread Wayne Merricks
The skipping thing might be related to timed events.  As noted in the 
other reply there are many ways to do it.  I use the AUX log.


Normally I do this:

AUX
59:55 --> Macro Fade MAIN log down over 5 seconds and stop

MAIN
00:00 --> Hard Timed Start (Stop transition if not yet time)

But for midnight I handle it differently:

MAIN
59:50 --> Make Next on the LOG CHAIN event (I use a marker/empty event 
as the MN target)


AUX

59:55 --> Fade Down MAIN log and Play Next

MAIN - NEW LOG
00:00 --> This is not a timed event, otherwise you can get log glitches 
due to machine timings (not fun when you run out of log at silly am).


The important bits are the make next and play next for the log chain 
followed by no timed event for the start of the new log (midnight).




On 2016-06-02 11:28, Brandon wrote:

Hope everyone had a relaxing Memorial weekend! 

Following James Harrisons OpenOB tutorial [1] (Thanks James)
and this wiki article [2] to capture the input of the sound card and
route it to RDAirPlay, we managed to pull off our first live remote
last night!!! 

HERES WHAT WEVE DONE SO FAR... 

* Created slightly modified* macro cart, based on the wiki above, in
RDLibrary, to capture input of sound card and route it to RDAirPlay
named REMOTE ON -- *We flip-flopped lines 3 and 4 in the RML macro,
and extended the time to wait until the intro was finished playing
before stopping RDAirPlay. (working)
* Created macro cart in RDLibrary to shut off capture of sound card
input named REMOTE OFF (working)
* Created an event in RDLogManager with a hard start time set to
make next with a pre-import cart for REMOTE ON.
* Created an event in RDLogManager with a pre-import cart for REMOTE
OFF.
* Built 3 generic (non-music) clocks as follows:
* Live remote first hour: Produced :20 intro for the remote, then
REMOTE ON from :20 to 59:59
* During live remote: between the first and last hour of the remote
that does nothing (except keep RDAirPlay on time and load the log at
midnight) 
	* Live remote last hour: does nothing for the first 59:40, then 
plays

a TOH ID, then REMOTE OFF. It should automatically advance to the 2AM
hour of local programming. 
* Scheduled clocks in the grid.

9PM went off without a hitch. Intro played and REMOTE ON routed
capture of sound card to RDAirPlay. All programming  for the 5 hour
duration was sent via OpenOB back to the studio and it sounded
AMAZING!!! But things quickly devolved and the end was very sloppy.

Steps 1-6 work. But steps 7-9 seem to get skipped over and fail
miserably. Meaning, the log doesnt load at Midnight and RDAirPlay
skips through the commands and plays the 1:59 am TOH at midnight. 
Dead

air at 2:00 requiring a manual log load and start. :-/

HERES WHAT WE NEED TO HAPPEN: 

FIRST HOUR OF REMOTE (9:00 PM) 

* 1st clock position:  :00 - :20 produced intro for remote
* 2nd clock position: :20 - 59:59 REMOTE ON 

HOURS 2, 3, AND 4 (10PM, 11PM AND 12MN)

* Timed event with NO AUDIO for 59:59. 

* Do nothing, but keep time for RDAirPlay and load log at midnight.
* Maybe 11PM needs a dedicated clock for log load?

LAST HOUR OF REMOTE (1 AM)

* 1st position: 00: - :05 REMOTE ON (Do nothing for 59:35)
* 2nd position: 59:40 TOH ID
* 3rd position: REMOTE OFF
* Fire first local song of 2AM clock

Any help would me appreciated!

Thank you,
Brandon



Links:
--
[1] https://jamesharrison.github.io/openob/
[2]

http://rivendell.tryphon.org/wiki/How_do_I_make_Rivendell_play_Audio_from_the_%22Line_In%22_of_the_Sound_Card_on_the_air%3F


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] A Tale of Two RDBMSes [WAS: Ubuntu 16.04 - and at the end the font...]

2016-06-01 Thread Wayne Merricks
I'm working (slowly) on a bunch of source code tweaks that hopefully 
should be Maria/MySQL cross compatible.  Most of the changes are fairly 
trivial, hopefully I can get a pull request going in the near future.


On the positive side, I found some unrelated bugs that I'm also trying 
to fix so Riv will have a few less edge cases that cause grief in the 
future.


On 01/06/16 13:55, Fred Gleason wrote:
On Jun 1, 2016, at 07:13, Rob Landry <41001...@interpring.com 
> wrote:



Is there a reason why date/time columns in Rivendell are set to NOT NULL?


It’s a function of the database schema.  If the DB engine knows that 
specific fields can *never* be NULL, it allows for certain 
optimizations that can improve the speed of the query.  The problem 
right now is that MariaDB and the latest versions of MySQL have 
significantly different interpretations of what NULL actually means in 
date/time fields.  For the gory details, see:


https://github.com/ElvishArtisan/rivendell/issues/121


I suppose it's a good thing that the latest version of CentOS seems 
to come with MariaDB instead of MySQL.


Actually, it’s a major PITR.  I’d have been far happier if RHEL had 
stuck with stock MySQL.  That way, we could just fix this whole thing 
and move on.  As it is, we now have to test against *two* different 
RDBMSes.  I don’t understand the rationale for the whole MariaDB thing 
anyway.  “We don’t like Larry Ellison” is not a valid reason for 
forking one of the central pieces of FOSS infrastructure.


Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
| At the beginning of the week, we sealed ten BSD programmers into a  |
| computer room with a single distribution of BSD Unix. Upon opening  |
| the room after seven days, we found all ten programmers dead,   |
| clutching each others' throats, and thirteen new flavors of BSD.|
|   -- Anonymous |
|--|


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Ubuntu 16.04 - and at the end the font...

2016-05-31 Thread Wayne Merricks
The problem is not what value but the way it handles NULL values when 
the column is set to NOT NULL.


In older versions, NULL or no value set on a date or time or datetime 
just becomes -00-00 00:00:00 (or a variation).  In 5.7 it errors 
saying "this can't be NULL" and just stops.


I've just updated the github issue (121).  Thankfully the only place 
I've found (after a lot of searching) that breaks are the *_LOG and LOGS 
tables (there are some others but the code that deals with them 
explicitly sets date/time/datetime values).


The sticking point is I'm not sure how Riv decides what happens with 
LOG start/stop dates that are in the past (it obviously was fine with 
-00-00).  More importantly I don't yet know how it purges logs 
(again because -00-00 doesn't seem to get purged).  Unfortunately, 
MySQL v5.7 doesn't let you set a default date as -00-00 (it says 
invalid date).


So yeah I'm carefully trying to make changes without breaking stuff.

On 2016-05-31 21:18, Rob Landry wrote:

On Fri, 27 May 2016, Wayne Merricks wrote:

There are quite a few different database issues with Rivendell where 
older versions of MySQL implied NULL values or converted NULL dates to 
-00-00 00:00:00 but with MySQL v5.7 you can't do that any more (at 
best -00-00 gives you an invalid date error).


So, if you add a record to a table containing a date field without
specifying a value for that field, what value does MySQL 5.7 assume?


Rob


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Ubuntu 16.04 - and at the end the font...

2016-05-30 Thread Wayne Merricks

If you can avoid upgrading to MySQL v5.7 you should be fine.

There is a very big list of sql to be checked across about 20 different 
tables, so it might take a while to verify Riv is happy with the date 
changes needed.


On 28/05/16 09:31, Manuel wrote:

Lorne Tyndale  writes:


Wayne,


Hi both,

Noted you tip, Lorne. I'll try in the near future.
In the meantime, I did an experience:
Installed Trusty in another partition and installled Rivendell 2.10.3 using
the Tryphon packages. Everything works fine, but the system crashes when I
play RdAirplay. It's a hardware issue and I knew it before on Elementary
Freya. I have no wifi and the Nvidia 960M doesn't like older kernels. Ok,
not a surprise.
Then, I forced an upgrade to Xenial (not a freash install). Got a lot of
issues, mainly while updating mysql.
The hardware issues are gone, Nvidia works fine, Rivendell plays with no
problems RdAirplay, but when it comes to modify logs, it lets you do
anything, you save and then you realize that actually nothing has been
saved. You can't also add logs. Every new name you type, it says "Log
already exists!".
The same issue I described before.
No doubt: it's a mysql problem. I may try to start from scratch and avoid
the mysql update to see what happens.

Regards,
Manuel

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Ubuntu 16.04 - and at the end the font...

2016-05-27 Thread Wayne Merricks

Hi,

There are quite a few different database issues with Rivendell where 
older versions of MySQL implied NULL values or converted NULL dates to 
-00-00 00:00:00 but with MySQL v5.7 you can't do that any more (at 
best -00-00 gives you an invalid date error).


I assumed it was only when creating a new database but it makes sense 
all logs have the same problem.  I will have to go through the code for 
logs because just doing a quick test I have issues with a few fields in 
LOGS and the blah_LOG table you create if you make a new "blah" log.


Looking at the structure of the tables, this might also give errors when 
dealing with DATE and DATETIME fields all across the Rivendell database 
so quite a lot to track down I guess.


More things for the github issues page either way.

I also can't figure out why qtconfig doesn't seem to change the look and 
feel of Rivendell at all but thats a problem for another day.


Regards,

Wayne

On 27/05/16 12:51, Manuel wrote:

Wayne Merricks <waynemerricks@...> writes:


Polymer isn't easy to get hold of, it was last updated in 2005 I think.
When you try to compile it under Xenial, you get an error missing
lqt-mt.  This used to be part of the libqt3-mt-dev package but I can't
find it at the moment for Ubuntu.

Don't worry, Wayne. I decided to wait for more stability on this subject.
I've just discovered that I cannot add logs. For every one I try to add it
says "Log Already Exists!".
I'll keep on using v2.10.3 on other machine.

Thanks for everything.




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Ubuntu 16.04 - and at the end the font...

2016-05-27 Thread Wayne Merricks
Polymer isn't easy to get hold of, it was last updated in 2005 I think.  
When you try to compile it under Xenial, you get an error missing 
lqt-mt.  This used to be part of the libqt3-mt-dev package but I can't 
find it at the moment for Ubuntu.


On 27/05/16 08:11, Manuel wrote:

I would recommend Wayne Merrick's wiki to install Rivendell 2.13.0 on Ubuntu
Xenial. It does work and you can find it at
http://rivendell.tryphon.org/wiki/UbuntuXenial

But at the and I found that the font displayed is serif and hard to read.
Tried the options for older distros with no success. Qtconfig has no polymer
option and seems to ignore my attempts to change anything. It simply doesn't
work and doesn't save changes.

Any ideas to improve the look? I don't mind to try everything, since I'm
using a partition for tests only. I have older versions running on other
machines.

Best regards,
Manuel Melo

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] I am starting to hate USB

2016-05-26 Thread Wayne Merricks
How do you get on if you use something like screen to talk to the 
serial connection directly?


The broadcast tools switchers have very simple serial commands you can 
use so Riv is not strictly necessary.


I use this:

http://rivendell.tryphon.org/wiki/Switchers#Unsupported_Switchers

Then I have macros that instead of doing ST 0 1 2, I just run my script 
instead (RN 1 2).  If you're already using a script to remap the USB 
then using screen like this might work:


screen -fn -L -d -m -S switcher /dev/ttyUSB0 9600 (<- connect to the 
port do this after you remap)

screen -S switcher -X stuff *0012  (<- send input 01 to output 2)

On 2016-05-26 15:47, Rob Landry wrote:

WCRI has a Rivendell machine that uses a USB-to-serial converter to
talk to a Broadcast Tools audio switcher. The machine occasionally
"forgets" the USB-to-serial converter (which is normally 
/dev/ttyUSB0)

and then wakes up and remaps it as /dev/ttyUSB1.

Now, I have a udev rule in place that automatically creates a symlink
o whatever device the converter gets mapped as... but if it gets
remapped while rdairplay is running, rdairplay can't talk to the
switcher until I stop and restart the Rivendell service.

On Tuesday, I discovered that I could get around the problem by
stopping and restarting the ripcd daemon, so I set up a cron job to
detect the remapping of the USB-to-serial converter and autoatically
stop and restart ripcd.

That turned out to be a mistake; it seems to have caused rdairplay to
lose the ability to chain to the next day's log. Two days in a row 
the

station has gone silent at midnight, and we've had to load the log
manually.

The only solution I can think of is to use a machine with an actual
serial port.

Have any of y'all enocuntered this issue? If so, how did you deal 
with it?



Rob


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Troubles with fonts and key to close RDAirPlay

2016-05-23 Thread Wayne Merricks
Jack support is installed.  You will have to install qjackctl and stop 
the daemons running as root to actually use it though.


See the JACK sections of this page:

http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source

You can skip XFCE just run the scripts manually for your user e.g. if 
your user is manuel:


sudo ./003.install_qt.sh manuel
sudo ./004.install_rivendell.sh manuel

You will also have issues with Pulse Audio, again the wiki for Debian 6 
describes how to fix that.


On 23/05/16 13:58, Manuel wrote:

Wayne Merricks <waynemerricks@...> writes:



 Hi,
 There are more problems with the password SQL in the database.  Just
 checking it now to see if it is simple to fix.
 The fonts can be changed.  Run qtconfig and make your changes until
 it looks good for you.
 Regards,
 WayneOn 23/05/16 00:04, Jorge Páez wrote:



Hi Wayne,
I installed yesterday and noticed problems while creating the database.
I will check today.
Anyway, please let me know: may I use Jack? Should I install it before
building?
May I skip the installation of xfce? This is to be used on a single laptop
which is a gaming, so I won't have performance issues.

Thanks again for your nice work.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Troubles with fonts and key to close RDAirPlay

2016-05-23 Thread Wayne Merricks
Apologies for the list spam.  The UbuntuXenial scripts are updated to 
1.3 and contain patches for this problem.  I've also added the pull 
request on Github so hopefully nobody else has this problem going forwards.


Regards,

Wayne

On 23/05/16 12:42, Wayne Merricks wrote:
You also need to drop INSTANCE from the RDPANEL table (otherwise 
rdpanel seg faults)


mysql> alter table RDPANEL drop column INSTANCE;

This is a left over from older versions and if you followed the 
upgrade path it gets removed but starting from scratch with 2.13.0 it 
doesn't.


On 23/05/16 12:17, Wayne Merricks wrote:

Hi again,

Password issue.  Log into mysql and do this:

mysql -u rduser -pletmein Rivendell;

mysql> alter table RDAIRPLAY drop column INSTANCE;

It will work, will check with github why INSTANCE is there.

Regards,

Wayne

On 23/05/16 11:57, Wayne Merricks wrote:

Hi,

There are more problems with the password SQL in the database.  Just 
checking it now to see if it is simple to fix.


The fonts can be changed.  Run qtconfig and make your changes until 
it looks good for you.


Regards,

Wayne

On 23/05/16 00:04, Jorge Páez wrote:
After the installation of Rivendell 2.13.0 on Ubuntu 16.04 (clean 
installationof ubuntu) according the scripts published by Wayne 
Merricks (great job!), I have two problems that I can not solve.

Text fonts look very bad and it is difficult to read.
Secondly, when I try to close RDAirPlay, a menu ask me key!
I hope you can help me ... and sorry for my bad english.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Troubles with fonts and key to close RDAirPlay

2016-05-23 Thread Wayne Merricks
You also need to drop INSTANCE from the RDPANEL table (otherwise rdpanel 
seg faults)


mysql> alter table RDPANEL drop column INSTANCE;

This is a left over from older versions and if you followed the upgrade 
path it gets removed but starting from scratch with 2.13.0 it doesn't.


On 23/05/16 12:17, Wayne Merricks wrote:

Hi again,

Password issue.  Log into mysql and do this:

mysql -u rduser -pletmein Rivendell;

mysql> alter table RDAIRPLAY drop column INSTANCE;

It will work, will check with github why INSTANCE is there.

Regards,

Wayne

On 23/05/16 11:57, Wayne Merricks wrote:

Hi,

There are more problems with the password SQL in the database. Just 
checking it now to see if it is simple to fix.


The fonts can be changed.  Run qtconfig and make your changes until 
it looks good for you.


Regards,

Wayne

On 23/05/16 00:04, Jorge Páez wrote:
After the installation of Rivendell 2.13.0 on Ubuntu 16.04 (clean 
installationof ubuntu) according the scripts published by Wayne 
Merricks (great job!), I have two problems that I can not solve.

Text fonts look very bad and it is difficult to read.
Secondly, when I try to close RDAirPlay, a menu ask me key!
I hope you can help me ... and sorry for my bad english.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Troubles with fonts and key to close RDAirPlay

2016-05-23 Thread Wayne Merricks

Hi again,

Password issue.  Log into mysql and do this:

mysql -u rduser -pletmein Rivendell;

mysql> alter table RDAIRPLAY drop column INSTANCE;

It will work, will check with github why INSTANCE is there.

Regards,

Wayne

On 23/05/16 11:57, Wayne Merricks wrote:

Hi,

There are more problems with the password SQL in the database. Just 
checking it now to see if it is simple to fix.


The fonts can be changed.  Run qtconfig and make your changes until it 
looks good for you.


Regards,

Wayne

On 23/05/16 00:04, Jorge Páez wrote:
After the installation of Rivendell 2.13.0 on Ubuntu 16.04 (clean 
installationof ubuntu) according the scripts published by Wayne 
Merricks (great job!), I have two problems that I can not solve.

Text fonts look very bad and it is difficult to read.
Secondly, when I try to close RDAirPlay, a menu ask me key!
I hope you can help me ... and sorry for my bad english.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Troubles with fonts and key to close RDAirPlay

2016-05-23 Thread Wayne Merricks

Hi,

There are more problems with the password SQL in the database.  Just 
checking it now to see if it is simple to fix.


The fonts can be changed.  Run qtconfig and make your changes until it 
looks good for you.


Regards,

Wayne

On 23/05/16 00:04, Jorge Páez wrote:
After the installation of Rivendell 2.13.0 on Ubuntu 16.04 (clean 
installationof ubuntu) according the scripts published by Wayne 
Merricks (great job!), I have two problems that I can not solve.

Text fonts look very bad and it is difficult to read.
Secondly, when I try to close RDAirPlay, a menu ask me key!
I hope you can help me ... and sorry for my bad english.


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Problem ubuntu 16.04 LTS

2016-05-20 Thread Wayne Merricks

Hi David,

Thanks for the systemd links, it helped me sort out the last little bits 
I had going wrong.


I've uploaded all the scripts to github and updated the wiki entry.

Wiki here: http://rivendell.tryphon.org/wiki/UbuntuXenial
Github here: https://github.com/waynemerricks/rivendellubuntuxenial

I recommend installing Ubuntu 16.04 server rather than the desktop 
flavours.  Once you've got that installed, download the script package 
and unzip to your home dir so that it is ~/install, then just run sudo 
./001.install.sh my_riv_user_name


About 20minutes later you'll have QT3, Rivendell 2.13.0 and a minimal XFCE

Remember to run sudo rdalsconfig and rdadmin (reboot if you get an 
unable to start daemons error).


Regards,

Wayne

On 20/05/16 04:44, David Klann wrote:

Hi Wayne,

I have a set of systemd unit files for Rivendell. Feel free to snag them
from the GitHub repo:
https://github.com/opensourceradio/ram/tree/master/etc/systemd/system

There certainly may be other ways to implement it, but I created a
"rivendell.target" in which each of the three rivendell services lives.
Let me know if you have questions about how I did it.

Thanks for documenting this process!

   ~David



On 05/19/2016 05:44 PM, Wayne Merricks wrote:

Hi again,

I finally have some instructions up on the Rivendell wiki:

http://rivendell.tryphon.org/wiki/UbuntuXenial

I have to finish writing up the Systemd scripts for the Rivendell
daemons but for now you can just run any Riv component and they will
start on their own as long as you have /var/run/rivendell on the system
with write permissions to your logged in user.

I'm also tweaking a bunch of scripts to automate all of this but they
will have to wait for another day or two.

Hope that gets you started,

Wayne

On 2016-05-17 22:21, Manuel wrote:

Wayne Merricks <waynemerricks@...> writes:



 Hi,
 I finally had some free time to try this.  Installing on Ubuntu
 16.04 is a bit more effort than normal because you can't use the
 Tryphon repos which means you have to install QT3 from source
 yourself because Ubuntu dropped QT3 in either 14.04 or earlier.
 The install goes something like this:
 1) Install all the dependencies of QT3 and Rivendell from source
 2) Download the archive QT3 version
 3) Compile and install that (you need to edit qmap.h and
 qvaluelist.h to include stddef.h)
 4) Compile and install the mysql driver for QT3 (not compiled in
 normal configure & make)
 5) Add QTDIR and others to your bash paths
 6) Download Rivendell 2.13.0
 7) Compile and install that (remember to make a script to create
 /var/run/rivendell, systemd init?)


Hi Wayne,

The hard work is not the big problem, since after all job is done, I
should
have a system that can work for years.
But... let me know if importing audio data really works fine.
I have some 60GB of audio data but I don't bother to start a new database
from scratch. My Rivendell 2.10.3 works fine, but working on a netbook
with
1024x600 is just like watching the world through a submarine hatch. xD
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Problem ubuntu 16.04 LTS

2016-05-19 Thread Wayne Merricks

Hi again,

I finally have some instructions up on the Rivendell wiki:

http://rivendell.tryphon.org/wiki/UbuntuXenial

I have to finish writing up the Systemd scripts for the Rivendell 
daemons but for now you can just run any Riv component and they will 
start on their own as long as you have /var/run/rivendell on the system 
with write permissions to your logged in user.


I'm also tweaking a bunch of scripts to automate all of this but they 
will have to wait for another day or two.


Hope that gets you started,

Wayne

On 2016-05-17 22:21, Manuel wrote:

Wayne Merricks <waynemerricks@...> writes:




Hi,
I finally had some free time to try this.  Installing on Ubuntu
16.04 is a bit more effort than normal because you can't use the
Tryphon repos which means you have to install QT3 from source
yourself because Ubuntu dropped QT3 in either 14.04 or earlier.
The install goes something like this:
1) Install all the dependencies of QT3 and Rivendell from source
2) Download the archive QT3 version
3) Compile and install that (you need to edit qmap.h and
qvaluelist.h to include stddef.h)
4) Compile and install the mysql driver for QT3 (not compiled in
normal configure & make)
5) Add QTDIR and others to your bash paths
6) Download Rivendell 2.13.0
7) Compile and install that (remember to make a script to create
/var/run/rivendell, systemd init?)



Hi Wayne,

The hard work is not the big problem, since after all job is done, I 
should

have a system that can work for years.
But... let me know if importing audio data really works fine.
I have some 60GB of audio data but I don't bother to start a new 
database
from scratch. My Rivendell 2.10.3 works fine, but working on a 
netbook with
1024x600 is just like watching the world through a submarine hatch. 
xD

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Riv 2.13.0 web components and create new db issues

2016-05-19 Thread Wayne Merricks

Hi all,

I've posted 3 issues/bugs to github.

* When creating a new database there is a bug with the insert into logs 
SQL statement that affects all versions.  It is missing a few extra 
NOW() values.

@See https://github.com/ElvishArtisan/rivendell/issues/121
Patch here: http://thevoiceasia.com/rivendell/createdb.cpp.patch

* Rivendell can't create MySQL users on MySQL version 5.7+.  This means 
it fails when it tries to create the rduser database user and rdadmin 
quits with an "unable to access new database" error.  This is because 
the MySQL users table has changed and no longer has a password field

@See https://github.com/ElvishArtisan/rivendell/issues/123
Patch here: http://thevoiceasia.com/rivendell/opendb.cpp.patch

I also changed the permissions into a grant statement, this is not 
strictly necessary.


* The rd-bin.conf file is incompatible with Apache v 2.4+.  Apache has 
moved from Order and Allow From to Require granted.  I don't know 
whether this is an easy patch because older versions of Apache probably 
don't support the require granted thing.

@see https://github.com/ElvishArtisan/rivendell/issues/124
Patch here: http://thevoiceasia.com/rivendell/rd-bin.conf.patch

If anyone is interested, the Ubuntu 16.04 quest is slowly progressing 
now that these 3 are out of the way.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Problem ubuntu 16.04 LTS

2016-05-17 Thread Wayne Merricks

Hi,

I finally had some free time to try this.  Installing on Ubuntu 16.04 is 
a bit more effort than normal because you can't use the Tryphon repos 
which means you have to install QT3 from source yourself because Ubuntu 
dropped QT3 in either 14.04 or earlier.


The install goes something like this:

1) Install all the dependencies of QT3 and Rivendell from source
2) Download the archive QT3 version
3) Compile and install that (you need to edit qmap.h and qvaluelist.h to 
include stddef.h)
4) Compile and install the mysql driver for QT3 (not compiled in normal 
configure & make)

5) Add QTDIR and others to your bash paths
6) Download Rivendell 2.13.0
7) Compile and install that (remember to make a script to create 
/var/run/rivendell, systemd init?)

8) Change MySQL to use MyISAM by default
9) Copy over and edit rd.conf to /etc
10) Copy over and edit rd-bin.conf to /etc/apache2/sites-available 
(remove allow from and use require granted)
11) Fix an SQL error in rdadmin/createdb.cpp and recompile, make install 
again
12) Figure out why importing audio instantly imports but doesn't 
actually do anything (0 audio in cart).


Things I've learnt in the past few hours:

1) Google is still your friend
2) apt-file search is my new favourite tool
3) checkinstall is an easy way to get deb files of QT3 and Rivendell so 
you don't have to compile on other machines


I have the debs for AMD64 based systems and a big apt install list of 
dependencies.


Once you get QT3 installed you can follow the normal install 
instructions for Rivendell from source that haven't changed since Debian 
6 with the exception of the Apache require granted thing and MySQL 
MyISAM (default_storage_engine)


If anyone needs any more info please get in touch,

Wayne


On 02/05/16 07:36, juan carlos navarro hernandez wrote:

Los siguientes paquetes tienen dependencias incumplidas:
 rivendell : Depende: libflac++6 (>= 1.3.0) pero no es instalable
 Depende: libid3-3.8.3c2a pero no es instalable
 Depende: librivendell (= 2.10.3-1) pero no va a instalarse
 Depende: libsoundtouch0 (>= 1.7.1-3~) pero no es instalable
 Depende: libqt3-mt-mysql pero no va a instalarse
 rivendell-server : Depende: libflac++6 (>= 1.3.0) pero no es instalable
Depende: libid3-3.8.3c2a pero no es instalable
Depende: librivendell pero no va a instalarse
Depende: libsoundtouch0 (>= 1.7.1-3~) pero no es 
instalable

Depende: libqt3-mt-mysql pero no va a instalarse
E: No se pudieron corregir los problemas, usted ha retenido paquetes 
rotos.




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Serial Out vs GPIO

2016-05-16 Thread Wayne Merricks

Hi,

I have a BT ACS 8.2.  I initially tried to set up the switcher in 
Rivendell but something about Ubuntu didn't like to reliably do it (the 
serial port stopped accepting commands after a while).


In the end I settled on using RN to call a script that used screen's 
stuff command to do the same thing.


Its been running fine for about 6months. I wrote it all up here:

http://rivendell.tryphon.org/wiki/Switchers



On 13/05/16 19:12, Ben Blevins wrote:
Just curious to see how others are using GPIO.  I have a Broadcast 
Tools SRC-8 III and Star Tech USB to RS232 adapter.  Are you setting 
up the SRC-8 in the Switchers/GPIO or just controlling via a Macro 
with an SO RML command directly? I'm just trying to send relays out to 
my backhaul for local automation.



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] USB audio woes

2016-05-10 Thread Wayne Merricks
Something like this might help, network managed power supply, can be 
scheduled or used via a web browser.


https://www.openxtra.co.uk/p/aviosys-ip-power-switch-9258s-4-port-ip9258s

On 10/05/16 11:37, Rob Landry wrote:

On Tue, 10 May 2016, Cowboy wrote:

I've been ( on and off ) searching for a way to reset the USB buss 
without a reboot, and sometimes a hard reboot. The problem seems to 
be that while there are various "solutions" out there for resetting 
the kernel's idea of the USB buss, there seems to be nothing for 
resetting the BIOS idea of the USB buss without reloading BIOS, hence 
a reboot.


I have a computer deployed on Cape Cod that has a Stellar Labs 
555-17815 balanced USB audio interface that is driving me nuts. The 
machine is in a studio and is used to run RDAirplay and RDPanel by 
DJ's. It is left idle overnight, when the radio station is fed from a 
Rivendell machine at the transmitter site, and often someoen will come 
into the studio, start RDAirplay, and it won't play because Rivendell 
no longer sees the interface. Stopping and restarting the Rivendell 
daemons fixes the problem.


I have thought of running RDAirplay from a script that stops/restarts 
the daemons before launching the program, but that requires root 
privileges, and I don't want them running anything as root.


I am thinking of taking the machine out of service and substituting 
something with a non-USB audio interface. Oddly, an identical machine 
off Cape doesn't have the problem (why do weird, inexplicable problems 
always happen on Cape Cod?).



In your case, I'm wondering if you simply unplug the USB connector, wait
a minute, and plug it back in, does that work ?


If the device gets its power from the USB connector, then yes, that 
usually works.


However, one machine I'm saddled with has a Focusrite Scarlett 6x2 
audio interface that is powered externally. It won't be recognized by 
the OS until it is power-cycled. Booting the computer or 
unplugging/replugging the USB connector will not make the interface 
visible, only unplugging and replugging the interface's AC power cord.



Rob



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Cue crashing RD airplay???

2016-05-04 Thread Wayne Merricks

Yes it does freeze (Ubuntu 14.04 with tryphon repos 2.10.3).

On 04/05/16 10:11, Stan Fotinos wrote:

Hi all

Could someone please test following?

1. Go into the library and enable the "Air Date/Tme" for a audio cut 
so that it is not currently active (Red)


2. Then go into RDairplay and select ADD then find and highlight the 
cart you just disabled, then press the cue button.


Does RDAirplay freeze for you?

Centos 6 appliance, Rivendell Version 2.10.3

Thanking you

Stan






On 3 May 2016 7:51:11 pm AWST, Fred Gleason  
wrote:


On May 2, 2016, at 10:48 PM, Stan Fotinos > wrote:


And this can't be done using Rdimport correct? Just checking in
case this feature has been added with out me knowing


Correct.  Although, now that you mention it, it isn’t a bad idea…

Cheers!


|--|
| Frederick F. Gleason, Jr. | Chief Developer |
|   | Paravel Systems |
|--|
|  A room without books is like a body without a soul.
|
| -- Cicero   
|

|--|



Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] USB audio Card, Configuration Issue

2016-04-26 Thread Wayne Merricks

Hi,

I had an issue with a USB Roland DUO Capture EX.  For some reason I 
don't really understand, it only works in 24bit mode.  Rivendell tries 
32bit and 16bit only.


The only way I could get it to work in the end was to use JACK with the 
sound card and use Riv via JACK.


On 26/04/16 00:34, Charly Hering wrote:

Hello,

I have been using and configuring a rivendell automation succefully 
with Rivendell Broadcast Appliance (but with internal audio card)


Today I start a new configuration installing an Ubuntu studio (last 
Version)

I install Rivendell package from the tryphon dep.

I get an Issue and I can't find any response on the internet.
I can't use my USB card in rivendell but it is seen in ALSA (i can use 
it with audacity for example).


Here is what i can tell you so far, In rdalsaconfig, My card is seen 
and active but in rdadmin => Manage Host, I cant use it in RD play and 
it does not appear in Audio Ressources


In a term I get that:

$ cat /proc/asound/modules

0 snd_hda_intel
1 snd_usb_audio

$ aplay -l

 List of PLAYBACK Hardware Devices 
card 0: NVidia [HDA NVidia], device 0: VT1708B 8-Ch Analog [VT1708B 
8-Ch Analog]

  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: VT1708B 8-Ch Digital [VT1708B 
8-Ch Digital]

  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: VT1708B 8-Ch Alt Analog 
[VT1708B 8-Ch Alt Analog]

  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CI1 [Steinberg CI1], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ cat /etc/asound.conf

# *** Start of Rivendell configuration generated by rdalsaconfig(1) ***
pcm.rd0 {
  type hw
  card 0
  device 0
}
ctl.rd0 {
  type hw
  card 0
}
pcm.rd1 {
  type hw
  card 1
  device 0
  rate 44100
}
ctl.rd1 {
  type hw
  card 1
  rate 44100


$ nano /etc/modprobe.d/alsa-base.conf


# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { 
/sbin/modpro$


#

# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS 
&& { /sbi$
install snd-mixer /sbin/modprobe --ignore-install snd-mixer 
$CMDLINE_OPTS && { $
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS 
&& { /sbi$


#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi 
$CMDLINE_OPTS &$


# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 
$CMDLINE_OPTS &$
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx 
$CMDLINE_OPTS &$


# Load saa7134-alsa instead of saa7134 (which gets dragged in by it 
anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS 
&& { /sbi$


# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2

# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388

# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2


_
Pulse Audio is disabled_

$ ps -C pulseaudio

  PID TTY  TIME CMD

I have tried also with another card supposed to be compatible with the 
same result

I have been looking hard since 10 days with no succes.
Hope that someone could help me
Ty Charly


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread Wayne Merricks
When you do a manual source install, you have to compile GPIO separately 
(it doesn't work on 3.x kernels).  HPI is detected at the configure 
stage and also won't install (you're on a Pi).


I'm guessing that by using the tryphon src it is pulling in all of that 
without giving you an option.  Download the source directly and follow 
the same steps:


wget http://www.rivendellaudio.org/ftpdocs/rivendell/rivendell-2.12.0.tar.gz
tar -zxvf rivendell-2.12.0.tar.gz

cd rivendell-2.12.0

./configure --libexecdir=/var/www/rd-bin
make
sudo make install

That is pretty much it other than sorting out any init scripts to cope 
with /var/run/rivendell.


On 25/04/16 12:55, drew Roberts wrote:


On Mon, Apr 25, 2016 at 7:18 AM, Wayne Merricks 
<waynemerri...@thevoiceasia.com 
<mailto:waynemerri...@thevoiceasia.com>> wrote:


Hi,

The Pi build is basically the same as Debian 6.  I've put it on an
original Pi a few years ago.


http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source

The issue with Jessie is QT3 is a pain to get going manually but
if you add the tryphon source repos you should be fine.


Thanks for the feedback Wayne.

I did:

apt-get source rivendell

from the tryphon repos.

From my first post one this subject:

"Tried building the deb the debian way but Had issues with the fact 
that I could not get the gpio stuff to compile on this kernel and that 
I could not get the audioscience stuff to be seen."


I probably should have solved that and proceeded in the normal debian way.

What I did was proceed with a more normal;
./autogen.sh
./configure --libexecdir=/var/www/rd-bin
make
make
sudo make install

route and then try fix issues  from there.

If you know off the top of your head, how would you tell the deb 
section to leave out the gpio and sudioscience bits?




Regards,

Wayne

all the best,

drew

--
Bahamain Or Nuttin - http://www.bahamianornuttin.com 
<http://www.bahamianornuttin.com/>


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread Wayne Merricks

Hi,

The Pi build is basically the same as Debian 6.  I've put it on an 
original Pi a few years ago.


http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source

The issue with Jessie is QT3 is a pain to get going manually but if you 
add the tryphon source repos you should be fine.


Regards,

Wayne

On 24/04/16 00:00, drew Roberts wrote:

Just a little FYI for anyone interested.

I have spend a good part of the day getting rivendell sort of running 
on a new Raspberry Pi 3.


It has been a log time since I compiled anything significant or made 
and packages, etc. In light of this, I am sure I did some foolish 
things getting this going today. (I can't get rdxport.cgi to run for 
instance, it insists on downloading. I can't see the wavform in 
rdlibrary either.


So, the gist of what I think I did in the end is add Tryphon's src 
line for debian Jessie. (That is the raspbian flavour that came with 
this Pi kit.) Tried building the deb the debian way but Had issues 
with the fact that I could not get the gpio stuff to compile on this 
kernel and that I could not get the audioscience stuff to be seen. I 
could not remember what to do on the debian side to tell it that those 
should  be left off of the requirements. So I sort of did the manual 
.configure, make, sudo make install thing.


Current status is that rdairplay is running and playing a sample log 
of test tones and then looping.


Top shows: load average: 0.85, 0.84, 0.90

at this moment.

df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/root58G  5.7G   49G  11% /

We hope this is enough for a small library...

We shall see how the box behaves.

If anyone would like to chat about this, I am in #rivendell on IRC as 
teak these days.


all the best,

drew



--
Bahamain Or Nuttin - http://www.bahamianornuttin.com 




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] unable to download peak data, error was: "internal error"

2016-04-18 Thread Wayne Merricks

Hi,

This is a common problem when the web components don't install 
properly.  Can you navigate to:


http://localhost/rd-bin/addcart.html

If you get a 404 you need to sort your Apache riv config out.

On 18/04/16 01:57, jorge soto wrote:

If I try to run Rdlibrary from a terminal  I get CURL ERROR: 18

2016-04-17 17:43 GMT-07:00 jorge soto >:


This is my configure command ./configure
--libexecdir=/usr/local/libexec


2016-04-17 11:02 GMT-07:00 Hoggins! >:

Hello Jorge,

My guess is that you might have not run ./configure with the
--libexecdir option.
You should use this option to point at where the web API files
are...
for me, it's /var/www/rd-bin, but you might want to look
exactly where
it is now on your current installation.

Cheers !

Hoggins!

Le 17/04/2016 02:53, jorge soto a écrit :
> I was running rivendell 2.10.3 from the tryphon repository on
> ubuntustudio 14.04 and everything was working fine. I
upgraded to 2.12
> from source and now I get Unable to download peak data,
error was:
> "internal error" when I try to edit markers and If I try to
import a
> song I get "import error" Internal error. I know this was an
issue
> that was corrected in previous versions. Was there a
regresion on the
> issue or what did I break?
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org

> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org

http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev





___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Gpio compiling.

2016-04-15 Thread Wayne Merricks

Hi,

At the moment you need to be on Debian 6 or any other distro with Linux 
Kernel 2.6 or below.  The more recent (2+ years) 3.x kernels don't work.


You can edit the source to make it work however a lot of the system 
calls are deprecated and different.  I managed to do some editing quite 
a while back and got it compiled and installed but it didn't actually 
work/couldn't read ins/outs for the card.


Please note the GPIO drivers are only for a couple of models of the 
Measurement computing PCI DIO24 cards.


You can do GPIO reads in lots of different ways.  My current favourite 
for a shoe string budget is a  Raspberry pi with wiring pi, firing 
rmlsend with the required macros to Rivendell.


Regards,

Wayne

On 15/04/16 15:30, rcflye...@gmail.com wrote:

I'm trying to compile gpio on kernel 3.4.103 on Debian Jessie. I'm getting an 
unsupported kernel error. Tried updated kernel headers but can't find that 
version number. Anyone tried this?

Sent from my iPhone
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] reorder metadata on import?

2016-04-11 Thread Wayne Merricks
Assuming there isn't a magic string to get rdimport to do the work for 
you, Rivendell is just MySQL behind the scenes so providing you have the 
information in a usable format you could update manually.


You are interested in 3 fields from the CUTS table:
* CUT_NAME = Cart Number + _cut number e.g. cart 1234 cut 3 = 
001234_003

* DESCRIPTION = Cut Title
* ORIGIN_DATETIME = Date the CUT was imported

So you'd end up with SQL like this:

update CUTS set DESCRIPTION = 'Episode title: Unicorns myth or just a 
weird rhino', ORIGIN_DATETIME = '2012-06-27 00:00:00' where CUT_NAME = 
'001234_003';


You could get fancy and loop this with bash reading from a file or a 
little PHP backed web page that you can copy/paste data into.


Back in 2012, I wrote a Java program that read Dalet XML files and via 
rdimport automated the entire import process.  It then used the info in 
the XML to update the database.  Saved a ton of time but obviously this 
is more work than bash scripts and the like.


On 2016-04-11 21:41, Tom Van Gorkom wrote:

Is there any reasonable way to write the original cart title into the
cut description when importing hundreds of audio cuts into a single
cart in Rivendell from ENCO?

The problem is that when I put all episodes of a given program into
one cart, we loose the specific episode title and date. I have tried
various strings in rdimport but havent found a way to do it.

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150  
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Stop and hold

2016-04-11 Thread Wayne Merricks

Hi,

Not really how Riv macros work however you can work around it.

* Macro executes and stops for whatever reason
* Have that GPI closure execute your resume macro (PN or something).

Now assuming its not that simple because that GPI closure might happen 
for lots of reasons at different points in the day.


* Macro executes as normal and uses RN to create a temporary file (e.g. 
RN touch /tmp/specialMacroHappened!)
* When GPI closure happens make it call a script to check for the 
temporary file as well as whatever it does normally (e.g. RN 
~/scripts/checkForSpecialThing.sh)


The shell script could just be:

#!/bin/bash

if [ -f /tmp/specialMacroHappened ]; then

  #Use rmlsend to fire a Riv macro to play next
  rmlsend PN 1!

  #remove the temporary file for next time
  rm /tmp/specialMacroHappened

fi

Be aware that if you have a system crash your temporary file might 
still be there.  How you choose to deal with that is up to you.


Hope this makes sense,

Wayne

On 2016-04-11 22:34, Matthew Chambers wrote:
Im setting up a new system for a news talker, I have macro carts to 
do
my satellite switcher switching, Id like the macro cart to execute 
and

then stop and wait for a gpi closure before advancing to the next
event (weather that be spots, an ID or another show segment. I put a
PS 1! as the last line of the macro, but it will just blow through
until it hits a top of hour ID which has a stop event.

Matthew A. Chambers
 Assist. Director / Public Information Officer
 Wright County Emergency Management Agency


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


  1   2   3   4   5   6   7   >