Re: [RDD] altering cart data from command prompt

2021-08-22 Thread Dave B
Yes. I just added scheduler codes to a bunch of songs via a script that uses 
the Rivendell web API invoked by curl. Sample line below:

curl -d 
"COMMAND=25_NAME=user==_NUMBER=10001=90s" 
localhost/rd-bin/rdxport.cgi

Link to the web API documentation: 
http://opsguide.rivendellaudio.org/apis/web_api.pdf

Sent from my iPad

> On Aug 22, 2021, at 3:17 PM, Peter Claes  wrote:
> 
> Hi guys,
> 
> Is it possible to use rdimport from command line to alter schedulercodes, or 
> any other parameter (like composer or conductor) on a (existing) cart, 
> without importing anything ?
> 
> Regards
> Peter
> ___
> 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] Updating scheduler codes via SQL

2021-07-17 Thread Dave
The ultimate solution was to use curl and rdxport.cgi. A simple shell 
script such as below did the trick:


curl -d 
"COMMAND=25_NAME=user==_NUMBER=10001=90s" 
localhost/rd-bin/rdxport.cgi
curl -d 
"COMMAND=25_NAME=user==_NUMBER=10003=90s" 
localhost/rd-bin/rdxport.cgi
curl -d 
"COMMAND=25_NAME=user==_NUMBER=10004=90s" 
localhost/rd-bin/rdxport.cgi


I modified over 1000 songs this way. I did a cart dump to csv file from 
rdlibrary and then wrote an app in object pascal (Lazarus) to parse the 
csv file, determine the scheduler code for each cart, and write each 
line to a text file to execute as a script.


On 7/14/2021 3:19 PM, Dave B wrote:

I totally forgot about the web API. A safer approach indeed!  Thanks!

On Jul 14, 2021 12:18 PM, Fred Gleason  wrote:

On Jul 14, 2021, at 05:14, Alejandro olivan Alvarez
mailto:alejandro.olivan.alva...@gmail.com>> wrote:

I have messed a little with rivendell database, quite
successfully, but only for query/read operations ...
altering/writing directly the database of such a complex
application is for the brave :-)


Just to amplify Alejandro’s point: directly modifying the
Rivendell database is NOT A SUPPORTED METHOD for making changes in
Rivendell! Specifically, the database schema CAN and DOES change
between different versions of Rivendell; meaning that the update
method that worked perfectly three months ago could end up NUKING
YOUR DATABASE next time around.

A much better and safer method for making these sorts of
site-specific bulk changes is to write a script that uses
Rivendell’s WebAPI. See:

http://opsguide.rivendellaudio.org/apis/web_api.pdf
<http://opsguide.rivendellaudio.org/apis/web_api.pdf>

The Web API is a documented, public and above all stable
interface; using it will allow you to write scripts that won’t
break across different versions of Rivendell.

N.B. — If you insist on writing changes directly to the DB, be
sure that you have a known good backup of it first. The sanity and
gray hair (not to mention job) that you save may be your own.

Cheers!


|-|
| Frederick F. Gleason, Jr. |             Chief Developer        
    |
|                           |             Paravel Systems        
    |
|-|
|           Beware of Programmers who carry screwdrivers.            |
|                   |
|                                             -- Leonard Brandwein   |
|-|



___
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] Updating scheduler codes via SQL

2021-07-14 Thread Dave B
I totally forgot about the web API. A safer approach indeed!  Thanks!On Jul 14, 2021 12:18 PM, Fred Gleason  wrote:On Jul 14, 2021, at 05:14, Alejandro olivan Alvarez  wrote:I have messed a little with rivendell database, quite successfully, but only for query/read operations ... altering/writing directly the database of such a complex application is for the brave :-)Just to amplify Alejandro’s point: directly modifying the Rivendell database is NOT A SUPPORTED METHOD for making changes in Rivendell! Specifically, the database schema CAN and DOES change between different versions of Rivendell; meaning that the update method that worked perfectly three months ago could end up NUKING YOUR DATABASE next time around.A much better and safer method for making these sorts of site-specific bulk changes is to write a script that uses Rivendell’s WebAPI. See:	http://opsguide.rivendellaudio.org/apis/web_api.pdfThe Web API is a documented, public and above all stable interface; using it will allow you to write scripts that won’t break across different versions of Rivendell.N.B. — If you insist on writing changes directly to the DB, be sure that you have a known good backup of it first. The sanity and gray hair (not to mention job) that you save may be your own.Cheers!|-|| Frederick F. Gleason, Jr. |             Chief Developer             ||                           |             Paravel Systems             ||-||            Beware of Programmers who carry screwdrivers.            ||                                                                     ||                                              -- Leonard Brandwein   ||-|___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Updating scheduler codes via SQL

2021-07-13 Thread Dave B
I want to bulk update the scheduler codes for my songs based on the YEAR field, 
but I get an error when attempting to add songs to the CART_SCHED_CODES table. 
Sample SQL to add my 70s scheduler code to songs is:

Insert into CART_SCHED_CODES (CART_NUMBER, SCHED_CODE) values ((select NUMBER 
from CART where YEAR > str_to_date(‘1969’, ‘%Y’) and YEAR < str_to_date(‘1980’, 
‘%Y’)), ‘70s’);

This throws an error because the sub query returns more than one row. Any 
suggestions for correct SQL or a better way of doing this?

Thanks,
Dave

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


Re: [RDD] rdimport fails on file names with brackets

2021-07-11 Thread Dave B
I’m going to bulk rename the files and adjust my script accordingly. That seems 
be the easiest way to go. Thanks for the input.

Sent from my iPad

> On Jul 11, 2021, at 1:00 AM, Robert Jeffares  
> wrote:
> 
> 
> The audio filename is going to be xx_001.wav 
> 
> Artist and Title are stored in MySQL [or MariaDB ]  where [] are allowed in 
> strings.
> 
> --set-string-artist=should work with []" <--tested and it does
> 
> --set-string-title="same"
> 
> I just checked this on a copy of the same OS.  If the source audio filename 
> has [] brackets in it  rdimport does not work.
> 
> I tried with wildcard complete and \[ escapes. 
> 
> *BUT*  using --set-string-artist= allows [] to be used.
> 
> I have tried various bash tricks to no avail. 
> 
> I would be for changing the filenames using sed to replace [ with  a phrase 
> like 'b4'  and ] with a phrase like 'b8' and using the import script to 
> substitute occurrences in the   --set-string-artist="" string. Simple enough 
> to use an if then test like if grep -q artist_part_of_filename 'b4' then 
> replace b4 with a [ in the string being used for artist="" 
> 
> Or you can get into mysql and do a global replace where b4  and b8 occurs in 
> the title;
> 
> Migrating from one library to another can be a challenge. If you have less 
> then 20 you can do them by hand but anything more is a bash proposition or 
> perl or python or whatever rocks your boat!
> 
> If you go the MySQL route make a copy of the DB before you attempt any 
> changes.
> 
> regards
> 
> Robert
> 
> 
> 
> 
> 
> 
> 
>> On 11/07/21 12:59 am, Dave B wrote:
>> I should also note that the title and outcue (set in the script like 
>> --set-string-title="my title") may also contain brackets but that doesn't 
>> appear to be a problem. It's only setting a filename with brackets that's 
>> problematic.
>> 
>> Using the latest Rivendell version on CentOS 7.
>> 
>> On Jul 10, 2021 6:38 AM, Dave B  wrote:
>> I'm using the full file names because I'm also setting the talk and segue 
>> markers and scheduler codes, etc via the script. The files do contain 
>> metadata but for some reason rdimport doesn't always read the artist field. 
>> I'll try importing some files using wildcards in the filespec  (*.flac) and 
>> see how that goes.
>> 
>> On Jul 9, 2021 9:46 PM, Robert Jeffares  wrote:
>> Hi Dave,
>> 
>> have you tried rdimport  [options] [GROUP] *.flac ?
>> 
>> or is it falling down in the  --metadata-pattern='%a - %t.flac'
>> 
>> Are you using CentOS or something else?
>> 
>> Do the flac files have metadata?
>> 
>> From memory [] brackets are not usually a problem
>> 
>> regards
>> 
>> Robert
>> 
>> On 10/07/21 7:03 am, Dave wrote:
>> > Hi all,
>> > I'm about to use rdimport to import a couple of music libraries into 
>> > Rivendell via a shell script. In testing it works great except for the 
>> > fact rdimport does not like file names containing an open bracket ([). 
>> > For example, if I enter the file name using a double quote as "'N Sync 
>> > - This I Promise You [Radio Edit].flac" it will fail. If I use singles 
>> > quotes and escape the single quote in the file name it also fails. 
>> > '\''N Sync - This I Promise You [Radio Edit].flac'. I've tried 
>> > escaping the bracket to no avail. The only way I can import these 
>> > files via rdimport is to rename the file without the brackets. I can 
>> > import files with brackets manually via the rdlibrary GUIwith no 
>> > problem. Any suggestions?
>> >
>> > Thanks,
>> > Dave
>> > ___
>> > Rivendell-dev mailing list
>> > Rivendell-dev@lists.rivendellaudio.org
>> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> 
>> -- 
>> Robert Jeffares
>> Communication Consultants
>> 64 Warner Park Avenue
>> Laingholm
>> Auckland
>> New Zealand 0604
>> +64 9 817 6358
>> 
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> 
>> 
>> 
> -- 
> Robert Jeffares
> Communication Consultants
> 64 Warner Park Avenue
> Laingholm
> Auckland
> New Zealand 0604
> +64 9 817 6358
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rdimport fails on file names with brackets

2021-07-10 Thread Dave
rdimport will successfully import these files using the form rdimport  
[options] [GROUP] *.flac


I can only think that the brackets are being interpreted by the script 
in some way and sending bad information to rdimport.


On 7/9/2021 9:46 PM, Robert Jeffares wrote:

Hi Dave,

have you tried rdimport  [options] [GROUP] *.flac ?

or is it falling down in the  --metadata-pattern='%a - %t.flac'

Are you using CentOS or something else?

Do the flac files have metadata?

From memory [] brackets are not usually a problem

regards

Robert

On 10/07/21 7:03 am, Dave wrote:

Hi all,
I'm about to use rdimport to import a couple of music libraries into 
Rivendell via a shell script. In testing it works great except for 
the fact rdimport does not like file names containing an open bracket 
([). For example, if I enter the file name using a double quote as 
"'N Sync - This I Promise You [Radio Edit].flac" it will fail. If I 
use singles quotes and escape the single quote in the file name it 
also fails. '\''N Sync - This I Promise You [Radio Edit].flac'. I've 
tried escaping the bracket to no avail. The only way I can import 
these files via rdimport is to rename the file without the brackets. 
I can import files with brackets manually via the rdlibrary GUIwith 
no problem. Any suggestions?


Thanks,
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] rdimport fails on file names with brackets

2021-07-10 Thread Dave B
I'm using the full file names because I'm also setting the talk and segue markers and scheduler codes, etc via the script. The files do contain metadata but for some reason rdimport doesn't always read the artist field. I'll try importing some files using wildcards in the filespec  (*.flac) and see how that goes.On Jul 9, 2021 9:46 PM, Robert Jeffares  wrote:Hi Dave,
have you tried rdimport  [options] [GROUP] *.flac ?
or is it falling down in the  --metadata-pattern='%a - %t.flac'
Are you using CentOS or something else?
Do the flac files have metadata?
 From memory [] brackets are not usually a problem
regards
Robert
On 10/07/21 7:03 am, Dave wrote:
> Hi all,
> I'm about to use rdimport to import a couple of music libraries into 
> Rivendell via a shell script. In testing it works great except for the 
> fact rdimport does not like file names containing an open bracket ([). 
> For example, if I enter the file name using a double quote as "'N Sync 
> - This I Promise You [Radio Edit].flac" it will fail. If I use singles 
> quotes and escape the single quote in the file name it also fails. 
> '\''N Sync - This I Promise You [Radio Edit].flac'. I've tried 
> escaping the bracket to no avail. The only way I can import these 
> files via rdimport is to rename the file without the brackets. I can 
> import files with brackets manually via the rdlibrary GUIwith no 
> problem. Any suggestions?
>
> Thanks,
> Dave
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
-- 
Robert Jeffares
Communication Consultants
64 Warner Park Avenue
Laingholm
Auckland
New Zealand 0604
+64 9 817 6358
___
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] rdimport fails on file names with brackets

2021-07-09 Thread Dave

Hi all,
I'm about to use rdimport to import a couple of music libraries into 
Rivendell via a shell script. In testing it works great except for the 
fact rdimport does not like file names containing an open bracket ([). 
For example, if I enter the file name using a double quote as "'N Sync - 
This I Promise You [Radio Edit].flac" it will fail. If I use singles 
quotes and escape the single quote in the file name it also fails. '\''N 
Sync - This I Promise You [Radio Edit].flac'. I've tried escaping the 
bracket to no avail. The only way I can import these files via rdimport 
is to rename the file without the brackets. I can import files with 
brackets manually via the rdlibrary GUIwith no problem. Any suggestions?


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


[RDD] Audio issues

2017-05-24 Thread Dave Englefield
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-preparat
ion/

 

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


[RDD] QT3/Tryphon Debian repository

2015-09-29 Thread Dave B
Is QT3 no longer being distributed in the Tryphon Debian repositories? 
I'm attempting to install on Linux Mint, but the QT3 libraries don't 
appear in the list of packages provided by Tryphon. I've previously 
installed Rivendell on Linux Mint using the Tryphon packages with no 
issues .


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


[RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B

Hi all,
New install on Debian 8. It seems the init script is unable to create 
/var/run/rivendell. Do I need to change the owner and/or group of the 
script? Right now the owner and group is root and is allowed to be run 
as an executable.  If I run the script as superuser it will create the 
directory. Otherwise, it says mkdir: Cannot create directory 
'/var/run/rivendell'. Permission denied.


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


Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B
What I ended up doing was copying the directory creation code from the 
Rivendell init script to /etc/rc.local. That way the directory is 
created at boot time.



On 6/9/2015 1:05 PM, Wayne Merricks wrote:
OK It seems that most distributions are ignoring the super user bit 
these days.


What about changing the group of /var/run to the rivendell users 
group.  In theory this should stick across reboots as its only the 
contents of /var/run that are deleted if I remember rightly.


Regards,


Wayne Merricks
The Voice Asia

On 09/06/15 17:57, Dave B wrote:

The script is still not creating the directory.

On 6/9/2015 12:43 PM, Wayne Merricks wrote:
I thought init would run as root.  You can try sudo chmod u+s  on 
the script.  This should force root regardless of where/how the 
script is run.


Wayne Merricks
The Voice Asia

On 09/06/15 17:40, Dave B wrote:

Hi all,
New install on Debian 8. It seems the init script is unable to 
create /var/run/rivendell. Do I need to change the owner and/or 
group of the script? Right now the owner and group is root and is 
allowed to be run as an executable.  If I run the script as 
superuser it will create the directory. Otherwise, it says mkdir: 
Cannot create directory '/var/run/rivendell'. Permission denied.


Thanks,
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


___
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] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B

I've already tried that Alessio.

On 6/9/2015 4:31 PM, Alessio Elmi wrote:

Do you mean the file located in /etc/init.d/rivendell ?
Is there any problem in chown that init script by 'root' and let it 
create a folder in /var/run which belongs to 'rivendell'?


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


Re: [RDD] Init script unable to create /var/run/rivendell

2015-06-09 Thread Dave B

Never did find out the reason...

On 6/9/2015 5:14 PM, Alessio Elmi wrote:

Just to understand: could find out the reason in the end?
I mean.. in /etc/init.d/ there are other scripts, aren't they? Debian 
default stuff.. what could be the differnece between them and your script?


Maybe it's time to deal with a systemd script..

Il giorno mar 9 giu 2015 alle ore 22:55 Dave B i...@dbickford.com 
mailto:i...@dbickford.com ha scritto:


I've already tried that Alessio.

On 6/9/2015 4:31 PM, Alessio Elmi wrote:
 Do you mean the file located in /etc/init.d/rivendell ?
 Is there any problem in chown that init script by 'root' and let it
 create a folder in /var/run which belongs to 'rivendell'?

___
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
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Still don't know JACK

2015-06-08 Thread Dave B
For processing I think you'll like Stereo Tool 
(http://www.stereotool.com/). It worked quite well with Debian 7, 
Rivendell and Liquid Soap on an install I did for an internet station.


On 6/8/2015 3:39 PM, Rob Landry wrote:


Well, it looks like my current problem is not JACK at all but 
liquidsoap. liquidsoap doesn't appear to like Debian 8, but darkice does.


strange errors and segmentation faults don't happen with darkice, 
and I'm able to get Rivendell to feed darkice via JACK, and to 
generate a stream with programming on it.


Next, I need to see what I can do for audio processing.


Rob



On Mon, 8 Jun 2015, James L. Stewart wrote:

Jack itself is ready for prime time, it is all the documentation for 
Jack (or lack there of) which is not ready for prime time.  This is 
unfortunately common for free open source projects.  Seems the 
programmers can't find the time to spend to write some documentation, 
which isn't always a bad thing as it would cut into there time spent 
developing.  We all can help by posting our experiences getting Jack 
working (myself included).


I have had Jack working on Rivendell and Darkice for quite some time 
now.  It only crashed once when I ran the machine out of physical 
memory by accidentally trying to load a huge tiff file on the 
workstation.  Darkice has also worked perfectly for me, but last I 
checked the 32-bit version that is compiled on the Tryphon repository 
still lacks Jack support (as well as support for all other optional 
features), so I instead grabbed a compatible version from Ubuntu to 
use on my one Debian system that is running on a 32-bit (old 
Pentium-4) processor.


So things I did was to install the optional real time kernel on my 
Debian system, then carefully adjusted all the Frames/Period and 
Periods/buffer to be stable with my hardware. I had to dial in more 
latency when using our Presounus USB sound device as composed to a 
Non USB device.  While messing around with Jack on a Raspberry Pi, I 
had to dial in a lot of latency to get it get things to work at all.


Since I don't mess around with CentOS or any other OS based on Redhat 
repositories (it seams I keep breaking them when I add other 
repositories to try to install extra software not in the base Redhat 
ones) much, I won't be much help with why you can't get Jack to run 
on it.


On 6/8/2015 10:00 AM, rivendell-dev-requ...@lists.rivendellaudio.org 
wrote:

Date: Mon, 8 Jun 2015 09:25:41 -0400 (EDT)
From: Rob Landry41001...@interpring.com
To:rivendell-dev@lists.rivendellaudio.org
Subject: [RDD] Still don't know JACK
Message-ID:alpine.deb.2.00.1506080919480.1...@python.interpring.com
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII


I wish there were a comprehensive guide to getting Rivendell to work 
with

JACK. I am finding JACK very frustrating and an immense time sink.

So far, I have managed to get it to work with Rivendell on Debian 7, 
but

not Centos 6, where JACK cannot be persuaded to start.

On Debian 8, JACK will start, but nothing can connect to it. Liquidsoap
tells me strange error flushing buffer.

Methinks JACK is not ready for prime time.


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


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


Re: [RDD] Rivendell + Jack, etc

2014-06-19 Thread Dave B
This basic method is what I ended up doing. At first I didn't realize I 
could set up non-Rivendell Jack connections in rd.conf. So, as long as 
Jack is started first and RDAirplay (or other RD module) is started 
second...the connections will be made per the [Jack Session] section of 
rd.conf. I also put lines in the script to load a log and start playing 
it. Good stuff! I wish I figured this out sooner.


Thanks for the hints! :)

On 6/17/2014 5:59 PM, Alessio Elmi wrote:

Hi,
a very simple and rude way is this. Create a simple .sh script file
located in your home directory which launches all the sw you need.
Example:

#!/bin/bash
/usr/bin/jackd --realtime --nozombies -d dummy -r 44100
2/tmp/startup-jack.log 
sleep 6
/usr/bin/rdairplay 2/tmp/startup-rd.log 
sleep 3
/opt/stereo_tool_gui 2/tmp/startup-st.log 
...

...important thing is rivendell user must be the same of jack (and
stereotool too I think)

2014-06-17 22:20 GMT+02:00 Dave B i...@dbickford.com:

Hello,
Trying to set up an all-in-one streaming computer with Rivendell, Jack Audio
and Stereo Tool (and a soon-to-be-decided encoder). I can set it all up
manually and it works great! BUT...Ideally I'd like everything to start up
at once when the computer starts, as in the case of a power outage. In
RDAdmin under Jack Settings, I've checked Start JACK Server and put in the
command line I would use. I also entered the info for Stereo Tool in the
JACK Clients to Start list. When I start any Rivendell module, Stereo Tool
will start, but Jack will NOT start. As long as no Rivendell modules are
running I can use the command line to start Jack or by using QJackCtl, so I
don't think there's a problem with that. Setting up Startup Applications is
no good either, as the relevant apps don't necessarily start in the correct
order.

Any pointers from those who have done this before? Running Rivendell 2.8.1
on Debian 7.

Thanks!
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] Rivendell + Jack, etc

2014-06-19 Thread Dave B
This is where I ran into a problem. I did EXACTLY as you suggested 
below. But Jack does not start and the carts didn't have any effect on 
the connections. The command line I entered 
inRDAdmin-ManageHosts-JackSettings is identical to what I use in my 
script.


Any additional suggestions or sample data?


On 6/19/2014 4:23 PM, Fred Gleason wrote:

On 6/19/14, 16:07 39, Dave B wrote:

At first I didn't realize I could set up non-Rivendell Jack connections
in rd.conf. So, as long as Jack is started first and RDAirplay (or other
RD module) is started second...the connections will be made per the
[Jack Session] section of rd.conf.


You can, but it's deprecated in current Rivendell versions.  The 
better way is to create a macro cart that sets up the routing you want 
(using the 'Connect Jack Port' ['JC'] and 'Disconnect Jack Port' 
['JD'] RMLs), then set that as your 'Startup Cart' in 
RDadmin-ManageHosts.  This has the significant advantage that the 
routing rules will now live within your RD database (and hence be 
backed up up automatically as part of the regular backup regime).


Likewise starting jackd(1).  Look in 
RDAdmin-ManageHosts-JackSettings to configure it to start 
automatically when the Rivendell service starts.  Be sure to specify a 
valid JACK command line.  You can also specify other clients you want 
started there.


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


[RDD] Rivendell + Jack, etc

2014-06-17 Thread Dave B

Hello,
Trying to set up an all-in-one streaming computer with Rivendell, Jack 
Audio and Stereo Tool (and a soon-to-be-decided encoder). I can set it 
all up manually and it works great! BUT...Ideally I'd like everything to 
start up at once when the computer starts, as in the case of a power 
outage. In RDAdmin under Jack Settings, I've checked Start JACK Server 
and put in the command line I would use. I also entered the info for 
Stereo Tool in the JACK Clients to Start list. When I start any 
Rivendell module, Stereo Tool will start, but Jack will NOT start. As 
long as no Rivendell modules are running I can use the command line to 
start Jack or by using QJackCtl, so I don't think there's a problem with 
that. Setting up Startup Applications is no good either, as the relevant 
apps don't necessarily start in the correct order.


Any pointers from those who have done this before? Running Rivendell 
2.8.1 on Debian 7.


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


Re: [RDD] Segues respecting song intros...

2014-02-22 Thread Dave B
And in the case of reel-to-reel tapes there was a 25hz tone inserted in 
the left channel to signal the automation to switch sources. Some 
old-timers still use the phrase set tones when they really mean set 
segue markers.


On 2/22/2014 5:18 PM, Fernando Della Torre wrote:
Hi Brian, in the old times tape cart machines there was an extra track 
dedicated to record tones that indicated the begining of audio and 
segue points. Nowadays we use the markers within Rivendell, but 
sometimes we still call them tones.   I think that's it.




Atenciosamente,

*Fernando Della Torre*

Tecnologia da Informação

(: +55 16 98137-1240

(: +55 16 99137-2886

*: _f...@vdit.com.br mailto:f...@vdit.com.br_

V.D.I.T. Soluções em Virtualização

A utilização deste e-mail não implica em autorização ou outorga de 
poderes para seu usuário praticar qualquer ato em nome das empresas 
citadas, cuja representação considera-se válida se praticada 
exclusivamente por representante legal ou procurador devidamente 
constituído, na forma estabelecida em seu respectivo estatuto ou 
contrato social




2014-02-22 18:23 GMT-03:00 Brian theturtl...@gmail.com 
mailto:theturtl...@gmail.com:


What do you mean by tone exactly?  Presumably not an audible
tone?  Is this a term that's carried over from the idea of using
audio control tones to trigger events or something?

Brian



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


Re: [RDD] Audio Processing -- was -- normalization

2014-01-27 Thread Dave B


On 1/24/2014 2:17 PM, Cowboy wrote:

On Friday 24 January 2014 01:34:34 pm Jim Stewart wrote:

If you like the Orban 424 processor recommendation mentioned earlier, perhaps 
you can find a used one?

  A minor correction...

  I'm not necessarily recommending that particular box today,
  because as you say, there can be consequences to using
  a genuine antique to support a current revenue stream.

  The 424 was a wonderful box, because of the flexibility and
  range it offered.
  Hopefully, there is something out there that can duplicate,
  or even approximate, what it did, short of a full time
  production rat, who could also do so much more ad-hoc.

For level control, I've been using Levelator for a couple of years on 
a weekly talk show I edit. It's free software and available at 
http://web.archive.org/web/20130729204551id_/http://www.conversationsnetwork.org/levelator/.


You'll still have to clean up any major noise in your recordings 
beforehand, but for level control it's fantastic.

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


Re: [RDD] The Appliance Drives

2013-12-14 Thread Dave B

Richard,
Based on my (limited) experience with the appliance CD I know it will 
delete all *partitions* on a single drive, even if it you tell it 
otherwise. Not sure how it would handle multiple drives. To be on the 
safe side, I'd say disconnect any drive you don't want touched. Or wait 
until Fred answers the question. :)


Dave

On 12/14/2013 9:24 AM, Richard Gorbutt wrote:

Hi all,

I'm redoing my PC and the new Appliance disk, does it format just the drive you 
choose or all drives in the box?

Thanks.

Regards Richard.

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] win32 binaries

2013-05-02 Thread Dave B
I found the Win32 binaries on the appliance CD. I used 7zip to view the files 
in the disc image and extract the Win32 installation file. I forget the exact 
folder it was in...

On 5/2/2013 12:13 PM, tech...@bigradio.fm wrote:
 I have a Broadcast Appliance running that is running without any network 
 tweaks.  I updated to the latest rivendell version.  yum install rivendell. 
  Now my install is at 2.5.0.

 I have a windows machine on the same network and click Start-Run 
 \\192.168.167.82 (ip address of rivendell)

 I now see 6 folders that are Samba shares on the Appliance box.

 One of them is labeled win32_setups, inside that folder is 
 rivendell-2.5.0.exe

 Hope this helps,

 Todd


 On Thu, 02 May 2013 15:07:08 +0100
 Andy Brown a...@thebmwz3.co.uk wrote:

 Ta,
 Might be missing something here, but the Broadcast Appliances are
 the pre-build ISO's for 64-bit, do they run anywhere near 2.5.0
 Rivendell?

 Otherwise I guess I'm a bit stuck without a win32 build platform
 somewhere :(


 On 02/05/13 14:52, Sharkie wrote:
 Have a look  at this:

 On Mar 28, 2013, at 15:33 18, Dave B wrote:

 Safe to assume the Windows ports of RDLogEdit and RDLogManager are
 not available for Rivendell version 2.x?
 Why would you assume that?  The win32 components build from the
 same source tree as Linux.  There's even a ZIP-formatted source
 archive available specially for building on Windows systems -- see
 http://www.rivendellaudio.org/rivendell/download.shtml.

 If it's binaries you're looking for, the Windows version is
 available on the '\\system-name\win32_setups\
 ' share of every Broadcast Appliance setup.

 Cheers!
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

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


Re: [RDD] WIN32 support

2013-03-29 Thread Dave B
On 3/29/2013 9:48 AM, Fred Gleason wrote:
 On Mar 28, 2013, at 15:33 18, Dave B wrote:

 Safe to assume the Windows ports of RDLogEdit and RDLogManager are not
 available for Rivendell version 2.x?
 Why would you assume that?  The win32 components build from the same source 
 tree as Linux.  There's even a ZIP-formatted source archive available 
 specially for building on Windows systems -- see 
 http://www.rivendellaudio.org/rivendell/download.shtml.

 If it's binaries you're looking for, the Windows version is available on the 
 '\\system-name\win32_setups\' share of every Broadcast Appliance setup.

 Cheers!

Yes, I was looking for the binaries. I was able to dig out the install 
file from the appliance CD. Thanks!
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] RDCartslots error

2013-03-11 Thread Dave B
Ah, yes...thank you. Just needed to add a cart number range to the TEMP 
group.

On 3/11/2013 6:46 AM, Alessio Elmi wrote:
 First of all you have to set your temporary GROUP (let's say TEST..) I
 don't remember where to set it in RDAdmin...
 You have to check GROUPS settings and be sure you have cart number
 availability..

 Alessio

 2013/3/8 Dave B i...@dbickford.com:
 I just tried the Load From File feature of RDCartSlots (Rivendell
 version 2.4.0). I get the error Unable to get temporary cart number for
 import. It will load a cart from the library OK. Is there a new setting
 somewhere in RDAdmin?

 Thanks,
 Dave
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] RDCartslots error

2013-03-11 Thread Dave B
Wait! Not so fast! Works on my laptop but not on my desktop with an 
identical configuration. Not sure why it works on one but not the other?

On 3/11/2013 3:41 PM, Dave B wrote:
 Ah, yes...thank you. Just needed to add a cart number range to the TEMP
 group.

 On 3/11/2013 6:46 AM, Alessio Elmi wrote:
 First of all you have to set your temporary GROUP (let's say TEST..) I
 don't remember where to set it in RDAdmin...
 You have to check GROUPS settings and be sure you have cart number
 availability..

 Alessio

 2013/3/8 Dave B i...@dbickford.com:
 I just tried the Load From File feature of RDCartSlots (Rivendell
 version 2.4.0). I get the error Unable to get temporary cart number for
 import. It will load a cart from the library OK. Is there a new setting
 somewhere in RDAdmin?

 Thanks,
 Dave
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

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


[RDD] RDCartslots error

2013-03-08 Thread Dave B
I just tried the Load From File feature of RDCartSlots (Rivendell 
version 2.4.0). I get the error Unable to get temporary cart number for 
import. It will load a cart from the library OK. Is there a new setting 
somewhere in RDAdmin?

Thanks,
Dave
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


[RDD] Rivendell appliance - Unable to start daemons

2013-03-04 Thread Dave B
Hi all,
Testing the Rivendell appliance on my laptop. After rebooting the first thing I 
did was run rdadmin and got the dreaded Unable to start Rivendell system 
daemons error message. Ran caed -d in the console and got the following:

[root@localhost ~]# caed -d
HPI_DriverOpen error: No such file or directory
caed: Starting ALSA Play Device rd0:
caed:   Format = 16 bit little-endian
caed:   SampleRate = 48000
caed:   Aggregate Channels = 2
caed:   Periods = 4
caed:   BufferSize = 4096 frames
caed:   Device started successfully
caed: Starting ALSA Capture Device rd0:
caed:   Format = 16 bit little-endian
caed:   Asked for sample rate 48000, got 96000
caed:   Sample rate unsupported by device
caed: Starting ALSA Play Device rd1:
caed:   Format = 16 bit little-endian
caed:   SampleRate = 48000
caed:   Aggregate Channels = 2
caed:   Periods = 4
caed:   BufferSize = 4096 frames
caed:   Device started successfully
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM rd2
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM rd2
no connection to JACK server
caed: no connection to JACK server
caed: Found TwoLAME encoder library, MPEG L2 encoding supported
caed: MAD decoder library not found, MPEG L2 decoding not supported
Segmentation fault

Notice the segmentation fault. Was there anything else I needed to do as far as 
configuring Rivendell first? In rd.conf the AudioOwner and AudioGroup are both 
rivendell and I see there is system user rivendell and a system group 
rivendell. Also tried changing the owner of rd.conf and /var/snd to 
rivendell. Running mysql with the command show databases; does indeed show 
the Rivendell database has been created.

Thanks!
Dave

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


Re: [RDD] No waveform in rdlibrary

2012-09-23 Thread Dave B.
The chmod didn't work and the hostname is correct. I just noticed when 
editing markers ALL files have a negative position and length of 
-3:28:36.3. It also appears Rivendell cannot write files. If I import a 
file it appears to go well but when I go to edit the markers I get a 
dialog box that says No audio is present in the cut. I deleted 
/var/snd uninstalled/re-installed Rivendell and recreated /var/snd and 
did sudo chown rd:rivendell /var/snd. Still no joy. Anything else to 
double-check?

Thanks,
Dave

On 09/22/2012 07:18 PM, Robert wrote:
 chmod 770 /var/snd/*

 but you also need to check hostname is the same as hostname in rdadmin
 hosts

 and adjust

 i think that does it

 Robert


 On Sat, 2012-09-22 at 18:27 -0400, Dave B wrote:
 So...new install of Rivendell 2.20 from source on Debian. Restored old
 database and copied over old files into /var/snd. Ensured /var/snd (and
 audio files within) was owned by Rivendell user and group. All is well
 except for the following: When attempting to edit markers for any audio
 file in rdlibray there is no waveform displayed. The file will
 play...just no ability to edit markers. And no error messages. Is this a
 permissions issue? Something else? I've done this reinstall before with
 no issues, so not sure what went wrong this time...

 Thanks!
 Dave
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

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

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


Re: [RDD] No waveform in rdlibrary SOLVED

2012-09-23 Thread Dave B
Didn't copy rd-bin.conf to /etc/apache2/conf.d.  D'OH!  Now, all is well.

On 9/22/2012 7:18 PM, Robert wrote:
 chmod 770 /var/snd/*

 but you also need to check hostname is the same as hostname in rdadmin
 hosts

 and adjust

 i think that does it

 Robert


 On Sat, 2012-09-22 at 18:27 -0400, Dave B wrote:
 So...new install of Rivendell 2.20 from source on Debian. Restored old
 database and copied over old files into /var/snd. Ensured /var/snd (and
 audio files within) was owned by Rivendell user and group. All is well
 except for the following: When attempting to edit markers for any audio
 file in rdlibray there is no waveform displayed. The file will
 play...just no ability to edit markers. And no error messages. Is this a
 permissions issue? Something else? I've done this reinstall before with
 no issues, so not sure what went wrong this time...

 Thanks!
 Dave
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

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

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


[RDD] No waveform in rdlibrary

2012-09-22 Thread Dave B
So...new install of Rivendell 2.20 from source on Debian. Restored old 
database and copied over old files into /var/snd. Ensured /var/snd (and 
audio files within) was owned by Rivendell user and group. All is well 
except for the following: When attempting to edit markers for any audio 
file in rdlibray there is no waveform displayed. The file will 
play...just no ability to edit markers. And no error messages. Is this a 
permissions issue? Something else? I've done this reinstall before with 
no issues, so not sure what went wrong this time...

Thanks!
Dave
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Scrolling to current time on Load

2012-07-23 Thread Dave B.
I've been experimenting with a shell script that does this when run via 
the Run Shell Command macro. The script below assumes a log date format 
something like yymmdd_log and builds the table name accordingly. It then 
opens the database, performs a query on that table, finds the nearest 
hard start time, and uses rmlsend to run a Load Log macro to load the 
log at one line before the specific line number returned (in the field 
named COUNT). Still very experimental and with no error 
checking/recovery, but it seems to work quite well! Feel free to tweak 
to your needs and post improvements!

#!/bin/bash
let h=$(date +%-k)*360
let m=$(date +%-M)*6
let s=$(date +%-S)*1000
let ms=$h+$m+$s

NOWDATE=$(date +%Y%m%d)
LOG_NAME=$NOWDATE_LOG
user=rduser
pass=letmein
db=Rivendell

let SQLRESULT=$(mysql --skip-column-names -u $user -p$pass $db -e 
select COUNT from $LOG_NAME WHERE START_TIME = $ms AND TIME_TYPE=1 
LIMIT 1;)-1

rmlsend LL\ 1\ $NOWDATE\ $SQLRESULT\!




On 7/23/2012 5:56 PM, Wayne Merricks wrote:
 Hi all,

 Apologies for the questions lately, as way of an apology I logged 3 bugs
 on mantis and then went on to fix two of them (source code attached on
 mantis too).

 Is it possible to scroll the log to the current time when airplay is
 loaded via some macro magic?


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


Re: [RDD] Timed log events and live sports events

2012-05-28 Thread Dave B.
After tinkering some more, I realized I was a bit confused with the way 
Make Next timed events work. Even if the log is stopped a Make Next will 
act as an Instant timed event if that event has a Play or Seque 
transition. However, if the timed event has a Stop transition it behaves 
as I was expecting. And in the real world this is indeed how the log 
would be built. I also found a little script to be called with a macro 
that will load the current day's log. That would be used in the cart 
triggered by an end-of-game relay closure. 
(http://rivendell.tryphon.org/wiki/How_to_use_wildcards_in_the_logname,_using_the_RML_command_LL)
  
Good stuff!

Dave

On 5/20/2012 3:47 PM, Matthew Chambers CBT wrote:

 This is how I might do it in rivendell, at game start, do a chain-to 
 to a game log and it could loop through the game and the cart assigned 
 to the end game tone would reload the regular log and restart it close 
 to the time your at now and the first timed event that hits would 
 re-sync the log.

 We are a STL Cardinals affiliate on our Country / Ag-news station 
 here  so we deal with this all the time.

 Sent from my U.S. Cellular® Android-powered phone

 --
 Matthew A. Chambers, CBT
 Asst. Engineer
 KWIX KRES KIRK KTCM

 Email sent from my US Cellular Android HTC phone.

 On May 20, 2012 1:39 PM, Dave B. i...@dbickford.com 
 mailto:i...@dbickford.com wrote:

 Most of our program providers will send an end of game tone. But
 here's the issue. Most ID's and bottom of hour breaks for regular
 satellite programming get a Hard Time to help stay in synch in case we
 miss a break tone or whatever. Now, let's say we have a baseball game
 scheduled from 2pm-5pm. At 5pm we are scheduled to join Fox Sports.
 Let's say our baseball game goes into extra innings or otherwise goes
 past 5pm. The hard start at the top of Fox Sports would dump out
 of the
 game or a Make Next later in the clock would position the log
 incorrectly. We could eliminate the timed events in the first hour of
 anything following live sports, but then we'd run into another
 problem.
 Let's say the game goes to 5:20pm. The log would be sitting on
 break #1
 of Fox Sports, but in reality we should be waiting for break #2.
 Without
 a timed event of some sort in that hour the log will be in the wrong
 spot indefinitely. Does that make sense, or are we making this more
 difficult than they should be?

 I know one could use a macro to start the log at a certain line. We
 could possibly use that in conjunction with the end of game contact
 closure.

 Sometimes our programming is too complicated to automate 100% so
 we have
 someone log in remotely to tweak thing things at game transitions or
 some other difficult moment. I don't see why we couldn't continue
 to do
 that with Rivendell if absolutely necessary. But the less manual
 intervention, the better!

 On 5/20/2012 9:24 AM, Wayne Merricks wrote:
  The timed events will just shunt the log to that point.  You can
 always put a Stop transition on it.  Instead of re-enabling the
 timed events why not have the end of the Sports log trigger a play
 next of the main log?
 
  If its completely automated, what is the signal that the sports
 events have finished with your current system?  Is it silence? A
 sports presenter pressing a button?
 
 
  -Original Message-
  From: rivendell-dev-boun...@lists.rivendellaudio.org
 mailto:rivendell-dev-boun...@lists.rivendellaudio.org on behalf
 of Dave B.
  Sent: Sun 20/05/2012 13:00
  To: Rivendell list
  Subject: [RDD] Timed log events and live sports events
 
  One last hurdle before I'm 100% convinced Rivendell can handle our
  rather complicated programming (I'm 99% there now): Is there a
 way to
  temporarily disable and re-enable timed events? The reason we
 would need
  to do this is so any timed log events (such as an ID with a hard
 start
  time) that are scheduled after a live sports event won't bail
 out of it
  if that game runs over it's allotted time (and they often do run
 long).
  With our current system the first log item of a sports event
 disables
  any timed events and the last log item of the sports event
 re-enables
  them. If this is not possible how do sports/talk stations deal with
  variable length live sports programming and then rejoining normal
  programming after a game? Automated with no board op of course. Or
  perhaps Rivendell has a window of time or number of log items
 in which
  it looks for timed events?
 
  Thanks,
  Dave
  ___
  Rivendell-dev mailing list
  Rivendell-dev@lists.rivendellaudio.org
 mailto:Rivendell-dev@lists.rivendellaudio.org
  http

[RDD] Testing GPI

2012-05-19 Thread Dave B.
I've read a few posts about people using USB joysticks for GPI's. I 
thought I'd have a go at testing GPI's on my test installation using a 
second USB mouse. I figured the two buttons would work as GPI's. I can't 
seem to get it to work. When I plug in the mouse three items are added 
to /dev/input (event1, event2, mouse0). I've tried them all as devices 
when setting up a local GPI/O device in RDAdmin: /dev/input/event1, 
/dev/input/event2 and /dev/input/mouse0. When running rdgpimon the GPI's 
I set up are visible, but there is no activity when pressing the mouse 
buttons. I tried stopping and starting the Rivendell daemons also. Is it 
not possible to use mouse buttons as a GPI trigger?

Thanks,
Dave
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


[RDD] GPI/O

2012-05-18 Thread Dave B.
A station I work for is considering Rivendell. It's a talk/sport station 
and airs programming from a variety of services. Each program basically 
has it's own set of relay closures for breaks etc. With Rivendell, is it 
possible to enable and disable certain inputs on the whatever GPI/O 
board we would use? For example let's say we need to look at relays 
1,2  3 for Imus In The Morning. Then we'd need to ignore those closures 
and look at relays 4,5 6 for Fox Sports. And when we're live we'd need 
to ignore all relay closures. I was looking at the command GPI SET in 
the operations guide. Is this how it would be done?

Thanks,
Dave
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] GPI/O

2012-05-18 Thread Dave B.
Ahh, yes...so basically you enable or disable each particular relay 
closure individually with the GPI Enable command (for some reason I 
initially missed that command in the guide). So in my example we would 
do something similar to:
GE 1 I 1 1!
GE 1 I 2 1!
GE 1 I 3 1!

Probably make a macro that disables them all first then set the specific 
ones we need for any particular program. OK, so now I see how it works 
and how it relates to our current system. Good deal! Thanks for that 
nudge in the right direction.

On 5/18/2012 10:39 AM, Rob Landry wrote:

 On Fri, 18 May 2012, Dave B. wrote:

 A station I work for is considering Rivendell. It's a talk/sport station
 and airs programming from a variety of services. Each program basically
 has it's own set of relay closures for breaks etc. With Rivendell, is it
 possible to enable and disable certain inputs on the whatever GPI/O
 board we would use? For example let's say we need to look at relays
 1,2  3 for Imus In The Morning. Then we'd need to ignore those closures
 and look at relays 4,56 for Fox Sports. And when we're live we'd need
 to ignore all relay closures. I was looking at the command GPI SET in
 the operations guide. Is this how it would be done?
 I'm doing that with a Broadcast Tools ACS8.2 switcher. I only listen for
 one closure, but I only want to pay attention to it during one particular
 program (he Metropolitan Opera); the rest of the time I want it ignored.

 Cart 999053 switches the opera to both the air (output #1) and Internet
 stream (output #2) of the ACS8.2:

 GE 1 I 6 1!   (start listening for closure)
 ST 1 5 1! (put the opera on the air)
 SP 100!   (if I don't do this, the next line doesn't fire 
 reliably))
 ST 1 5 2! (put the opera on the Internet stream)

 When the closure is received, cart 999083 puts Rivendell back on the air
 and the stream:

 GE 1 I 6 0!   (stop listening for closure)
 ST 1 8 1! (put Rivendell on the air)
 SP 100!   (if I don't do this, the next line doesn't fire 
 reliably)
 ST 1 8 2! (put Rivendell on the Internet stream)


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


[RDD] Import existing MP2 files

2012-05-13 Thread Dave B.
Hi all,
I wish to import MP2 files from a previous installation of Rivendell 
into a new installation of Rivendell. Will it attempt to re-encode those 
files or leave them as-is?

My initial intention was to copy /var/snd and just restore the 
database from the backup from the old installation. However, they are 
two different database versions. It seems I can restore that backup but 
no modules will start after the restoration. If I restore a backup of 
the current version functionality is restored. Shall I presume one 
cannot restore a backup of a previous version?

Thanks,
Dave
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Import existing MP2 files

2012-05-13 Thread Dave B.
Hmm...I was initially restoring the database from a file on my Windows 
partition. That's when Rivendell modules would no longer load after the 
restore. So I copied the SQL file over to the Linux partition in which 
Rivendell resides. I tried the restore again from RDAdmin and it 
appeared to be successful but the library is empty. If I inspect the 
Rivendell database with a MySQL Query Browser I can see all the songs 
etc. So it appears the data is there, but Rivendell doesn't see it for 
some reason. After the restore, there is no indication the schema has 
been updated. BTW, I'm using the latest version of Rivendell available 
from the Tryphon repository. Forget the exact version offhand...

On 5/13/2012 3:57 PM, Fred Gleason wrote:
 On May 13, 2012, at 14:22 04, Dave B. wrote:

 I wish to import MP2 files from a previous installation of Rivendell
 into a new installation of Rivendell. Will it attempt to re-encode those
 files or leave them as-is?
 An 'import' will always re-encode the data.


 My initial intention was to copy /var/snd and just restore the
 database from the backup from the old installation.
 That would be the correct way to do it.


 However, they are
 two different database versions. It seems I can restore that backup but
 no modules will start after the restoration.
 Be sure that the schema is updated by running RDAdmin after the restore.  (If 
 you're using RDAdmin to do the restore, this will be handled automatically).

 Cheers!


 |-|
 | Frederick F. Gleason, Jr. |   Chief Developer   |
 |   |   Paravel Systems   |
 |-|
 |   Some people call them cars or trucks; I call them dimensional|
 |   transmogrifiers because they change three-dimensional cats into  |
 |   two-dimensional ones. |
 | -- F. Frederick Skitty  |
 |-|

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


Re: [RDD] Import existing MP2 files SOLVED

2012-05-13 Thread Dave B.
OMG face palm
Computer name had changed so Rivendell host name did not match. Changed 
computer name and all is well. Sheesh! Pay attention Dave!

On 5/13/2012 4:46 PM, Dave B. wrote:
 Hmm...I was initially restoring the database from a file on my Windows
 partition. That's when Rivendell modules would no longer load after the
 restore. So I copied the SQL file over to the Linux partition in which
 Rivendell resides. I tried the restore again from RDAdmin and it
 appeared to be successful but the library is empty. If I inspect the
 Rivendell database with a MySQL Query Browser I can see all the songs
 etc. So it appears the data is there, but Rivendell doesn't see it for
 some reason. After the restore, there is no indication the schema has
 been updated. BTW, I'm using the latest version of Rivendell available
 from the Tryphon repository. Forget the exact version offhand...

 On 5/13/2012 3:57 PM, Fred Gleason wrote:
 On May 13, 2012, at 14:22 04, Dave B. wrote:

 I wish to import MP2 files from a previous installation of Rivendell
 into a new installation of Rivendell. Will it attempt to re-encode those
 files or leave them as-is?
 An 'import' will always re-encode the data.


 My initial intention was to copy /var/snd and just restore the
 database from the backup from the old installation.
 That would be the correct way to do it.


 However, they are
 two different database versions. It seems I can restore that backup but
 no modules will start after the restoration.
 Be sure that the schema is updated by running RDAdmin after the restore.  
 (If you're using RDAdmin to do the restore, this will be handled 
 automatically).

 Cheers!


 |-|
 | Frederick F. Gleason, Jr. |   Chief Developer   |
 |   |   Paravel Systems   |
 |-|
 |   Some people call them cars or trucks; I call them dimensional|
 |   transmogrifiers because they change three-dimensional cats into  |
 |   two-dimensional ones. |
 | -- F. Frederick Skitty  |
 |-|

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


Re: [RDD] Free Scheduling Software

2012-03-02 Thread Dave B.
Note: MusicGen runs *only* on XP! (I have not tried it on Linux with WINE)

On 3/2/2012 1:54 PM, Jorge Soto wrote:
 ok, you can find musicgen (given away for free in the old days by 
 Prophet Systems) here http://atoys.com/sandi/MusicGen.exe
 if it asks you for a code it's 987865412032

 
 *From:* Jorge Soto jsot...@yahoo.com
 *To:* User discussion about the Rivendell Radio Automation System 
 rivendell-dev@lists.rivendellaudio.org
 *Sent:* Friday, March 2, 2012 10:07 AM
 *Subject:* Re: [RDD] Free Scheduling Software

 There's this one, http://riograndemud.com/clockwheel/ I have not used 
 it so not really sure how it works. And of course, back in the day, 
 Prophet Systems had a free one called Nexgen or Musicgen, I think I 
 might have a copy somewhere, again, I have never used it so don't know 
 if it will serve your purpose. Anyway, I'll search for it and get back 
 to you.

 
 *From:* James Gamblin jgamb...@lwrn.org
 *To:* User discussion about the Rivendell Radio Automation System 
 rivendell-dev@lists.rivendellaudio.org
 *Sent:* Friday, March 2, 2012 6:50 AM
 *Subject:* Re: [RDD] Free Scheduling Software

 Hi Nathan,

 Not free, but an inexpensive buyout.  http://www.nat-soft.com/nm5.htm

 I think it is a $695 buyout.  That comes with a year of support, I think,
 and free future upgrades.  Even though it is  a buyout, they still support
 and upgrade it.

 James Gamblin


 On Fri, Mar 2, 2012 at 4:26 AM, nathan lawson nathan...@gmail.com 
 mailto:nathan...@gmail.com wrote:

 Hi all!

 Just wondering if anyone knows of/uses/has made a free music
 scheduler that works with rivendell? It sounds odd but we are on a
 very tight budget at the moment and Powergold/Music 1 are too
 expensive and the built in scheduler has been picking music it
 shouldnt!

 regards

 -- 
 Nathan Lawson



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



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



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




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