Re: [RDD] Sound Panel

2022-03-24 Thread Robert Jeffares

Hi Bryan,

Sound panel plays out audio files as recorded. If you are doing it live 
you can route the output to a separate fader if you have enough sound 
card capacity and enough faders on the console.


The alternative is to make a track with the music in then fade which 
plays the same every time.


You could build the breaks with the bumper which fades and starts the 
first commercial using the SegueStart in RD Library Edit Markers.


Being clever you can make this a macro cart that switches RD to AUTO ; 
plays the bumper; plays the ad break then the back bumper is a Macro 
which plays the outro; then returns to MANUAL


You can have this on the  log or on the sound panel.

There are myriad ways...

regards

Robert


On 25/03/22 02:47, Bryan Burchfield wrote:
Thank you for your answer but I am not needing the fade out command 
for the log. I am using the sound panel to produce a live, on-air, 
program. For example, one button in my sound panel is bumper music for 
going in and out of commercial breaks. When I click the button to end 
the bumper, instead of letting it play completely out,  it stops 
immediately. I am needing it to fade. Is this possible and is it in 
the RDAdmin settings somewhere? I haven't been able to find it. Thank you


Bryan B

On Thu, Mar 24, 2022, 3:44 AM jm  wrote:

Hi ! use a macro with the rml command PS for the log you want to
stop (1 for main log) and the duration (in ms) of the fade out,
you want.

PS 1 3000! stop with fade out the main log in 3 seconds.

JM

Le 23/03/2022 à 22:26, Bryan Burchfield a écrit :

Is there a way to set the buttons in the sound panel to fade out
when you click them to stop instead of just an abrupt stop? 
Thank you

/*Bryan B
*/

___
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] RDCatch Wildcard Question(s)

2022-02-22 Thread Robert Jeffares

You may be able to set the week variable up before the download like

wn=$(date +%V); echo $wn <-- use V or W as appropriate

in front of the catch command

worst case a simple bash script will hook the audio in and you can deal 
with it locally using RDCATCH or DROPBOX



R

On 23/02/22 06:22, Alan Smith wrote:

What is the difference between %V and %W?

Also, is there a difference between a broadcast week and an ISO week?  
I've researched the subject, but its blowing up my brain.


The root of the issue is I am trying to set up an automated download 
via RDCatch, but the provider uses broadcast weeks in their filename.  
If I put the URL in without wildcards it works fine.  I plug in the 
wildcards and I'm getting invalid URL.


Thanks,


-Alan

___
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] Installing New Rivendell 341

2022-02-15 Thread Robert Jeffares

Hi,

the password you supplied when you installed CentOS is the one you need 
to access the command line [terminal]


check the CAPSLOCK [was it on or off when you set the system up - try 
both] and make sure you don't enter spaces before or after the Pass_word


As the instructions say you have to remember the password you used to 
build the system, it is not modified by the Rivendell install.


If the system is booting to Rivendell run by rd then you have a 
successful install.


all you have to do is remember the password.

regards

Robert

On 15/02/22 20:20, ija...@jamcorbroadcast.com wrote:


Fred,
I used Install procedure and after a few tries I got it installed in 
Centos 7
I am stuck now it boots strait to rivendell. I don't know the password 
for Rivendell login
I have to switch to Administrator to log in to the machine. Once in I 
can go to

the Konsole CLI. I can see  I am log in as rd
When I tried:
Enter the following command to get root permissions:
su -
 1. You will be prompted for a password. Enter the root password and 
then press Enter.
 Q. I tried this and used Root pass that I Built Centos - It does not 
work I get Error Invalid password. Do you know what is the installed 
password for rivendell
2.To Set the password for the local rd account with the following 
command:
 Q I can't change the password. Do anyone has any suggestions on how 
to get it changed to passwd rd


Thanks
For your help


On 2022-02-14 12:12, Fred Gleason wrote:

On Feb 14, 2022, at 00:59, ija...@jamcorbroadcast.com wrote:


I tried installing in Centos 7 and 9 with the same issues. Do you
have any suggestions on what the best way to install Rivendell


 https://software.paravelsystems.com/howtos/CentOS/7rd3/

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


Re: [RDD] RDCatch problem

2021-12-19 Thread Robert Jeffares

Tony,

yes Dropbox under rdadmin works for one cart per day. The command line 
rdimport has all the options to load cuts with dates into one cart.


I use a number of scripts to load programmes which turns repetitive 
tasks into a single command. Ok when you are the production person. Not 
so OK if you have operators who may not be command line savvy. Thats 
when making macro's and macro buttons solves the problem.


Permissions can be an issue if you are a user not in the Rivendell set 
of users. Doing everything as 'rd' is reliable.


ls -l on the directory you have created will tell you who owns it and 
the files in it.


Assuming the CD is supplied by a reliable source it should  be fine. Are 
the programmes wav format or mp3? Do you get a week at a time or a month 
at a time? Who sets the broadcast dates? How are the files on the CD 
labeled?


R

On 20/12/21 7:13 am, Tony Cox wrote:

Robert,

Thank you. For testing, I have set the time to a few minutes in the 
future. I used Cuts inside the cart that are departed for particular 
days — 001 = Monday 002 = Tuesday, etc. If I use a Dropbox, I don’t 
see a good way to use a Cut. Thus, we would need a Cart number for 
each day and a new event for each day. I was hoping to simplify my 
events and clocks.


I will look at Dropboxes for the process.

Another option for me is to let Rivendell grab the files from a remote 
computer. I have been successful using ftp access to download.


Do you think that my issue could be permissions related on the 
Rivendell computer?


Also, do you think it may be better to access a remote computer? I’ve 
been following the emails regarding Ransomeware.


Tony


On Dec 19, 2021, at 12:19 PM, Robert Jeffares 
mailto:jeffares.rob...@gmail.com>> wrote:


Hi Tony,

RDCatch runs at a *time* set in the top right of the Edit Download 
screen. If the time is now, not set in the future,  the catch will 
happen at this time tomorrow or this time on this day next week 
depending on the checkboxes.


Given the work flow you describe I would use the dropbox option in 
RDAdmin > Manage > Hosts > Host > Dropboxes


Depending on the labeling of the tracks on the CD you could put the 
entire weeks programmes in at once and they can be imported as cuts 
with play date set into the cart.


It looks like you use the cart as a two pulse cart with an intro on 
cut 1 and the programme on cut 2. I am inclined to do that with two 
carts one with the intro and the second with the daily content.


Another option is to write a shell script to read the tracks from the 
CD and cart them directly. You can call the script from a macro cart 
and put the macro cart on a button in the RDAirplay screen.


RDCatch does require a username and password. It can grab from all 
sorts of places and has a one size fits all interface.



regards

Robert

On 20/12/21 5:08 am, Tony Cox wrote:

I am new to Rivendell and am trying to finish the setup of a machine to run our 
radio station. Each week we have daily programs that we record from a CD and 
move the files into our current automation software (SS32).

In Rivendell, RDCatch seems like to ideal solution for us to automate the 
process and speed up our production work.

I have set up a folder on our new machine called “shows_import”. That will be 
where I want RDCatch to look for the file. I currently have place a file called 
“test1.mp3” in the folder and have RDCatch set to look for the file and place 
it into a Cut in a Cart for departing.

I think I have it set up properly but have been unsuccessful at getting RDCatch 
to do anything with the file. Here are my settings:

Description: Ted Watson->Cut 002
URL:file:///home/rd/shows_import/test1.mp3
User: user  Password: 
(Although the manual says no user and password are need for file transfer on a 
drive, RDCatch is still requiring me to have a username associated with the 
event)
Destination: 300121_002
Channels: 2
Autotrim, Normalize, Update Library Metadata (selected)
Active Days: Set to whatever day I am testing.

I have successfully downloaded from an FTP site, but can’t seem to make this 
work when grabbing a file on the same computer. This seemed simple enough but 
for whatever reason, I just haven’t had a success with this set up.

Any guidance is appreciated.

Thanks,

Tony
___
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 
<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] RDCatch problem

2021-12-19 Thread Robert Jeffares

Hi Tony,

RDCatch runs at a *time* set in the top right of the Edit Download 
screen. If the time is now, not set in the future,  the catch will 
happen at this time tomorrow or this time on this day next week 
depending on the checkboxes.


Given the work flow you describe I would use the dropbox option in 
RDAdmin > Manage > Hosts > Host > Dropboxes


Depending on the labeling of the tracks on the CD you could put the 
entire weeks programmes in at once and they can be imported as cuts with 
play date set into the cart.


It looks like you use the cart as a two pulse cart with an intro on cut 
1 and the programme on cut 2. I am inclined to do that with two carts 
one with the intro and the second with the daily content.


Another option is to write a shell script to read the tracks from the CD 
and cart them directly. You can call the script from a macro cart and 
put the macro cart on a button in the RDAirplay screen.


RDCatch does require a username and password. It can grab from all sorts 
of places and has a one size fits all interface.



regards

Robert

On 20/12/21 5:08 am, Tony Cox wrote:

I am new to Rivendell and am trying to finish the setup of a machine to run our 
radio station. Each week we have daily programs that we record from a CD and 
move the files into our current automation software (SS32).

In Rivendell, RDCatch seems like to ideal solution for us to automate the 
process and speed up our production work.

I have set up a folder on our new machine called “shows_import”. That will be 
where I want RDCatch to look for the file. I currently have place a file called 
“test1.mp3” in the folder and have RDCatch set to look for the file and place 
it into a Cut in a Cart for departing.

I think I have it set up properly but have been unsuccessful at getting RDCatch 
to do anything with the file. Here are my settings:

Description: Ted Watson->Cut 002
URL: file:///home/rd/shows_import/test1.mp3
User: user  Password: 
(Although the manual says no user and password are need for file transfer on a 
drive, RDCatch is still requiring me to have a username associated with the 
event)
Destination: 300121_002
Channels: 2
Autotrim, Normalize, Update Library Metadata (selected)
Active Days: Set to whatever day I am testing.

I have successfully downloaded from an FTP site, but can’t seem to make this 
work when grabbing a file on the same computer. This seemed simple enough but 
for whatever reason, I just haven’t had a success with this set up.

Any guidance is appreciated.

Thanks,

Tony
___
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 with drop boxes

2021-12-09 Thread Robert Jeffares
You need an import for each track so /var/directory/thu_first_
filename.mp3 and so on
Regards
Robert

On Fri, 10 Dec 2021, 17:59 Jesse Jones,  wrote:

> This is Rivendell Appliance 3.5.0
>
> I wish to use the drop boxes to import syndicated voice tracks which have
> the format: thu_AB_h01s01.mp3, thu_AB_h01s01.mp3.1, thu_AB_h01s02.mp3,
> thu_h01s02.mp3.1, etc., each day only the day of week varies as mon, tue,
> etc.  The tracks are downloaded into /var/adambomb/ each day.
>
> In the dropbox section of RDAdmin, I specify group as VOICETRACK; Path
> Spec as  /var/adambomb/*.mp3; Delete cuts before importing is selected;
> Metadata Pattern is %ddd_AB_h01s01; and delete the source file when
> completed is selected.
>
> Unfortunately, that isn't working.  I have other boxes that do work but
> they don't vary the prefix but use a date suffix.
>
> What am I overlooking here?
> ___
> 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] How to automatically import audio into a specific Cut inside of a Cart?

2021-11-17 Thread Robert Jeffares
So these are CUTS in the same CART?
You can put the new audio in a folder [ lets call it /home/rd/dropbox ] and
have a script run every week to use rdimport to place the audio in the
CART  I think with a specific CUT.
But it's a whole lot simpler with 5 CARTS
Those audio files will have dates in them or some unique ID which has to be
interpreted.
R

On Thu, Nov 18, 2021 at 12:18 PM Tony Cox  wrote:

> I can import an audio Cut into a specific Cart number using the Import
> Audio GUI with no problem. I have been trying to use a Dropbox to do the
> same thing, but to no avail.
>
> Is there a way to use Dropboxes to replace existing Cuts inside of a Cart?
> Is there a particular Metadata expression to use to define the cut?
>
> For context:
>
> I have 5 Audio Files that are replaced each week. 31_001, 31_002,
> 31_003, 31_004, and 31_005.
>
> It is easy to do using the Import GUI, but I would like to automate.
>
> Rivendell noob. Please help. Thank you in advance.
> ___
> 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 Robert Jeffares

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-09 Thread Robert Jeffares

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


Re: [RDD] New Build Failure

2021-05-11 Thread Robert Jeffares
Had a similar problem with ASRock and Alsa. The support reply was 'use 
Windows OS'.  ASUS generally are compatible.


As a matter of interest try the MB with Ubuntu 20.4. There are some 
kernel differences which may explain some of your problem.


Rivendell is not compatible with Ubuntu 20 you need 18.04 if you go that 
way, and be ready for some upstream Gnome surprises.


It works but not as you might expect.

regards

Robert

On 9/05/21 1:00 am, Rob Landry wrote:


I had that exact problem with an ASUS Prime B560-Plus a couple months 
ago. As near as I can tell it has to do with Secure Boot; essentially, 
the BIOS firmware is broken and only works with Windows.


I put that motherboard on the shelf and got a different, non-ASUS 
motherboard. At some point, ASUS will release a new firmware version 
that fixes the problem, and I'll use the motherboard in a future machine.



73 de Rob WB2AVC

--
Не думай что всё пропели,
Что бури все отгремели;
Готовься к великой цели,
А слава тебя найдёт.


On Thu, 6 May 2021, wa7skg wrote:

Just built a new computer for Rivendell in our new studio. ASUS Pro 
B460M-C motherboard with 32G of RAM. Trying to install CentOS7 from 
DVD I have used on previous installs. On boot, I get a menu asking to 
install CentOS7, test media & install, or troubleshoot. Regardless of 
which I choose, the screen blanks, the DVD drive runs for a bit, then 
nothing happens. I have tried two different DVDs, tried booting to a 
KNOPPIX DVD, tried booting to a USB stick with the CentOS7 ISO, all 
with the same results.


Any ideas?

Thanks.
--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."
___
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


--
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] Ubuntu 20.04

2021-03-29 Thread Robert Jeffares

Hi Lorne,

I tried Ubuntu 20.04 with the same result so went to 18.04. CentOS  7 
would not run on new hardware [Intel SSD etc].


Had to re work some scripts to find new locations but it's working.

Looks like CentOS 7 is not going to be developed any more just 
maintained and CentOS 8 will be it after 2024.


R


On 20/03/21 6:16 am, Lorne Tyndale wrote:

Hi,

I tried a while back to get Rivendell running on Ubuntu 20.04, but ran 
into QT4 issues as others have.  At the time I spent about a day - 
both trying unofficial QT4 packages for 20.04 and compiling QT4 from 
source.  Previously I'd been able to compile QT3 this way to get 2.x 
running on distributions without QT3, but I had no luck with QT4 and 
gave up, figuring it was not worth the effort.


I'd love to hear if someone has success, but from checking github 
repositories it looks like some work is being done by Fred on a QT5 port.


Lorne Tyndale

On 2021-03-19 4:08 a.m., Florent Peyraud wrote:


Hi Nick

Le 19/03/2021 à 03:10, Nick Andre a écrit :
Hey we're getting to update time off of 16.04. Would be nice to get 
sufficient QT4 compiled on 20.04. Anyone made any progress here? Or 
would I be blazing a trail?
We used to do this for Qt3 but this is a lot of work to maintain. 
There are some PPAs around porting Qt4 to Ubuntu 20.04 [1], but the 
risk is that they are not following updates. My opinion is to keep as 
close as possible to distro packages availability. This is why the 
Rivendell packages I propose on https://apt.rivendell-fr.org are 
built for Ubuntu 18.04 LTS


May just run 18.04 for now but support there is only 2 more years.


In fact, this LTS will be supported until 2028 by Canonical [2], at 
least for security updates, but this is 7 years ahead. I hope 
Rivendell will be Qt5 enabled before 2028, or even better : Qt6 ready !


Best Regards

Florent

[1] 
https://ubuntuhandbook.org/index.php/2020/07/install-qt4-ubuntu-20-04/


[2] 
https://www.serverwatch.com/server-news/canonical-extends-ubuntu-18-04-lts-linux-support-to-10-years/




--Nick

On Thu, Oct 1, 2020 at 4:24 PM Luigino Bracci > wrote:


    Has you tried with Debian 10?

    El vie., 25 de sep. de 2020 a la(s) 08:45, Brian McGlynn
    (bmcgl...@geneseemedia.net )
    escribió:

    Hi,

    It won't run on Ubuntu 20.04.  QT4 has been discontinued and
    the PPA with QT4 does not have MySQL support.

    Brian

    *--*
    *Brian P. McGlynn*
    585-785-4495 x202
    bmcgl...@geneseemedia.net 


    ᐧ

    On Thu, Sep 24, 2020 at 11:53 PM jorge soto
    mailto:jsoto3...@gmail.com>> wrote:

    Has anybody successfully configured, compiled and
    installed latest rivendell on ubuntu 20.04?
    If so, care to share how?

    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

    ___
    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] RD 2.9.10 - Cannot connect to MySQL server

2021-03-29 Thread Robert Jeffares

Hi Michael,

the client machine needs to have /etc/rd.conf amended to point to the 
server machine


here is one from my setup

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

regards

Robert



On 30/03/21 9:37 am, Michael Vasile wrote:

Hi there,

We're setting up a development environment to test migrating from 
Rivendell 2.9.10 to 3.5. We've set up two RHEL 7 machines, with one 
being the server, and one being the client. RD was installed on both 
using the script, with the appropriate flags.


For some reason, when trying connect to the server from the client via 
rdadmin, we keep getting errors saying "Unable to connect to mySQL!"; 
the server has MariaDB running, etc. We are able to access the server 
via the mysql command line utility.


Does anyone have any ideas as to what's going on?

Thanks,
Mike Vasile

──
*Michael Vasile*
Chief Engineer
WITR-FM 89.7
engin...@witr.rit.edu 

___
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] Dropbox Audio Converter Error

2021-03-23 Thread Robert Jeffares
I have had the same experience with mp3's generated by programs that 
insist on promoting themselves in the mp3 tags.


Some very expensive news / network software seems to do it just to be 
difficult.


Setting all tags blank, gets rid of characters which upset rdimport.

Remember there are several types of tags. mp3 has more standards than a 
Roman army.


regards


Robert

On 24/03/21 10:01 am, Lorne Tyndale wrote:

Terry,

Usually when I have issues with MP3's not importing via dropboxes it has
to do with issues with the MP3 header/metadata information not
conforming to standard.

Generally when importing MP3's I'll run them through mp3val first, which
is a small little piece of software that will look for common issues
with headers and metadata in an MP3 file and fix it.

Lorne Tyndale




Hi,

We use several Dropboxes to ingest our syndicated programming. It normally
works very well, but we had an issue yesterday where a file import failed.

Here's what's in the log:

Mar 12 17:28:41:  Deleting cuts from cart 89
Mar 12 17:28:41: Importing file "281_1-1_20210311_198698.mp3" [Ralph Nader
Radio Hour Ep 366] to cart 89 ... Mar 12 17:29:08:  Audio Converter
Error: Internal Error, skipping
/home/rd/kuchota/TEST/Ralph-Nader/281_1-1_20210311_198698.mp3...

I was able to get the Dropbox to work again by selecting 'Reset' for that
particular Dropbox, but  I'm hoping to learn more about what caused it and
how to prevent it from happening in the future.

Any insight into what caused this would be greatly appreciated. I'm also
open to hearing any strategies that may exist to mitigate playout issues
when there are errors like this.

Thanks!

Terry O'Connor
WDRT-Viroqua, WI


--

*Phone:* 638-9378
*Email: *te...@wdrt.org
*Hours: *8AM - 3PM Tue/Wed/Fri, 8AM - 11AM 
Thu.___
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] Transferring RIFF to Cart Chunk Metadata

2021-03-02 Thread Robert Jeffares

Hi Scott,

showriff [xawtv-tools]  should read the BSI header and produce an output 
you can feed into rdimport after some massaging.


A simple shell script will plough through the 4000 audio tracks and 
provide at least artist and title plus any other bits you want to transfer.


Someone will have already written this you would think..


Robert

On 24/02/21 1:19 am, Scott . wrote:
So I have about 4000 Wave files that have the metadata contained in 
the RIFF format (BSI) and so when RDimport does its job no information 
imports.


So does anyone have a way of converting there Wave audio files or 
copying there metadata across to the Cart chunk fields. So when 
importing it at least imports the Title, Artist snd Outcue information 
works.


Any ways to do this without doing it manually copy snd paste in Adobe 
audition.


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] USB Mixer

2021-02-20 Thread Robert Jeffares
We're running out on a USB Mixer which is also a complete broadcast 
console. Have tried several. They all seem to work well.  Only caveat is 
that they need to be known to ALSA. Since there are only a few chip 
options the chances are very good that what you have will be recognised. 
You won't have any/all ALSAMIXER features. The clever ones allow you to 
feed audio in to record voice tracks etc at the same time as playing 
audio out. Your UDB device has to support this.


73

Robert

On 17/02/21 2:41 pm, wa7skg wrote:
Has anybody used Rivendell with a USB mixer? We have a Behringer 
Q802USB mixer in our production studio. It has a USB connection to 
provide audio to and from the computer. Would this be an alternative 
to finding an Audioscience card? It would certainly make cabling easier.




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


Re: [RDD] Red Cart Playing

2021-01-11 Thread Robert Jeffares

Hmmm time to check the clock?

date +"%Z %z" will tell you where you are at.

it may be the old 'what day is this what town are we in trick?'

The PC clock should be running ZULU / GMT and you should be operating in 
your local TZ


If the carts are scheduled only Sat & Sun then check all weekdays is not 
going to be a problem.


The cart perms are as they should be ..


R


On 12/01/21 8:40 am, wa7skg wrote:
We do not use dayparting. The Air Date/Time and Daypart boxes are 
checked DISABLED. For Day of the Week, Saturday and Sunday are 
checked. It only shows red and  [NO AUDIO AVAILABLE] for Saturday, on 
Sunday it displays normally. The carts do play as they should. It is 
just the display in RDAirplay that looks weird.


For the affected programs ls -l shows
-rw-rw-r--. 1 rivendell rivendell 299952516 Jan  8 01:45 
/var/snd/080015_001.wav
-rw-rw-r--. 1 rivendell rivendell 654917132 Jan  8 01:56 
/var/snd/080016_001.wav
-rw-rw-r--. 1 rivendell rivendell  11646668 Jan  8 22:10 
/var/snd/080017_001.wav


The permissions are the same for all carts.


Very strange.

Michael


Robert Jeffares wrote on 1/11/21 10:54 AM:

Hi,

double click on the cut in the cart and see what dates are set. There 
are options for start date and end date, day part and day of the week.


No audio available indicates a permissions issue if the audio is there.

Can you post the output of

ls -l /var/snd/cart_number*

regards

Robert

On 11/01/21 3:38 pm, wa7skg wrote:
Interestingly, this did not occur on Sunday. The weekend programs 
air on both Saturday and Sunday. On Saturday, I get the red cart and 
the [NO AUDIO AVAILABLE] thing. On Sunday, the same carts play 
without issue.


Very strange.

Michael


wa7skg wrote on 1/9/21 1:33 PM:
Okay, it's all of my Saturday programs exhibit this behavior. I do 
not see this on any of my weekday programs, just Saturday so far. 
I'll try to watch on Sunday.


Michael


wa7skg wrote on 1/9/21 11:24 AM:
Just discovered a second program doing the same thing. This one 
downloads via RDCatch on Friday morning and airs Saturday. Again, 
everything looks good in RDLibrary. The cart in RDAirplay is red 
and says [NO AUDIO AVAILABLE] and the run length shows 00:00. When 
the program started, the green progress bar ran across in about 
two seconds. The countdown/countup timers on either end of the 
progress bar are running normally for the 26 minute program.


Very weird.

Michael


wa7skg wrote on 1/9/21 10:14 AM:
Still curious about this one. This is a weekend program. The 
program is manually downloaded from the provider website and 
imported into RDlibrary. Everything in RD library looks good. 
There is no indication looking at the log there is an issue. It 
doesn't seem to affect programming, but looks concerning when 
looking at the screen.


Michael


wa7skg wrote on 1/2/21 10:07 AM:
Watching RDAirplay doing its thing, a new hour started and the 
teaching program cart is displaying red. Under the title it says 
[NO AUDIO AVAILABLE] and no time information is showing. The 
progress bar ran across in the first few seconds. Audio is 
playing as it should. The time progress counters on either end 
of the progress bar are running normally and the countdown timer 
clock is running normally.


So, why the red cart and the no audio statement? Everything else 
seems normal.



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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Red Cart Playing

2021-01-11 Thread Robert Jeffares

Hi,

double click on the cut in the cart and see what dates are set. There 
are options for start date and end date, day part and day of the week.


No audio available indicates a permissions issue if the audio is there.

Can you post the output of

ls -l /var/snd/cart_number*

regards

Robert

On 11/01/21 3:38 pm, wa7skg wrote:
Interestingly, this did not occur on Sunday. The weekend programs air 
on both Saturday and Sunday. On Saturday, I get the red cart and the 
[NO AUDIO AVAILABLE] thing. On Sunday, the same carts play without issue.


Very strange.

Michael


wa7skg wrote on 1/9/21 1:33 PM:
Okay, it's all of my Saturday programs exhibit this behavior. I do 
not see this on any of my weekday programs, just Saturday so far. 
I'll try to watch on Sunday.


Michael


wa7skg wrote on 1/9/21 11:24 AM:
Just discovered a second program doing the same thing. This one 
downloads via RDCatch on Friday morning and airs Saturday. Again, 
everything looks good in RDLibrary. The cart in RDAirplay is red and 
says [NO AUDIO AVAILABLE] and the run length shows 00:00. When the 
program started, the green progress bar ran across in about two 
seconds. The countdown/countup timers on either end of the progress 
bar are running normally for the 26 minute program.


Very weird.

Michael


wa7skg wrote on 1/9/21 10:14 AM:
Still curious about this one. This is a weekend program. The 
program is manually downloaded from the provider website and 
imported into RDlibrary. Everything in RD library looks good. There 
is no indication looking at the log there is an issue. It doesn't 
seem to affect programming, but looks concerning when looking at 
the screen.


Michael


wa7skg wrote on 1/2/21 10:07 AM:
Watching RDAirplay doing its thing, a new hour started and the 
teaching program cart is displaying red. Under the title it says 
[NO AUDIO AVAILABLE] and no time information is showing. The 
progress bar ran across in the first few seconds. Audio is playing 
as it should. The time progress counters on either end of the 
progress bar are running normally and the countdown timer clock is 
running normally.


So, why the red cart and the no audio statement? Everything else 
seems normal.



___
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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Rivendell-dev Digest, Vol 93, Issue 7

2021-01-09 Thread Robert Jeffares

Hi Andru,
the normalization algorithm used by Rivendell is a safe option which works.
It has some inconsistencies which I will identify later.
A peak voltage based setting of the volume control is never going to be 
perfect because the apparent loudness of any audio is dependent on a 
number of factors.
Composition of the audio, Frequency, reverberation, "processing" of the 
source, and the environment of the listener.
Perception; what is sounds like; is not necessarily measurable on a 
meter, be it VU PPM or Spectrum Analyser.
Fletcher–Munson did some good work on this in 1933.  There has been 
subsequent research. Its a subject broadcasters should be familiar with.
I am grateful to my tutors, Dennis Edwards in particular, for quite some 
focus on this. Wikipedia is reasonably useful as a starting point.


There are a number of ways of setting audio level by electronic means, 
none of them approach the perfection of a good set of ears.


The first consideration for a Rivendell system is the storage and 
retrieval of an electrical signal at a level which gives a good signal 
to noise ratio and does not introduce distortion.
Digital sampling has made both criteria easier to deliver [although as 
an analog purist I don't like sampling at any rate :)]


The playout for automated audio needs to be at a level which has 
consistent loudness. There is no way round the need for a curator to 
audition the audio and make a professional decision.


Fortunately Albums and Artists tend to be consistent.

There have been any number of attempts to create a device that can 
deliver constant and "bigger" loudness. With the exception of the Texar 
Prism [ I said I was a purist ;) ] they tend to try and deliver a 
constant voltage output on one or more bands of frequencies, at some 
point making everything sound the same, with concomitant listener fatigue.


Best example I have ever heard was an Audimax -> Volumax combo through 
which the 1812 Overture was converted from a dynamic range approaching 
50db to a dynamic range of less then 3db. There are several stations 
where I live which have processing that sounds like a 20m Ham Radio 
contest station. To be fair. The hams do it better.


There will always be a device in the programme chain which provides 
protection to the transmission system by limiting peaks.


This will not affect loudness unless it is set at some extreme.

In an automated environment a decision has to be made at the ingest point

You have two choices:

1) Make sure the library has all audio stored and configured so it plays 
at a consistent loudness. Your VU meter may vary.


This involves a lot of work.

I have a number of scripts which enable me to select audio by artist 
album or some other criteria and to play the output on a spare terminal.


I can grade a lot of songs in a short time by listening to the first 
20-40 seconds of each. If your recordings are from the same source you 
can apply global settings easily.


There is some mysql fu which you are probably well able to apply.


2) Deploy some electronic steam press which takes audio in from the 
console [or the input to the console from the sound card] and outputs a 
constant level engineered to give as much loudness consistency as the 
circuitry will allow. Various playout systems provide this as a feature. 
Jazler has a bundled version of Stereo Tools which does deliver a 
consistent output.


Any resemblance to the original audio is accidental.

In an ideal world the 'right' level will be delivered from the mixing 
console to the programme chain.


The transmission will be a joy to listen to.

In the real world there will be someone asking why don't we sound as 
loud as 'XYZ'?
This results in the deployment of expensive multi band processors which 
are configured to deliver 'perfect' sound in the bosses car or the 
bosses lounge.


A track that cost a large amount of money to produce in a state of the 
art studio with the best musicians and the best instruments can be made 
to sound just like everything else.


[ and we wonder why people don't listen to radio for music so much any 
more :|( ]


The processor will cost more than the console.  Good management can 
avoid the necessity. Your audience will love you for it.**

**

*Hints:*

Use rdimport from the command line and set --normalization-level=-13

The default [-13] works on mp3 tracks but wav files are left untouched 
unless you have the level specified. [ this may not be the case in v 3.x ]


You can also set segue points and trim levels. $ man rdimport tells all

use --set-string-user-defined= to identify the source of the tracks  I 
add $(date +%d%m%Y)


mysql> UPDATE CUTS set PLAY_GAIN = '-320' where CART_NUMBER in (select 
NUMBER from CART where ARTIST like '%Red Jenkins%') ;



- cute code to get songs by artist 
specify artist with '%Artist%' after calling script -


#! /bin/bash
mysql -u root Rivendell -e "SELECT * FROM CART 

Re: [RDD] Print Degrees in RML

2021-01-05 Thread Robert Jeffares

Try

hotness=`echo 18 $'\xe2\x84\x83'`
/usr/bin/rmlsend --to-host=localhost --to-port=5858 LB\ "$hotness"!

works in v3.x

substitute $temperature  for 18 using your local variable


73

Robert

On 6/01/21 3:31 pm, wa7skg wrote:
I have a script that grabs weather information, manipulates it, pulls 
an appropriate audio cart, and airs the temperature periodically. I 
have modified the script to add the rmlsend LB command to display the 
current temperature in the Label box of RDAirplay. The script is


rmlsend LB\ "KHRB-LP $T Degrees"\!

If possible, I'd to have that display the degrees symbol (superscript 
o) instead of Degrees. I've researched trying to find how to print 
special characters in bash to no avail.


Is this possible in RML?

Thanks.



--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Bulk Add Audio Files

2021-01-03 Thread Robert Jeffares

Hi Michael

sndfile-metadata-get somefile.ogg > sometextfile.txt

in a shell script will give you the metadata in a file you can import 
back as Artist Title and whatever else you want into an array.


the put the varius bits in an rdimport line as --set-string-field=string 
options


for

from the beginning of the list to the end

do

read the metadata into a text file

read the text file to get desired data

$1 $2 $3 etc

redimport --verbose --set-string-artist=$whichever one is artist 
--set-string-title=$whichever one is title GROUP $filename.ogg


You can put in any number of options man rdimport tells all.

I would copy the files into a directory somewhere and use -- 
delete-source then the ones left over are the ones you are going to have 
to manually import


if your bash script fu is not that great send me an email with a copy of 
one file and i will bash something out.



command line is your very powerful frend.

regards

Robert



On 18/12/20 12:34 pm, wa7skg wrote:
Well, rdimport worked fine for me for a bunch of mp3 files. However, I 
have another 450+ .ogg files. Unfortunately, the filenames are all 
numbers, like 10005-03, 10005-18, 10015-08, 10015-10, etc. I can open 
these in MediaPlayer, Audacity, etc. and see the metadata with name 
and artist, etc. but the metadata does not import into Rivendell like 
it did with the mp3 files.


I am using the following command:

rdimport --verbose --segue-level=-10 MUSIC *.ogg 2>> errorlog.txt

That command worked fine with the mp3 files, inputting the title, 
artist, and other info. With the ogg files, it puts "Imported from 
10005-03.ogg" as the cart title and no other info.


I've never messed with ogg files before. I must be missing something.

Thanks for any help.

Michael



wa7skg wrote on 12/16/20 4:16 PM:

Aha, forgot about command line tools.

Thanks,
Michael


David Klann wrote on 12/16/20 3:09 PM:

Michael,

rdimport(1) is your friend.

    man rdimport

to get started.

    ~David

On 12/16/20 5:07 PM, wa7skg wrote:


In my feeble memory, I seem to recall there was a way to bulk add 
audio
files. I have a couple hundred songs to import into Rivendell and 
adding

one at a time will take forever. Any way to speed it up?

Thanks,
Michael


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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


[RDD] Ubuntu 18.04 Install

2021-01-03 Thread Robert Jeffares

Hi All,

happy 2021!!!

I have successfully installed Rivendell on Ubuntu 18.04 following the 
wiki instructions, on an Intel machine with a PCIE SSD and a 8 TB HDD.


My thanks to Florent Peyraud for some guidance in this process.

The station had been fortunate and given a large amount to upgrade 
facilities.


The CentOS 7 appliance install would not complete on this hardware. 
That's not a Rivendell issue it's an OS challenge. CentOS would say that 
later versions will cope with the hardware.


The installation appears to install Jack by default. Jack is not needed 
in this instance.


I note the service.rivendell status reports that jack cannot be started.

Is there some way of uninstalling Jack ?

regards

Robert

--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Weather and Time Announcements

2020-12-26 Thread Robert Jeffares

FWIW

On 25/12/20 10:13 am, Lorne Tyndale wrote:

For getting the Time part, one way that I looked at in the past (but
never implemented due to the work requried) is to record an audio cut
for each minute of the day.  To cut down on the amount of recording it
is possible to re-use the AM and PM recordings if you don't specify AM
or PM in the audio.  So for example, you could use the same audio for
saying "It's 12:42" for both 12:42 am and 12:42 pm, leaving it to the
listeners to figure out if it is AM or PM.


I have a set of such times which were easy to ingest once recorded, because we 
labelled them 0601.wav 0602.wav etc.using rdimport we set the start time and 
end time from the filename.
In fact the times were set 30 sec before and 30 sec after.

The voice used was the 'host' of that segment.

Bit of work to record and label, but once done they last forever.

To avoid repetition we made some variants on the ones that seemed to be played 
more often.
If the cart is in the VTRAX group they can be laid over song intros.

Bit of work but it's worth it.
R




-- Communication Consultants 2020 Limited 64 Warner Park Avenue 
Laingholm Auckland 0604 New Zealand

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


Re: [RDD] RDCatch Questions - Weird Wildcards

2020-12-20 Thread Robert Jeffares



On 18/12/20 1:04 pm, wa7skg wrote:

Whatever I set up needs to be within the documented system


for each automated cronjob write the manual page which is stored in a 
local printed folder


this is what is needed

this is how it happens

this is the result

this is the email that gets sent

do not monkey with this unless you know what you are doing

find and train one first responder.


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] RDCatch Questions - Weird Wildcards

2020-12-20 Thread Robert Jeffares

tut tut

On 18/12/20 12:50 pm, wa7skg wrote:
I need to keep this all within rdcatch, no scripts or exotic 
solutions. If it can't be done in rdcatch, then the staff will have to 
go back to manual daily downloads like they were doing prior to 
Rivendell. 


you write a shell script that downloads every week on the same day to a 
local folder


renaming as necessary

then carting each daily episode

and sending you a 'done' message; or a 'squawk'

all done as a cron job in the background no user intervention.

the producer has to be consistent in their labeling. I have one who is a 
bit erratic. There are some "but if" in that script.


you can wildcard anything in a filename in bash.

rd catch does well with the sane stuff.

some providers, especially ones whose 1st language is not English can be 
somewhat fey.


bash is very powerful.

if you need a hand send me the url of the download site, the names of 
the files you want and the GROUP and Cart Numbers you want them in. New 
cart each day not new cut each day although that can be done.


I can send you a script with comments so you can see how it's done and 
use the same ideas over again.


rdcatch and dropbox are both very useful but the syndicated stuff or the 
stuff you are leaching from somewhere may need something  a little more 
serious.


regards

Robert


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] RDCatch Questions - Weird Wildcards

2020-12-20 Thread Robert Jeffares



On 19/12/20 11:04 am, wa7skg wrote:
There hasn't been a post to the Rivendell Facebook page in 2 1/2 years. 



not true.

R

--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Rivendell Future

2020-11-23 Thread Robert Jeffares

Hi Fernando,

Rivendell like all open source projects has developer(s) who have to 
make decisions, and have people to create and manage code.


Linux is available in more distributions than you can count, and while 
many programs run on many distributions, not all will ever run on all.


Each distribution has a team who determine how it will function and each 
distribution generally has a well stated focus. Same goes with 
applications.


Rivendell's development team have made a decision to build on a stable 
platform, currently CentOS 7. CentOS has generally stable versions of 
useful algorithms, and the code runs reliably.


This is important to some thousands of users.

In the true spirit of open source there are versions maintained for 
Ubuntu and Debian, and report of builds on almost all of the possible 
platforms.


Inevitably QT4 will reach an end date, and the code may have to be 
ported to QT5 or possibly QT6  which will involve a lot of effort 
because what worked previously has to be verified as compatible with the 
new QT or rebuilt from scratch.


The Aegean Stables are nothing on this task.

The new QT will not be like the old QT. Simple changes will create 
incompatibilities because the QT coders are not thinking of end users 
but end results.


So what may look easy is probably a bit more complex. I believe it's 
being worked on.


I don't think the goal of Rivendell is to be more visible. I believe 
it's purpose is to do a job well, incorporate well reasoned additional 
features, and above all maintain reliability.


This is not about growing the market, this is about keeping things 
running. People will come along and be happy to join in.


All of the distributions you mention have their strong points. You 
should be able to get Rivendell to run on any of them, with the 
fragility that comes from unheralded upstream changes that improve 
performance for something, but nuke Rivendell essentials.


Rivendell is like a Lada. It may look ugly, and old tech, but it runs on 
almost anything, best on one or two platforms, and it gets there.


I suggest the 'up to date distro like Ubuntu 20.04' may not be as flash 
as you imagine. I use Ubuntu elsewhere and have been through several 
iterations of stuff not working in "the new version" because this or 
that has changed. Finding the people to maintain various releases of 
Rivendell, when the basic version works fine, is going to be difficult. 
There are people who will make it run on something because they can. But 
for most it's "why?".


You can still contribute to the project I am sure.


regards

Robert


On 24/11/20 2:30 pm, Fernando Della Torre wrote:

Hello folks.

I've been away for a while and now I've tried to compile Rivendell 
using some up to date distro like Ubuntu 20.04 or Mint 20 with no 
success at all.

It complains about QT4, specially about libqt4-sql-mysql.

I'm not a dev (I wish I was) but as far as I understand QT4 it is 
being retired.

Is there any Rivendell release using QT5 or any newer equivalent ?

I know it's easy to say and hard to do, but surely Rivendell would 
have a larger visibility if it were packed in 2 or more flavors, like 
RPM and DEB pointing to all dependencies it needs and ready for the 
modern distros, whether Ubuntu, Debian, Mint, Fedora, Centos 8, etc. 
Every time in the past I had to complite from source and every update 
was a kind of a pain.


As I said I wish I was a dev, but I'm just a sysadmin.

I really appreciate the effort of the entire community working on 
Rivendell. Thanks a lot.


Regards,
Fernando Della Torre

+55 (16) 98137-1240



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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] RDAirPlay Crash Revisited

2020-09-22 Thread Robert Jeffares

Mark, check the naming of the log in RDADMIN > Hosts> RDAIRPLAY

and RDADMIN> Manage Services > Service < this is the one to be very 
careful to check


it looks legit    Production-%m%d   but make sure there aren't any 
lazy spaces in there.


Not sure where you are getting these logs from I am used to seeing CHAIN 
TO . Are these logs not generated in Rivendell?


all the best

Robert

On 23/09/20 9:09 am, Mark Murdock wrote:

Below is the end of the 9/21 log and the beginning of the 9/22 log:

Audio23:41:27 SEGUE 060701 LINERS  :12 Airshow Enhancer 
 Airshow Enhancer   Music 764
Audio23:41:39 SEGUE 010131 MUSIC  3:13 The River
 Jordan Feliz   Music 765
Audio23:44:51 SEGUE 060918 JINGLES :13 Jingles Overnight (1)
 MM #3 tk 10Music 766
Audio23:45:03 SEGUE 011145 MUSIC  2:50 Who Can  
 Cochran & Company  Music 767
Audio23:47:53 SEGUE 060925 JINGLES :05 Features Jingle (Outside MD) 
Music 768
Audio23:47:57 SEGUE 011109 MUSIC  3:43 Fires
 Jordan St. Cyr (seer)  Music 769
Audio23:51:40 SEGUE 060701 LINERS  :12 Airshow Enhancer 
 Airshow Enhancer   Music 770
Audio23:51:52 SEGUE 011063 MUSIC  3:31 Amadeo (Still My God)
 Ryan Stevenson Music 771
Audio23:55:26 SEGUE 060920 JINGLES :09 Jingles Overnight (3)
 full sing  Music 772
Audio23:55:38 SEGUE 010268 MUSIC  4:04 Jesus I Believe  
 Big Daddy WeaveMusic 773
Audio23:59:31 SEGUE 060701 LINERS  :12 Airshow Enhancer 
 Airshow Enhancer   Music 774
Audio23:59:43 SEGUE 010464 MUSIC  4:22 God With Us  
 Mercy Me   Music 775
Audio23:01:03 SEGUE 010046 MUSIC  3:49 You Love Me Anyway   
 Sidewalk Prophets  Music 776
Audio   H23:59:30 SEGUE 060003 LEGAL   :11 Legal ID 
 McConnell  RDLogManager  777
Chain   H00:00:00 SEGUEProduction-0922  
  RDLogManager  778

-Type-- -Time Trans -Cart- -Group -Length- 
-Title--- -Artist--- -Source- 
Line
Audio00:00:00 SEGUE 010038 MUSIC  3:52 Come As You Are  
 David Crowder  Music   0
Audio00:03:48 SEGUE 060701 LINERS  :12 Airshow Enhancer 
 Airshow Enhancer   Music   1
Audio00:04:00 SEGUE 011104 MUSIC  2:59 Revolutionary
 Josh WilsonMusic   2
Audio00:06:59 SEGUE 060921 JINGLES :09 Jingles Overnight (4)
 full sing  Music   3
Audio00:07:11 SEGUE 011050 MUSIC  3:58 Alive and Breathing  
 Matt Maher Music   4
Audio00:00:00 SEGUE 060702 LINERS  :09 Celebrating Liner
 McConnell  Manual  5
Audio00:11:29 SEGUE 011107 MUSIC  4:25 The Blessing 
 Kari Jobe w/Cody CarnesMusic   6
Audio00:15:56 SEGUE 060918 JINGLES :13 Jingles Overnight (1)
 MM #3 tk 10Music   7
Audio00:16:08 SEGUE 011147 MUSIC  3:18 Victory Song 
 Cori & Kelly   Music   8

The last thing that played before the ID was the Big Daddy Weave song.

Thanks,
Mark

-Original Message-
From: Chuck 
Sent: Tuesday, September 22, 2020 11:43 AM
To: rivendell-dev@lists.rivendellaudio.org; Mark Murdock 

Subject: Re: [RDD] RDAirPlay Crash Revisited

   Can you please post the last 15 minutes of the actual 9/21 log and the first 
15 minutes of the 9/22 log?

   My operations logs all run from approximately 03:00 to 03:00 daily, so I 
don't think that is unusual.  It would be good to get to the bottom of your 
problem, because even if a log mistake is causing the problem, it should not 
cause a crash of AirPlay.

--Chuck

On Tu 22 Sep 2020 14:32:17 +
Mark Murdock  wrote:


Once again RDAirPlay crashed completely after loading the new log for
today, and I had to connect and re-start RDAirPlay. Below is the end
of the operations log for 20200921. Can anyone see anything that would
cause this crash? It appears nothing played after the legal ID
(60003), though it did chain to the 0922 log. It also seems odd to me
that the log for 9/21 continues until 3 AM on 9/22. This seems to be
true for all the 

Re: [RDD] Riv Server advise

2020-07-25 Thread Robert Jeffares

Hi Tom,

with a number of servers reaching 10 years of continuous use we planned 
to upgrade the hardware at the same time we migrated to Centos 7 and 
Rivendell V.3


We had a series of ASRock MB's which had faults which the MFG was not 
interested in dealing with if we were not using Windows.


I consulted with a local supplier to source items they had some stock of 
[like 50+ units] and we went for RAM and SSD to give MySQL some room to 
move.


We don't need speed to play out audio but we need grunt to create logs 
from a big library.


The server gets the 8TB Production gets the 500GB SSD

   Motherboard:  MBDGBM51013 Gigabyte B365M HD3 MATX For Intel 8th/9th.

   RAM 16GB:  MEMCRU069320 Crucial 16GB DESKTOP DDR4.  Single 16gb.

 Processor:  CPUIT9100 Intel Coffee Lake Core i3 9100 4 Core 3.6Ghz.

 120GB SSD:  HDDCRU20120 Crucial BX500 120GB 2.5 inch SSD.

  Crucial MX500 500GB 2.5 inch SSD 7mm & 9.5mm adaptor.

   8TB HDD:  HDDWD22801 WD 8TB Red NAS HDD , 3.5" SATA3 256M Cache

I have about a dozen computers which have been sourced from all sorts of 
places. By rebuilding them all with a common and tested platform the service is 
easy.
Most problems can be a spare swap process by the front line fixit person. The 
only problem we have had other than a bad run with ASRock boards is PSU failure.
One went down to a small rodent looking for a warm place to spend the winter. 
Much searching to find point of entry and eliminate!!!
Our power is clean, most have UPS but the OEM PSU's just fail. After much 
dicking around we located a low cost high reliability no name unit at a small 
computer service shop.

Each site will have 2 standby PSU's.

We have used ex-lease PC's in the past but they seem to have become very 
expensive. Our cases, many expensive rackmount, will be resprayed. I found a 
source of rackmount cases which had a fair amount of wear and tear but no 
corrosion.
The new motherboards will not take our old sound cards. Some will upgrade to 
new AudioScience cards and others will get Alesis USB card/mixers. Our new 
consoles all have built in USB audio.

On 18/07/20 4:16 am, Tom Van Gorkom wrote:
I need to upgrade our CentOS 6.9 servers to v7 and these "servers" are 
getting old. I debated whether to upgrade the MB and CPU or buy a Dell 
T40 or T140 Xeon basic server to save time and avoid compatibility 
issues. Is this an overkill?


Any suggestions on what the Rivendell server needs to be capable of  - 
how many cores and threads?  My impression is that it doesn't work 
that hard but system 7 is a bit more heavy.


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

Director of Media
Rio Grande Bible Ministries
4300 S US Hwy 281
Edinburg, TX 78539
www.riogrande.edu 

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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Getting ASI card to work in RD 3.3.0

2020-06-11 Thread Robert Jeffares

Morena Gavin.

The install has probably defaulted to 48,000.

look at rdadmin > system settings and see where it's at.

On a new install it's no big deal but if you have a library you are 
copying over it needs to be at the rate the library was created at.


Mine happens to be 44100.

That may explain audition rate being fast.

take a look at /etc/asound.conf

I have a V3 which needed to be told what rate it was running at because 
the on board sound card was insisting on something else.


pcm.rd0 {
  type hw
  card 0
  rate 48000 <-- you can change this to suit
  device 0
}
ctl.rd0 {
  type hw
  card 0
}

In the Rivendell menu under configuration run rdalsaconfig which should 
find your ASI card.


cat /etc/asound.conf will tell you which one is rd0, 1 2 3 etc

098176358

regards

Robert Jeffares


On 12/06/20 6:11 am, Gavin Stephens wrote:

Hi guys,

Just a couple of quick questions. It's been almost a decade since I 
used RD and I'm retiring my old machine here and installing RD3. I've 
done it via the instructions on the Paravel website with CentOS7.


I've ran in to a few small hick ups with audio. I've got an ASI5111 
Rev.F card in the machine, and ALSA also appears to be active and 
listing the onboard sound. The ASI shows up as Card 0, ALSA Card 1. 
I've tried to configure via RDAirPlay settings Card 0 for main output 
1 as port 0, then tried to change main output 2 as port 1, but it 
won't have a bar of it. I've set the audition as Card 1 and the 
on-board plays this fine albeit at a fast pitch.


When I run RDAirPlay and play the cart, it just hangs. I'm obviously 
missing a step getting the ASI adapter to work correctly. Is ALSA 
locking this card out or something? Also the fast pitch through the 
onboard, I'm guessing that is a wrong sample rate setting somewhere. 
My memory isn't what it used to be using RD and I've forgotten which 
files on the machine to find for setting the sample rate, and to make 
sure ALSA is not using the ASI card and locking RD out from it.


Any pointers in the right direction would be much appreciated. I'm 
about to import in a lot of music from Simian, I've tried rdimport 
however it doesn't import both the title and artist by default so I'm 
gonna go through and copy and paste it all over the weekend.


Cheers,

Gavin.

N.Z.



--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


[RDD] V 3.2.1 RD Airplay Stops

2020-06-03 Thread Robert Jeffares

Hi all,

rdairplay just stopped. No obvious reason. Running on Auto no log 
errors; no power issues.


No one in room so no bumped keyboards or mice.

From the log

   Jun  3 10:16:06 crab rdservice: ran 
local maintenance routines


Is this something that might cause an upset?

Robert

--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] rdimport

2020-05-31 Thread Robert Jeffares

Hi Chris

rdimport --verbose --segue-level=-10 MUSIC /home/rd/music_import/"1987 - 
Alphabet City"/*.mp3


is going to give you what you want. More or less

If the mp3's don't have tags add

--metadata-pattern="%a - %l - %i - %t.mp3"

Questions answered in line.

On 30/05/20 1:17 am, Sojo Gold wrote:

Hi
I'm having a few games with rdimport please could you guys give me a 
heads up!.


My command line;
[rd@rivhsr ~]$ rdimport --verbose --segue-level=-10 MUSIC *.mp3 
/home/rd/music_import/"1987 - Alphabet City"/


My Audio file structure;
music_import/
    1987 - Alphabet City/
 ABC - 
Alphabet City - 01 - Avenue.mp3
 ABC - 
Alphabet City - 02 - When Smokey Sings.mp3
 ABC - 
Alphabet City - 03 - The Night You Murdered Love.mp3

etc...
My verbose output;
rdimport started
RDImport v3.4.0

...
Import Create Dates mode is OFF
Files to process:
  "/home/rd/music_import/1987 - Alphabet City/"
rdimport finished
[rd@rivhsr ~]$
However, there are no carts in RDLibrary

This is where a few questions arose..(which I cannot find in the 
listings or wiki)

1. do I need to be root/sudo

no

2. Do I need to be in the directory of the actual mp3's

no as long asthe path is correct and you have permissions on the files

3. Will this work over a samba/nfs share.

yep
I also tried the Perl importer (nested-import.pl) and found it will 
not work as per /rdimport/ and it will not parse the rdimport options 
like /--autotrim-level=-30/ either.

have no knowledge of this


Some help would be appreciated muchly..
Chris Perkins



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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Painful log generating times

2020-05-11 Thread Robert Jeffares

Hi Jay,

Rivendell has always been slow to construct logs on any platform despite 
ram and fast drives for the OS and with space for the scratch files 
which are not stored in virtual ram. Big library, lots of scheduler 
codes, lots of events, scheduler rules, many clocks. I have a small 
system [3000 audio tracks]  which can make a log in 5 minutes, and a big 
system [80,000 audio tracks] which takes an hour to create a log. Since 
the hour is at 1am and I am doing drum and bass in my bed it does not 
bother me.


The processing time is taken up by MySQL.

Looking at system demand when I create a log RDLOGMANAGER is hogging CPU 
at 80% or so


which can be tweaked. I have just looked at this and can see some 
rewarding long winter nights.


Yes it is a pain when you need to unschedule/reschedule after a 
Clock/Event change. Fortunately we work ahead enough to be able to keep 
this to a minimum and I have some clever setups that enable me to drop 
new stuff in once an hour.


Yes it's long compared to 'on the fly' scheduling systems, and one 
Windows based system which markets itself on the speed of log creation. 
I have clients who have, or have had these other systems, and they just 
don't do all the stuff Rivendell does. I can live with the overhead.


You can use a dedicated external music scheduler.

My winter project will be to explore MySQL and MariaDB and see what can 
be done.


regards

Robert

On 10/05/20 5:09 am, Jay Schell wrote:


I built a new virtualization server for hosting two Rivendell servers 
running completely different stations and audio libraries. The new 
servers are version 3 but generating logs is taking FOREVER, I am 
talking almost an hour to make one log. This is on an imported v2 
database. Any thoughts on what might be wrong? The new server has lots 
of RAM and processing speed so I wonder if it is a database issue or 
hard drive performance issue.


Jay Schell

WLFC-FM Engineer


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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Hello guys

2020-05-04 Thread Robert Jeffares

Welcome Andrejs,

http://wiki.rivendellaudio.org/

is a great place to start.

Logs are created using RDLOGMANAGER and will have a CHAIN command at the 
end if you have checked the 'chain to'  box in RIVENDELL > 
CONFIGURATION  RDADMIN > MANAGE SERVICES > EDIT SERVICE.


Making sure the log rolls over at midnight can be achieved in a number 
of ways.


I place a timed event just before midnight with one song after it which 
works for me. If you have a 'news on the hour' format you may use 
another shell script to force the issue.


You need to become familiar with CRON, CRONTAB, and Shell Scripts in bash.

lots of info on line about all of these.

Log creation is manual but can be automated with a shell script.

- snip 
---


#!/bin/bash
export DISPLAY=:0.0
date >/home/rd/advanceLogGeneration.log
$hostname >>/home/rd/advanceLogGeneration.log
#make log for Production
/usr/bin/rdlogmanager -g -s Production -d 8 
>>/home/rd/advanceLogGeneration.log


#clean up log perms and put in one place
chown rd:users /home/rd/*.log

# send a report
cat /home/rd/advanceLogGeneration.log |mail -s "$(hostname) Log Report" 
some...@somewhere.com

exit 0

- snip 
---


The originator called it sustainLogGen.sh

The help file explains

rdlogmanager --help

rdlogmanager [-P] [-g] [-m] [-t] [-r ] [-d ] [-e ] 
-s 


-P
 Do not overwrite existing logs or imports.

-g
 Generate a new log for the specified service.

-m
 Merge the Music log for the specified service.

-t
 Merge the Traffic log for the specified service.

-r 
 Generate report .

-d 
 Specify a start date offset.  For log operations, this will be added
 to tomorrow's date to arrive at a target date, whereas for report
 operations it will be added to yesterday's date to arrive at a target
 date.  Default value is '0'.

-e 
 Specify an end date offset.  This will be added to yesterday's date
 to arrive at a target end date.  Valid only for certain report types.
 Default value is '0'.

-s 
 Specify service  for log operations.



regards

Robert Jeffares


On 5/05/20 4:39 am, a...@xhost.lv 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.




--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Cart Auto-Trimming

2020-04-27 Thread Robert Jeffares

Hi Ryan,

hopefully there is a 1 or 2 sec gap at the 3 min point.

The tool to use is sox and you can make it cut at both time and level.

I have a script that looks for the 2 second gap before the BBC news and 
uses that to lop off the front of the file we record from their stream.


because the internet stream is variable length the script finds the 
silence and measures the time from the front to the silence.


all done with sox.

In your case the front of the file is clean so you need to look for the 
release point in the audio.


Does it come with tone?

couple of snippets to give you an idea of what is possible with sox.

sox -V3 normalised.wav /home/rd/audiolab/clipped.wav silence  0.5 0.1%  
1.0 0.8% <-- looks for silence


sox -V3 normalised.wav /home/rd/audiolab/head.wav trim $LENGTH <-- trims 
a specified length of time off the front


If you download the top of the hour bulletin to somewhere you can make a 
copy and then use sox to find the cut point and create a new track.


There will be a format for the bulletin, and the edit works as long as 
the reader follows the format.


If you wand help send me a copy of the audio file.

regards

Robert

On 28/04/20 3:57 am, Ryan Kin wrote:


So I'm getting a news service that I run a 6 minute top of hour 
newscast, then I run a 3 minute bottom of hour newscast with their 
election coverage.


The main question is, how can I auto-trim the cut from either the 
beginning or the ending of the cut when using RDCatch (or crontab) 
from let's say a 6-minute clip to a 3-minute clip, to where there's no 
audio so that there's no cut off from either ending or beginning of a 
sentence... Would there be a way to auto-trim the level at -90db?




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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Automatic Log Generation

2020-04-25 Thread Robert Jeffares

Hi Phil,

Rivendell does not have a built in log generation routine.

Well it does but you can't run it other then manually

But it will run from a script

This generates a log for 8 days from today.


#!/bin/bash
export DISPLAY=:0.0
/usr/bin/rdlogmanager -P -g -s Production -d 7
exit 0

Today is -1 tomorrow is 0 [the default]

You do need the DISPLAY

I run this as sustainLogGen.sh every day at 0015 and I have various 
versions of the script to cover times when we reformat and need to 
generate a week's logs.


In our case the logs are relocated to a remote system and the one week 
buffer covers outages.



rdlogmanager --help

rdlogmanager [-P] [-g] [-m] [-t] [-r ] [-d ] [-e ] 
-s 


-P
 Do not overwrite existing logs or imports.

-g
 Generate a new log for the specified service.

-m
 Merge the Music log for the specified service.

-t
 Merge the Traffic log for the specified service.

-r 
 Generate report .

-d 
 Specify a start date offset.  For log operations, this will be added
 to tomorrow's date to arrive at a target date, whereas for report
 operations it will be added to yesterday's date to arrive at a target
 date.  Default value is '0'.

-e 
 Specify an end date offset.  This will be added to yesterday's date
 to arrive at a target end date.  Valid only for certain report types.
 Default value is '0'.

-s 
 Specify service  for log operations.











trgards

Robert


On 26/04/20 7:34 am, Phil Biehl wrote:
I have logs working more or less correctly in RDAirplay but I seem to 
have a problem. When the log runs to the chain event to the next days 
log, it fails and RDAirplay stops because there is no log to chain to. 
If there is a log then all is well. How are log automatically 
generated? Any ideas why it isn’t getting generated?


Thanks all,Phil



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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Macro Woes

2020-04-19 Thread Robert Jeffares
The shell script needs to be in /usr/bin/ and chmod 775 chown 
rivendell:rivendell


From memory RDAIRPLAY is owned and operated by rivendell not rd or at 
least the 'who's on macro' bit does.


regards

Robert


On 20/04/20 2:58 am, Chester Graham wrote:
I have a script (Insert_Station_Legal_ID.sh) that works from the 
command line. File is stored at /home/rd with permission 777 and 
executable.

--
#!/bin/bash
rmlsend LB\ "Inserted Legal ID\!
rmlsend PX\ 001001\ play\!
sleep 10
rmlsend LB\ \!
--


If I try to trigger it as a macro from a log it doesn't work.
-
001 SP 1000!
002 RN /home/rd/Insert_Station_Legal_ID.sh!
003 SP 1000!

I am running on centos 7 3.3.0 fully patched as user rd.
rd.conf has AudioOwner and AudioGroup = rivendell, PaypadOwner and 
group=pypad, and RnRmlOwner and Group = rd


What am I missing to make this work?
Chester
WGTT


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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Regarding RDImport groups

2020-04-12 Thread Robert Jeffares

Jesse,

at a minimum

rdimport GROUP /path/to/audio/

the GROUP is the group you created or are using in RDADMIN > GROUPS eg: 
TRAFFIC MUSIC


here is one I used recently in this case the group was WIRELESS

rdimport --verbose --delete-cuts --to-cart=7037 --normalization-level-10 
WIRELESS /home/rd/dropbox/Task\ Force\ Presser\ 100420.mp3


man rdimport gives a lot of information

hope this helps

regards

Robert

On 13/04/20 2:51 am, Jesse Jones wrote:

Appliance 3.3 on Centos 7
I am trying to learn RD Export and RD Import - but when I try to 
RDImport from the files I have created with RD Export on a different 
host with the command RDImport --verbose --use-cartchunk-cartid  I get 
a message that it cannot import, invalid group.


Is this the Centos 7 Group? or the groups under RDAdmin?

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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] RdAirplay Play Error

2020-04-02 Thread Robert Jeffares

If I can throw this comment in..

Audio has to be put in to the system in two places.

One as a wav file in /var.snd with a cart number

Second as an entry in MySQL so the RDLibrary and RDArplay can find it 
and play it.


If you edit a 001 file and put it back in as an 002 file you also have 
to add the appropriate MySQL entry in CUTS.


Easy way to do this is in RD Library > Edit > Import-Export

Just a thought from my lockdown!


regards

Robert

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


Re: [RDD] RDImport Question

2020-03-11 Thread Robert Jeffares

Hi Phil,

the folders will be on a drive somewhere which you can mount on your 
Rivendell machine.


lets call it /home/rd/tempimport

if you create the folder as rd user the permissions should be OK

$ mkdir /home/rd/tempimport

in a command line window something like

find /home/rd/tempimport -type f -iname '*.wav' -exec rdimport --verbose 
--fix-broken-formats --metadata-pattern=%a-%t.wav 
--set-string-user-defined='wav from from my old library' MUSIC {} \;


run the find /home/rd/tempimport -type f -iname '*.wav' bit first to see 
what it shows you.


You need to set the GROUP and adjust wav or mp3 or whatever and the 
metadata pattern to reflect how the songs are labelled.


That will copy the lot into the MUSIC group.

If your folders and sub folders have songs arranged by categories like 
'Country' you can refine the search and add --set-scheduler-code=country


It's a good idea to create the scheduler code 'country' in RDADMIN > 
Scheduler Codes before you do. Repeat as necessary.


I use the User Defined field to identify the source of music. Handy when 
you are weeding out duplicates.


There are drawbacks with this method. If you stop and restart you will 
get duplicates.


Better method is to copy the whole lot to a temporary folder. That takes 
time. Add --delete-source to the import command.


What's left is what didn't import.

Rivendell will reject audio files for a number of reasons. mp3diags  
mp3gain   mp3info   mp3val will help. Funny characters in filenames can 
be a problem.


Some systems show different characters on filenames. You can use find to 
move [ mv ] all the rejected files into one folder and work through them.


I would run a test on say 20 cuts and then check how they are importing. 
You may need to adjust the metadata pattern. [man rdimport]


You can set segue criteria and all sorts of stuff.

If you have defined GROUPS you can find songs that fit the group and 
import them directly but I prefer to have a single import group then 
work through it to look for duplicates and check levels, tweak segues, 
and set talk over points.


Depending on your previous system there may be an import template 
already created.


Some data may be stored in tags on your library. Smetimes you don't need 
to set metadata.


Be prepared to do a bit of testing, then once it's set up you can import 
several thousand tracks. Don't forget to allocate the GROUP enough Cart 
Numbers



regard

Robert


On 11/03/20 8:43 am, Phil Biehl wrote:


Braintrust,

I have a large number of music files I want to import to Riv that are 
divided up into folders and subfolders. I’m hoping that there is a way 
to get rdimport to process these files, traversing all these 
subfolders. Is there a way to do this?


Thanks,

Phil


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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Linux time sync

2020-03-06 Thread Robert Jeffares

Tes

On 4/03/20 12:11 pm, Frank Christel wrote:

— Is it easy to repoint the internal Linux clock sync routine to an in-house 
NTP server?


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-03-06 Thread Robert Jeffares

Hi Frank,

I see the challenge. We have a similar situation here. A Windows 10 
based system that has worked fine XP on has problems in W10.


The vendor says it shouldn't but those updates and audio just don't go 
together. The 3am outages don't affect me as I am not the first 
responder. I get called at 6am when he knows I will be checking 
overnight mail.




You need to be able to originate any programme from any studio:
I am assuming a suitable switcher in MCR
NPR will be some local and some link with local inserts. Thats one 
Rivendell service
The Classical will be fully automated with possibly some live. Thats a 
second Service

Looks like 5 in all.
I would build one server with all services and one library so any studio 
can be used for live or voice tracking.

Then a hot standby copy.
The playout for the classical songbook and the jazz will be in MCR
The BBC relay is direct or do you insert local ID's in the 1 min TOH window?
Get an agreement to deal with the low hanging fruit and put the Jazz and 
the Songbook on First using a MCR located server and have one studio 
with a Client where VT's can be recorded.
After it runs non stop for a while the argument for migrating the others 
will not be so hard.

Actually I would put the classical on first.


It must be heartbreaking for people to write code for an operating 
system that that have made a commitment to, and probably purchased or 
licenced source code so their software will run, to find that the latest 
version, now the sole version, has been re written such that their 
original code no longer functions well, if at all. Faced with a re write 
that they have not planned or budgeted for, possibly because there was 
no indication there would be a change, they have to go back to their 
clients and ask for more. Of course clients who have paid a monthly 
support fee for 10 years expect these changes to be dealt with. What 
should have been retained against such eventuality has ineviteably been 
used for something else. The result is grumpy end users, mountains of 
junk, and re tooling.


R


On 27/02/20 4:12 pm, Frank Christel wrote:

Rob,

We’re two FM / five HD stations licensed to The University of Tulsa. One 
station is NPR news/talk and the other is all-classical. Our HDs include an 
American songbook music channel, a jazz channel, and a 24/7 BBC World Service 
channel.

https://www.publicradiotulsa.org

Basically, we would need Rivendell to replace our network of ten BSI Simian 
workstations located in three studios, a master control, and one office, all 
tied together by a ZFS server. Programming originates from our studios, four 
NPR satellite receivers, Content Depot, and PRX SubAuto.

The motivating factor behind considering a switch to Rivendell is the utter 
madness induced by Windows 10 updates over which we have little control. Our 
Simians ran fine on XP; were stable running 7; but are now falling apart on 10. 
Factory fixes include obscure registry tweaks on individual machines following 
Windows updates. In the meantime, too much dead air and 3 am calls.

Even in the midst of all this insanity, zombie-eyed staff are embracing the 
devil they know rather than the one they don’t. It’s going to be a hard sell to 
switch automation systems for a third time; it took ten years for them to 
adjust to this one.

Frank



On 2/26/2020, at 10:26 AM, Rob Landry <41001...@interpring.com> wrote:

What do you need Rivendell to do? I have it running on two satellite-driven 
commercial news/talk stations in New Hampshire, and on a CPB-funded, but 
locally programmed, music station in Boston, among others.

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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-03-06 Thread Robert Jeffares


On 27/02/20 11:48 am, Frank Christel wrote:
Drew, you asked “I am not aware of a book like you are looking for. 
Can you give a little more details as to what sort of things you would 
want it to cover?” It’s always my hope when embarking on new 
explorations (such as a journey to Rivendell) that someone has written 
a travel guide. Something that doesn’t so much explain the nuts and 
bolts of how things work, but instead tells inspiring stories about 
the journey and what to see and do. Testimonies about overcoming 
obstacles. How whipping up raw ingredients yielded a yummy concoction. 
Chapter titles for a “Big Book of Rivendell Cookbook” might include: — 
Oh no, not again!: Cheerleading the adoption of (yet) another 
automation system


It's true there many computer based radio automation systems now, but if 
you take 2001 as a benchmark there were about 10 in general use and 
about the same now.

The number available has increased from maybe 20 to well over 100.
Windows based systems have had to deal with changes in the way Windows 
handles audio and other system calls. Windows 10 updates being the latest.
Linux and Unix based systems have also had changes to deal with. Managed 
better by open source applications because the pool of programming 
personnel is larger.
Rivendell has been on the list, in the top 5, all the time. Some systems 
have been adopted because vendors also supply Music and Schedule Billing 
software. For many access to support is vital. Automation is used to 
replace expensive people, and anything that can be operated by a fresh 
out of school intern has to be more attractive. On Air Staff tend not to 
be bundled with technical aptitude, so replacing records and cart 
machines with a computer is a challenge. The one thing old school jocks 
recognize immediately, is the Rivendell screen layout. The 'live' 
workflow is easy to adopt. The back office stuff is about the same for 
all systems. Rivendell stacks up on features, and is constantly being 
augmented as new needs and wants are incorporated.
Rivendell is a 'made for broadcast' system. A number of systems used for 
automation were created for 'in store' systems or club DJ applications 
and need additional work to be able to include news bulletins or other 
timed events.
Rivendell will run on almost any computer hardware platform. It works 
fine on 'stock' machines. As with any system, more RAM, faster 
Processors, Bigger Hard Drives and faster network connections will make 
it go better. The music plays the same.  Users have a choice of on board 
cards, which may be adequate. External Cards, which also may be 
adequate, and ASI Cards which enable some features as well as delivering 
balanced audio at line level. More bang = more bucks.


No matter what live assist/automation system you put in you will need at 
least one competent person on staff, or on call, to manage it. Rivendell 
has a paid support service if you are light on local talent. Some of the 
other systems offer support. Interpretations vary.




— Who’s on first?: Where files live, sync, and play


Rivendell is based on a single stand alone computer server which can 
also be the playout source for up to 3 independent services. Any number 
of Client computers can also deliver up to 3 independent services from 
the same global audio library. There is no Theoretical limit to 
services. Client computers may be Production or Voice Tracking nodes. 
There is no limitation other than hardware. Various 'commercial' systems 
have licence keys which may be a USB dongle or software registered to a 
specific computer. Running independent services may not be possible. The 
nightmare comes when the hardware fails and you need to cut to a back 
up. Rivendell back up is a mirrored server or whatever suits your 
situation. Rivendell uses wav files to store, retrieve & play audio. 
There are advantages over 'compressed' file formats, most relate to 
quality or the loss of it. There are also issues with 'tags' which can 
jam up the works. No operating system is immune to broken audio files 
that just lock things up. Large audio storage systems are not expensive. 
The history of mp3 mp2 and other 'lossy' formats is well documented 
elsewhere.


If you are going to be a serious broadcaster you need to be serious 
about audio quality.



— Doing the SaMBa: Integration with NPR satellite receivers


Rivendell plays with any audio source. The satellite receiver delivers 
audio and may provide cue tones or pulses to stop start cut away for 
local ID 'live' or record for later transmission. Just how you implement 
it is up to you. Satellite, FTP, email. dropbox, you can manage all 
sources.
— All roads lead to Rivendell: VNC access from inside and outside the 
studios


Rivendell has remote desktop and command line access which you can 
configure to suit your needs. Team Viewer if you like.

— Break down this wall!: Mass file importation strategies
Rivendell can import large numbers of 

Re: [RDD] RivenCloud

2020-03-04 Thread Robert Jeffares



On 5/03/20 10:22 am, Frank Christel wrote:

Now, talk like this strikes terror into the hearts of red-blooded engineers.



it surely does!

One site we maintain has all in and out via fibre, of which we have 2, 
using different ISP's.


We lost all, the other day, when the line company decided to splice the 
cable just up the road. No warning.


About two days.

We had no fall back. We had plenty on site. Non external. Planning is 
now taking place to locate a complete standby at a site with a different 
fibre network topology which will deliver to the various sites, web, 
tune-in, app, and whatever else relays this programme.


Cloud here = some other country.

While the internet design has inherent reliability because traffic will 
find a route when nodes fail or are overloaded, this only works if 
networks allow traffic to operate in this manner. Here in the real 
world, IP networks route traffic over circuits they own and control to 
minimise costs. If there is a fault on that circuit then most traffic 
will deal with it. Outages will happen.


Broadcast traffic needs reliability. You can buffer an email or an image 
but you run out of room on audio or video. The BIG guys have their own 
networks.


There is no reason you can't build Rivendell or anything else on a 
virtual computer in the cloud.


The challenge is plumbing the studio output to the transmitter sites in 
a reliable manner.


I still think internet was more reliable when I had a dial up usenet access.

regards

Robert

--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] How do I create an event with one music cart and a segue transition?

2020-03-04 Thread Robert Jeffares

Hi Andy,

the events imported from V2 to V3 here have Segue where previously applied.

new scheduler events cannot be set to 'First Cart Has A' [Segue] in V3

works in V2

Something missed in the EVENT code in the translation from V2 to V3.

needs to be put in the bug alert system.

There will be the odd one or two of these floating by.

regards

Robert



On 5/03/20 7:22 am, Andy Cooper wrote:
Following my post yesterday, I'm still having trouble creating events 
they way I want them in RDlogmanager. All I want is an event that 
selects a random audio cart and puts it in a clock with a segue 
transition. The problem is I can't set the transition type for the 
first cart in an event if it's imported from the library and doesn't 
have a hard start time. The menu box to allow me to set "first cart 
has a . transition"  is always grayed out and always defaults to a 
play transition if a hard start is not set.


I don't want to use play transitions for the hours of automation, so 
what should I do? Has anyone else run up against this problem with 
Rivendell v3? I imagine anyone automatically scheduling music will 
have encountered it.


I would like to know what versions of Rivendell don't have this 
problem. It looks like I'm going to scrap v3 and go back to an earlier 
version. What does everyone else use?


Andy




Sent from my BlackBerry — the most secure mobile device

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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Rivendell and VPN

2020-03-02 Thread Robert Jeffares

Hi Ryan,

I set up a remote client by building a tinc vpn server at the main 
Rivendell location for a project that did not proceed but the IP worked!


from my bookmarks...

https://www.tinc-vpn.org/

One box managed the local and remote connections.

I had tried open vpn which failed at the first. Big learning curve. tinc 
worked out of the box.


I shared mysql /var/snd and /home/rd/dropbox which is a local system 
holdall


The client, about 400km away, behaved exactly the same as a client in 
the local network, possibly a bit slower but not so much as to be a bother.


The head end is on fibre which is choked at 100:30. We tested on my home 
ADSL which is doing 14:0.8 on average.


The Client location was better something like 60:20 which is the best we 
could get out of the local isp's.


I used a dedicated server because I did not know how much grunt was 
required I had the space and the PC. I also am not keen on too much 
exposure for the server.


The tests worked OK. Unfortunately no long term data because the key 
player was unable to continue.


Did this on Centos 6 appliance at server and client.

Server saw client as 10.0.0.4 as the vpn was set up to run as 
10.0.0.0/24 VPN server was 10.0.0.1 and client was 10.0.0.2 client also 
had an address on the distant network.


Everything worked.

regards

Robert

On 3/03/20 10:32 am, Ryan Kin wrote:

Without all of the hard-technical jargon
How would one set up a Rivendell Server, Client and working remote VPN 
machine?

What would be the simple and easiest way to do this?
I tried Hamachi/LogMeIn and I was able to create logs, but not access 
the /var/snd, but it took forever to create logs. So now I'm looking 
to use OpenVPN.

Thanks in advance!


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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


[RDD] V 2.x Centos 7 my.cnf

2020-03-02 Thread Robert Jeffares

Hi all,

I have a system with a large library 80k+ songs which creates logs for 3 
different formats.


This process has taken longer and longer as the library has grown which 
is only to be expected.


top shows

30944 root  20   0  303m  27m 5756 R 98.5  1.0  34:16.96 rdlogmanager

7695 mysql 20   0 1144m  35m 3768 S  0.0  1.2 658:01.91 mysqld

which when I think about it suggests the problem is not with mysql but 
with rdlogmanager.


ps reveals

 ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10
%CPU   PID USER COMMAND
98.0 30944 root /usr/bin/rdlogmanager -g -s BeachFM -d 8

I am planning to migrate to V3 which is a significant task with 6 units 
in 3 locations.


Do I need more RAM ? Faster Processors? or is this logjam in the 
database somewhere?


Mem:   2947932k total,  2100664k used,   847268k free,   327684k buffers
Swap:  5057532k total,   137272k used,  4920260k free,  1019080k cached

Filesystem  Size  Used Avail Use% Mounted on
/dev/sda1   488G  253G  211G  55% /
There are clients running off the server with no problem.

regards

Robert


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] Dry Liners over Music

2020-02-24 Thread Robert Jeffares
Put them in VTRAX group. Make sure songs have talk over  markers set.
Sounds like live.
Regards Robert

On Tue, 25 Feb 2020, 11:13 Travis House  wrote:

> I have some dry liners/imaging that I’d like to start playing over songs
> as they start. Is this possible?
> --
> Travis A. House
> Senior Operations Manager/Chief Engineer
> Sunny 97.1 & 1580 | WDQN, Du Quoin, IL.
> Listen online @ sunny971fm.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] last music import report

2020-02-18 Thread Robert Jeffares

Hi Mircea,

It's already there.

If you import new songs into a Temporary GROUP one of the Report options 
is a Cart Data Dump CSV


which you can save to wherever.

Your music prog should be able to import this and add to the existing.

regards

Robert

On 19/02/20 3:51 am, Mircea Paun wrote:


Hi!

I'm coming back with a suggestion:

Fred, it can be displayed in a column of the library the field "ingest 
data"?


This makes sense if somebody wants to see the last imported songs and 
for export meta info into .csv file reports but *ONLY for the selected 
songs*.


That way we could have a simple meta export method for the last songs 
imported in a day or week...


Thanks!


*MIRCEA PAUN *
+40 724232195
mircea.p...@gmail.com <mailto:mircea.p...@gmail.com>


On 14 February 2020 at 01:12:10, Mircea Paun (mircea.p...@gmail.com 
<mailto:mircea.p...@gmail.com>) wrote:



I put a printscreen but I think is too big ...


Robert, Mike,
I didn't really see that
I was going to that drag & drop from rdadmin 

Sorry!

On 13 February 2020 at 20:47:20, Robert Jeffares 
(jeffares.rob...@gmail.com <mailto:jeffares.rob...@gmail.com>) wrote:



Hi Mircea,

everything you need is in place.

Make a temporary group to import new music into [eg AUDITION]

Import audio by Rip or rdimport.

Use 'Reports' to give you a list of Carts which you can configure 
to import into your Music Scheduling Program.


There is a CSV option.

Set markers & levels.

Move into MUSIC group.

Checkbox allow cart dragging will defeat 'select all' if checked.

regard

Robert

On 13/02/20 11:56 pm, Mircea Paun wrote:


"Great"! Because now I cannot made a multiselect (select all) in 
library group and then change group for all.



*MIRCEA PAUN*
+40 724232195
mircea.p...@gmail.com <mailto:mircea.p...@gmail.com>


On 12 February 2020 at 15:49:25, David Klann (dkl...@linux.com 
<mailto:dkl...@linux.com>) wrote:



Hi Mircea,
On Wed, 2020-02-12 at 06:26 -0500, you wrote:
> Hi!
> Is there a way to handle with this ?
> I mean, If you import 30 songs via rdimport, in the MUSIC group,
> and you want .csv file with only these 30 songs, to import in M1 or
> Powergold, how do you proceed?
> My workaround is to go through an intermediate group, say 
MUSICADD and then

> move them into MUSIC.
> Somebody else ?
> br/> <
I actually prefer this workflow (import audio tracks into a 
"staging" group,
then manually move to MUSIC [or wherever]). It gives the "music 
director" a
chance to fine-tune markers (especially Segue), double check 
metadata, and
give one final check for airplay suitability. Importing directly 
into MUSIC

makes all this a bit more ... I guess, dicey?

But I am a technician who favors "database cleanliness" over lots 
of other
things, so maybe I'm not the best judge of day-to-day radio 
station workflows.

:)

~David Klann




___
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 
<mailto:Rivendell-dev@lists.rivendellaudio.org>

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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] last music import report

2020-02-18 Thread Robert Jeffares

Hi Mircea,

It's already there.

If you import new songs into a Temporary GROUP one of the Report options 
is a Cart Data Dump CSV


which you can save to wherever.

Your music prog should be able to import this and add to the existing.

regards

Robert

On 19/02/20 3:51 am, Mircea Paun wrote:


Hi!

I'm coming back with a suggestion:

Fred, it can be displayed in a column of the library the field "ingest 
data"?


This makes sense if somebody wants to see the last imported songs and 
for export meta info into .csv file reports but *ONLY for the selected 
songs*.


That way we could have a simple meta export method for the last songs 
imported in a day or week...


Thanks!


*MIRCEA PAUN *
+40 724232195
mircea.p...@gmail.com <mailto:mircea.p...@gmail.com>


On 14 February 2020 at 01:12:10, Mircea Paun (mircea.p...@gmail.com 
<mailto:mircea.p...@gmail.com>) wrote:



I put a printscreen but I think is too big ...


Robert, Mike,
I didn't really see that
I was going to that drag & drop from rdadmin 

Sorry!

On 13 February 2020 at 20:47:20, Robert Jeffares 
(jeffares.rob...@gmail.com <mailto:jeffares.rob...@gmail.com>) wrote:



Hi Mircea,

everything you need is in place.

Make a temporary group to import new music into [eg AUDITION]

Import audio by Rip or rdimport.

Use 'Reports' to give you a list of Carts which you can configure 
to import into your Music Scheduling Program.


There is a CSV option.

Set markers & levels.

Move into MUSIC group.

Checkbox allow cart dragging will defeat 'select all' if checked.

regard

Robert

On 13/02/20 11:56 pm, Mircea Paun wrote:


"Great"! Because now I cannot made a multiselect (select all) in 
library group and then change group for all.



*MIRCEA PAUN*
+40 724232195
mircea.p...@gmail.com <mailto:mircea.p...@gmail.com>


On 12 February 2020 at 15:49:25, David Klann (dkl...@linux.com 
<mailto:dkl...@linux.com>) wrote:



Hi Mircea,
On Wed, 2020-02-12 at 06:26 -0500, you wrote:
> Hi!
> Is there a way to handle with this ?
> I mean, If you import 30 songs via rdimport, in the MUSIC group,
> and you want .csv file with only these 30 songs, to import in M1 or
> Powergold, how do you proceed?
> My workaround is to go through an intermediate group, say 
MUSICADD and then

> move them into MUSIC.
> Somebody else ?
> br/> <
I actually prefer this workflow (import audio tracks into a 
"staging" group,
then manually move to MUSIC [or wherever]). It gives the "music 
director" a
chance to fine-tune markers (especially Segue), double check 
metadata, and
give one final check for airplay suitability. Importing directly 
into MUSIC

makes all this a bit more ... I guess, dicey?

But I am a technician who favors "database cleanliness" over lots 
of other
things, so maybe I'm not the best judge of day-to-day radio 
station workflows.

:)

~David Klann




___
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 
<mailto:Rivendell-dev@lists.rivendellaudio.org>

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


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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


Re: [RDD] last music import report

2020-02-13 Thread Robert Jeffares

Hi Mircea,

everything you need is in place.

Make a temporary group to import new music into [eg AUDITION]

Import audio by Rip or rdimport.

Use 'Reports' to give you a list of Carts which you can configure to 
import into your Music Scheduling Program.


There is a CSV option.

Set markers & levels.

Move into MUSIC group.

Checkbox allow cart dragging will defeat 'select all' if checked.

regard

Robert

On 13/02/20 11:56 pm, Mircea Paun wrote:


"Great"! Because now I cannot made a multiselect (select all) in 
library group and then change group for all.



*MIRCEA PAUN *
+40 724232195
mircea.p...@gmail.com 


On 12 February 2020 at 15:49:25, David Klann (dkl...@linux.com 
) wrote:



Hi Mircea,
On Wed, 2020-02-12 at 06:26 -0500, you wrote:
> Hi!
> Is there a way to handle with this ?
> I mean, If you import 30 songs via rdimport, in the MUSIC group,
> and you want .csv file with only these 30 songs, to import in M1 or
> Powergold, how do you proceed?
> My workaround is to go through an intermediate group, say MUSICADD 
and then

> move them into MUSIC.
> Somebody else ?
> br/> <
I actually prefer this workflow (import audio tracks into a "staging" 
group,
then manually move to MUSIC [or wherever]). It gives the "music 
director" a
chance to fine-tune markers (especially Segue), double check 
metadata, and
give one final check for airplay suitability. Importing directly into 
MUSIC

makes all this a bit more ... I guess, dicey?

But I am a technician who favors "database cleanliness" over lots of 
other
things, so maybe I'm not the best judge of day-to-day radio station 
workflows.

:)

~David Klann




___
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] Import Audio Converter Error

2020-01-22 Thread Robert Jeffares

Hi Michael,

can you open the wav fie in Audacity?

Try doing that then exporting it as a wav with some other name.

Where did the wav file originate? Does the wav container have some 
additional data like cartchunk?


Some ripping and other playout systems sometimes add baggage to the 
files. There is a checkbox for clean up files but sometimes that is not 
enough.


First thing is to see what is actually in the wav container.

regard

Robert

On 23/01/20 8:31 am, Michael Babb wrote:
I am currently evaluating Rivendell and I am a noob to Linux and 
Rivendell.  I am trying to IMPORT a WAV PCM16 44.1 stereo audio file 
into my Cart in RDLibrary.  When I try to import it, I get the message 
“Audio Converter Error: OK” message and the file will not import.  I 
have Autotrim and Normalize unchecked.  Ideas?



*Michael Babb*

___
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] Using /var/snd over NFS

2020-01-20 Thread Robert Jeffares

Hi Steve,

I have a server with 4TB /var/snd with 102541 audio tracks using 3.8 TB. 
This year we will upgrade to 8TB


I have considered various NAS deployments but have never been that 
brave. No reason why they won't work.


Make sure you have 100% backup.

I have a number of client computers who access /var/snd in various ways. 
The local network client over NFS operates without issue. A remote 
client over VPN worked.


But the big question is what happens to the music scheduler with that 
many titles to manage and the answer is it slows down.


The machine creating the music schedules needs ram. Real RAM.

RD and MySQL now Maria will work with what RAM is available, but the 
more songs in the library with attendant scheduler codes slows the 
process down.


This has nothing to do with where the sound files are stored. It's all 
dependent on the capability of the server processor and the amount of 
available RAM.


I have a new server in process which will have more RAM to see if I can 
get my log assembly time down.


On 21/01/20 8:10 am, Steve wrote:

Hello,

Is anyone using /var/snd over NFS for the server side in a server/client setup? 
 We have NFS in use for /var/snd for all of the clients
but the disk location of /var/snd is physically in the same machine as the 
Rivendell server itself.

The problem is that we need disk space, lots of it, to store all of the music - 
thousands of CDs that need to be ripped.  I'd like to
deploy a virtual machine running CentOS as the Rivendell server and then create 
an NFS-shared directory on a NAS that would be mounted
remotely (in the same LAN) as /var/snd on the Rivendell server.  Maybe that 
leads to another issue: What are the practical limitations
of the built-in music scheduler in handling that much music?  Should we limit 
the amount of schedule-eligible music?

I've gathered from the mailing list archive that there have been mixed results 
for this scenario.

Steve
___
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] RD3, convert standalone to server

2020-01-17 Thread Robert Jeffares
Essentially the server shares the MariaDB [MySQL] on port 3306 and 
/var/snd using NFS. The instructions are on the wiki


http://wiki.rivendellaudio.org/index.php/Remote_Client_Access

No reason why they won't work on V3

If you want to do a clean install then back up the database to some 
removable storage device and backup /var/snd  to removable storage and 
do the install over again with --server


Then restore the database and copy the audio files back into /var/snd

The database backup is in RDADMIN and is relatively quick. Copying 
/var/snd depends on the speed of your system and the number of files 
involved.


R

On 27/11/19 6:21 am, nathaniel.ste...@icloud.com wrote:


I want to convert a standalone install to a server. I was looking over 
the install script, but I’m not a great programmer….Can I just snip 
the commands for a server install out of the script and run them? Or 
can I just re-run the script with –server instead of –standalone? I 
have data in the database and /var/snd that I would want to preserve 
obviously.


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] Macro cart / shell script woes

2020-01-07 Thread Robert Jeffares

Hi Drew,

you have to place the script somewhere in the $PATH of the user that 
runs Rivendell.


From memory you may have to chown or adduser so that whoever runs the 
macro cart has permission to run the script.


Primary reason for me to not run shell scripts from macros. Cron works fine!

HNY

Robert

On 8/01/20 12:20 pm, drew Roberts wrote:

I think I am doing something silly.

Bare bones explanation.

I have a macro cart that has one line:

RN /home/rd/genlogtest.sh!

cat genlogtest.sh shows:

#!/bin/bash
# test using rdcatch to generate logs in place of crond.


mydate=`date`
echo " Sustain Logs last run from rdcatch on: " $mydate > 
lastsustainlogrunrdcatch.txt
echo " Sustain Logs last run from rdcatch on: " $mydate > 
/tmp/lastsustainlogrunrdcatch.txt


exit 0

If I run the shell script from the terminal, I get the two files I expect.

If I run line from rdlibrary I see this in the logs:

Jan  7 18:17:41 rdpgplaza ripcd: received rml: 'RN 
/home/rd/genlogtest.sh!' from 127.0.0.2


If I run cart from rdlibrary I see this in the logs:

Jan  7 18:18:49 rdpgplaza ripcd: received rml: 'RN 
/home/rd/genlogtest.sh!' from 127.0.0.2


Either way, the files are not created or changed. I even tried chmod 
666 on the files to see if that was it, not joy.


Any thoughts as to how to proceed with troubleshooting?

all the best,

drew
--
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.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] Audio Stream

2020-01-07 Thread Robert Jeffares
We have a stream receiver in the rack which outputs audio to an input on 
the Rivendell box.


Using macro carts we 'take' the stream and when we want to return we 
have a macro cart that returns to local Rivendell programming.


This is well documented on the Rivendell wiki and works as expected.

There is a delay on the stream which can vary from a few seconds to as 
much as a minute depending on network delays.


There are various techniques to manage the cross.

It should be possible to link direct using RDCatch.

The macro cart option facilitates a crossover announcements


On 8/01/20 3:11 am, Travis House wrote:

Does anyone know how to schedule an internet stream in Rivendell?
--
Travis A. House
Senior Operations Manager/Chief Engineer
Sunny 97.1 & 1580 | WDQN, Du Quoin, IL.
Listen online @ sunny971fm.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


[RDD] RML Commands

2019-12-26 Thread Robert Jeffares

Couple of questions about RML commands.

I have some scripts which have been working without issue on V2 for years.

There is now some confusion in my mind.

There are 2 ports that work 5858 and 5859. From memory one of them gave 
a response and the other did not.


The 'default' appears to have changed from V2 to V3 ; at least in the 
documentation.


Which one will just do it and not bother with acknowledgment?


In my bash script

The LC message used to use a variable in the form "LC [color] Text 
${variable}!"


In V3.0 using ${var} in an LC RML crashes RDAirplay and no ferreting 
through logs produces a reason.


The rest works so it will run without the alerts.

LC RML without variables works OK

I thought it might be a bash change from CentOS 7 to 8, but have 
eliminated this.


The script runs every few minutes as a cron job and if a cycloneinfo.mp3 
file is placed in our local dropbox it is renamed with a date-time filename


generated in the script, carted and played every 35 minutes a total of 3 
times.  As these items are constantly updated it is possible to have 2 
or 3 bulletins in play at any one time.


Incremental information is added as it happens.

Production is such that if 2 or 3 happen to play in a row it sounds like 
one complete bulletin.


Copied the scripts over from V2 to the new V3 system today in advance of 
a cat 2 that looks like a cat 4 in the making.


Found the problem by a process of elimination.

I have a vague memory that there has been some change in the RML code 
between versions.


compliments of the season

Robert Jeffares



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


Re: [RDD] RDCatch URL Invalid

2019-12-20 Thread Robert Jeffares

Hi Mark,

is that the name of the file or is %D a wildcard for something like date.

I have found that wildcards don't always work in RDCatch so I use cron 
to run a scrip that downloads the file I want at the time it is 
available and either carts it direct or parks it in a local dropbox for 
RDCatch.


The other thing I would be looking at is who owns the file. Is that a 
local /var/ ?


It may be a permissions issue.

I had no end of problems with files on a MS server which wget nailed.

Let me know if you need help with script.

regards

Robert


On 21/12/19 1:16 pm, Mark Murdock wrote:


For some reason now when I try to edit an event in RDCatch it is 
telling me the URL is invalid. These are for Amb-OS items in 
/var/amb-ux. For example, I tried to change the time for a transfer of 
the weekend Insight for Living file, 
/var/amb-ux/IFLM_IFL1_%D_01-01.MP2, and it says the url is invalid. I 
verified the file is there in /var/amb-ux. RDCatch is working fine 
otherwise. Any ideas?


Thanks,

Mark Murdock

KAMB

90 E. 16^th St.

Merced, CA 95340

(209) 723-1015

m...@celebrationradio.com 

Website 


___
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] something happened, now audio plays for a second then white noise.

2019-11-27 Thread Robert Jeffares

Hi Nate,

you may have the old 'card being given a different number on reboot 
trick' happening there.


aplay -l

will give you a list of cards in your PC

Look for HDMI outs being assigned a number.

You can unload HDMI Audio out in bios on most systems.

The USB Lexicon may be assigned to 0

if the Lexicon is going to be used with the server.

add

# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
options snd-hda-intel model=generic

to the end of

 /etc/modprobe.d/alsa-base.conf


cat /etc/asound.conf

will tell you which cards are configured by Rivendell


Delving into rdadmin you can see which cards are assigned to and verify 
the rate the system is operating at. [rdadmin>SystemSettings]


You may need to add the rate into asound.conf as the M-Audio may default 
to it's max.


record a test at a rate higher than what you think your highest 
recording rate might be (replacing the numbers in hw:0,0 with your card 
and device number):


   $ arecord -f dat -r 6 -D*hw:0,0*-d 5 test.wav

The output will show the default rate. The Delta may need to be asked 
for 10 instead of 6. I think they go to 9


In /etc/asound.conf

pcm.rd0 {
  type hw
  card 0
  device 0

  rate x <- add this line

}

While in theory you should be able to restart without rebooting 
experience says when you have changed sound card settings a reboot is 
necessary.


Then run alsamixer and set levels.

To get alsa to remember the settings as root do 
'*/alsactl/* 
store X' where x is the card number.


In some iterations of CentOS this is broken and you need to do 
*/alsactl/*restore 
 
on reboot. Easy enough to do that in cron.


The white noise is usually a rate issue but checking the card numbering 
covers all bases.


Rivendell 3.x manages the rate thing better on install.

In bios you should have restart on power return set and once you have 
the audio settings lined up pull the power plug, wait, replug and it 
should restart.


System should start RDAIRPLAY load todays log and start playing

This may help

#! /bin/bash
#runs on boot
rm -f /home/rd/.rdairplaylock
# this file is left behind if shutdown is by power fail
# its there to stop 2 instances of rdairplay
# we can live with it not being there
#set centos to load rivendell on startup and it loads the default log 
which is todays log give it time YMMV

sleep 40
#play first event
/usr/bin/rmlsend --to-host=localhost --to-port=5859 'PN 1!'


hope this is no too confusing

reguards

Robert


On 28/11/19 4:49 AM, nathaniel.ste...@icloud.com wrote:


something happened, now audio plays for a second then white noise. I 
must have messed something up yesterday, that didn’t apply till a 
reboot? We had a power outage last night and the system was running on 
my test bench (NO UPS) came in this morning, rebooted, and had no 
audio card. Shutdown, pulled card (Delta 1010lt), pulled the other 
card that wasn’t recognized by alsa (an old Lynx one, guess it really 
is useless now) Reboot, still nothing.check rdalsa config, card is 
there and selected. Close out now I have a card showing up, but when I 
play audio it plays for a second then white noise. I switched in a usb 
lexicon alpha and the same thing is happening there….


Any Ideas? This thing was supposed to go live tomorrow at midnight….

I did have to go into alsamixer and turn up the outputs for the card 
yesterday to get audio out of it, everything was turned down. It’s 
possible I could have fudged something up as I figured out the 
navigation in the alsamixer terminal….Not sure why that would affect 
the Lexicon card too though…



___
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

2019-11-27 Thread Robert Jeffares



On 28/11/19 2:54 AM, R. Choy wrote:
except it will no longer load the next day's log. 


That's not dependent on /var/snd/

Look in RDADMIN > Manage Services > Service to see that 'Insert CHAIN TO 
at log end' is checked.


This may not happen exactly at midnight unless you have some time sync 
events in the clock for the last hour.



regards

Robert

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


Re: [RDD] RDImport

2019-11-26 Thread Robert Jeffares

Hi Mark,

you need a bigger drive. I started with 1TB and am now running 4TB which 
cost less that the 1TB at the time it was purchased!


We are at about 80,000 cuts which is a reasonable size.

There are reams of reasons not to use 'compressed' files. #1 is 
compressed = leave stuff out.


I have clients with  systems that use other formats. The difference is 
noticeable.


Some motherboards are not able to manage drives greater than 2TB. There 
are ways around this.


Optimum system has a big drive mounted as /var/snd which stores audio.

Do not panic about audio you have already imported. You can rename 
/var/snd install the new big drive then copy files over.


How many tracks do you have in the WO system? What format are they in? 
You may find they are 22050 sample rate as well as being mp3 @ 128kbs.


Over time if you can get back to the source audio and import that you 
will notice a big difference


regards

Robert Jeffares


On 27/11/19 2:00 PM, Mark Murdock wrote:


OK, need some help. I’ve been using rdimport to import a bunch of 
songs from our SS32 system into Rivendell, and just as I was about to 
finish up, I started getting an error that said, “Audio Converter 
Error: No space left on device, skipping [file name].” The drive is a 
1.5 TB drive, and there’s plenty of space left on it, but when I 
looked at the properties of /var/snd it said that 49.5 GB had been 
used of 53.7 GB, and that there is only 133 MB left (99% used). Is 
there a way to expand the space allocated for /var/snd? Is there a 
solution for this?


Thanks!

Mark Murdock

KAMB

90 E. 16^th St.

Merced, CA 95340

(209) 723-1015

m...@celebrationradio.com <mailto:m...@celebrationradio.com>

Website <https://celebrationradio.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] Rattle when recording with HDA audio soundcard

2019-11-24 Thread Robert Jeffares

Peter,

by recording do you mean recording audio using the line in [blue] or the 
mic in [pink] jack on the HP MB.


Some have dual Line/Mic input arrangements.

alsamixer will tell you a lot about your situation. Make sure the record 
inputs are set at minimum.


The MIC input has DC available for electret microphones which you can 
avoid by using a stereo [tip, ring, sleeve] jack sending audio on the 
tip and sleeve.


This needs to be sent at low level [-50db] if this is the input you are 
using. High level will cause the drop out's you describe.


Line level input is possibly -10db which is a lot less than most mixers 
put out. Typically they are +4db.


again high level is likely to block the input.

A T pad made from 2 x 680 ohm resistors in series with a 330 ohm shunt 
from the centre [of the 2 x 680's] to ground will reduce the mixer out 
line in enough to get you in to manageable territory.


I use small transformers to isolate the mixer from the PC to avoid 
ground loops.


The 'on board' sound on most PC motherboards is average at best, and 
while HP tends to be better than most, you are dependent on which MB you 
have, and the condition of the power supply.


What exactly are you recording? Are you close to a transmitter? How good 
are the cables between the audio source and the record in?


regards

Robert

On 23/11/19 11:32 PM, Peter Claes wrote:

Hi guys,

I have been busy setting up clients for our rivendell 2.19 system on 
Centos 7.

The clients are all small HP pc's
Everything works just fine, database, playback, filesystems, etc.
I did had to sate 'rate 48000' in the asound file, to get it 
working properly.


The only problem that I am facing is some kind of dropped samples, 
when I am recording. As if there are skipped samples in the audio. 
which is getting worse at higher volumes


At first, I thought it is due to the fact that the HP pc's are older 
models, so I tested it on some post 2010 PC's .. There is still that 
same problem.


I have been looking for what the problem might be, so people suggested 
it might be an IRQ problem. So I changed IRQ's in BIOS, but in 
RdAlsaconfig there is always a different IRQ nuimber as to what I have 
set in the BIOS. Is this normal behaviour ?


Other people suggested that for HDA audio devices, the sampling is not 
done via an IRQ, but through a timer. But I have no clue what they are 
talking about, nor how to fix this.


Is there anyone who has been battleling that same problem ?

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] Server for playout?

2019-10-10 Thread Robert Jeffares

Oh So True!

On 11/10/19 9:11 AM, Cowboy wrote:

  I once saw a RAID-5 fail, where the first disk had failed months prior,
  but because it automatically kept going, no one knew until it failed
  in a non-recoverable catastrophic way.


Same happened here on the one server that held all the spots for the 
biggest [in every respect] station on the network.


Someone [not me] spent many happy hours copying reel to cart which ran 
for a few days.


No one knew the disks had failed one by one, and there was no back up 
other than the reel tapes.


The guy who had to make it happen quit in frustration some weeks later.

R

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


Re: [RDD] RD Scheduler codes selections

2019-10-08 Thread Robert Jeffares

Hi Stan

On 9/10/19 3:54 PM, Stan Fotinos wrote:


Also I have noticed that expired carts are also scheduled, should this 
be part of the selection process?



They may schedule but they should not play

regards

Robert

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


Re: [RDD] Broken Rivendell Dropboxes on Rivendell v 3.1.0 appliance

2019-10-03 Thread Robert Jeffares

Hi Brandon,

do a # yum update -y [as root] and the metadata wildcards should then work.

as will the logging bit.

The dropbox code was broken but has been fixed.

I run update a couple of times after install as a matter of course.

regards

Robert

On 10/3/19 8:07 PM, Brandon wrote:

Hello everyone!

Not sure if I discovered a bug in v3.1.0... Or a glitch specific to 
our install at UCLA Radio in LA.


Just did a fresh Server/Client Riv 3.1.0 install on CentOS 7 with the 
appliance script. Converted the DB from previous V2.10.3 install. 
Everything seemed to go without a hitch.


The problem: Dropbox is ignoring files and not reporting any errors in 
the error log. When I run rdimport from the command line, it threw an 
error (which I don't recall at the moment -- but Googling made it 
sound like an Apache error) -- but this seems unlikely since we 
installed from the appliance script.


After experimenting with different Dropbox configs all night, removing 
%i from the Dropbox Metadata Pattern field fixed the issue and Dropbox 
resumes importing files. Using %t_%a metadata pattern also fails to 
import anything.


Is anyone else experiencing Dropbox import issues when specifying 
metadata patterns?


We can live without it, but %i gives us the cleanest cut titles 
without "imported from..." in the titles, although doesn't fix cart 
titles. Worked as expected in 2.10.3.


Thank you!!

--
Brandon Anjeleno
Subliminal Radio 
(213) 839-7667 

___
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 v3.1.0

2019-09-21 Thread Robert Jeffares

Thanks,

On 20/09/19 8:33 AM, Fred Gleason wrote:

Fixed a bug that broke dropbox logging to individual files.



Robert

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


Re: [RDD] CENTOS7 Questions

2019-09-17 Thread Robert Jeffares

Hi David,

On 18/09/19 6:02 AM, David Henderson wrote:

Finally, for the moment, I used to use VNC to login remotely to RDLibrary on 
the server, which was useful to check the songs that were going to imported 
weren't already there in the database, however that doesn't seem to be an 
option now either.



This from an earlier post from Fred

It depends on the specific use case. For the common one of ˜share my primary 
display so I can see it remotely”, CentOS 7 does not have a ready-made 
solution, so I’ve written a SystemD service that will do it. To install it, do 
(as root):

yum install x11vnc-auto
systemctl start x11vnc-auto.socket
systemctl enable x11vnc-auto.socket

then, as user rd set the VNC password by doing

vncpasswd

That will put your primary display at VNC desktop :0 (TCP port 5900).

Cheers!


Works out of the box.


regards

Robert

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


Re: [RDD] The RN thing again

2019-09-06 Thread Robert Jeffares

Hi Tim,

when you run from the command line on 18.04 who are you?

sudo

will work every time

default user [tim]

will work as chmod 777

Is there a Ubuntu User called 'rd' ?

If not I would create rd; make rd a member of Audio and Rivendell; and 
then try.


In 3. rd runs the show afaict

regards

Robert

On 7/09/19 5:26 AM, Tim Camp wrote:

Greetings,

I am trying desperately to upgrade the OS on my workstations
and RN macro that was working on Ubuntu 14.04 is not working on 18.04

The script that the macro is trying to run is a switcher control command
that works fine from the command line.
Sometimes it will work from rdlibrary for a few minutes using runcart 
but them will

stop working.
It never works from rdairplay or rdpanell.
The scripts are located on the same directory as caed rdcatchd and ripcd.
The scripts are 777
owned by user root group rivendell

everything we do requires the use of RN from the log, it's how we 
control switchers, consoles, and everything except the coffee pot ( 
it's still on Manual)


Obviously is permissions related i guess.

I tried running rivendell daemons as rduser and it worked for a short 
time then stopped.


I have tried changing ownership of the scripts to rduser:rivendell 
root:rivendell root:root

nothing seems to fix the issue. Once again from command line it all works.

Any thoughts appreciated.

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


[RDD] Dropbox and slow loading files

2019-08-27 Thread Robert Jeffares

Hi all,

We have programmes about 30 min duration that seem to take a long time 
to transfer from Production to the Dropbox on 3.0.3 server [appliance 
install]


well too long for the configued dropbox which is carting the first 4 
mins of the audio and deleting the file as optioned.


The connection is Gigabit LAN.

is there some way of forcing the dropbox rdimport to wait until the 
audio file is completely transferred.


Smaller files work fine.

regards

Robert


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


Re: [RDD] ALSA Mixer Settings

2019-08-26 Thread Robert Jeffares

David,

after you esc out of alsamixer you run # alsactl store [x]

where x is the number of your sound card like 0,1

There are some combinations of CentOS 6 where you have to run alsactl 
restore on boot using cron.


using yum to update or reinstall alsa and alsa-utils may solve it

regards

Robert

On 25/08/19 10:30 PM, David Henderson wrote:

I know I have asked this question before, but for some reason I've never 
managed to find a solution that works.

Each time I start up I have to go into ALSA Mixer and change the output level 
of the sound card - no matter what I do, the settings aren't saved. I've tried 
logging in as a root user and using the command in terminal, but to no avail. 
Does anyone have a solution to this?

Still currently running CentOS6, but all the latest updates have been applied 
to the OS and Rivendell. I seem to recall that when I first installed 
everything, the settings were saved, but after checking for and installing new 
updates, the settings were lost and never seem to be saved ever again :(

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


[RDD] Malware attacking Gnome desktops

2019-08-15 Thread Robert Jeffares

Hi all,

at Aug 15 05:28 NZST [1728 0814 UTC]

two seperate Rivendell installations with no connection other than 
myself had a malware attack which set out to encrypt files and in once 
case have stopped the system, in the other case an operator noticed a 
number of errors and restarted the server which [we think]  thwarted the 
malware.


This message is in every directory

in a file "README_FOR_DECRYPT.txt"

All your important files are encrypted

    There is  only one way   to get your files back:  contact with us,  
pay,  and get  decryptor software.

    We accept Bitcoin, and other cryptocurrencies.
    Also you can decrypt 3 files for test, its guarantee what we can 
decrypt your files.


    Contact information:

    primary email: masterkey...@tutanota.com
    reserve email: masterkey...@asia.com[root@rdhost

I am posting this because there will likely be others.

AFAICT it hits Gnome desktops.

I haven't located the malware yet, we are presuming it arrived attached 
to something. Possibly an email or possibly one of the syndicated 
programmes.


Neither of the machines hit are used for email.

Other local client machines have not been affected.

again as far as I can tell.

I am used to dealing with this occationally in Windows, this is new!


regards

Robert

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


[RDD] RD Catch

2019-06-29 Thread Robert Jeffares

Hi all,

where does RDCATCH store the events?

I have managed to create on event which I cannot edit or delete.

Have had a look in MySQL Rivendell can't see the events there.

More Importantly how can I back them up?

RDCatch somehow was cleared of all events by something.

Not so onerous to ey them all back in but it's way faster to have a backup!

regards

Robert Jeffares

The Wireless Station 1530 AM

Hawkes bay

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


[RDD] Setting up a VPN

2019-06-22 Thread Robert Jeffares

Hi all,

I want to enable a terminal at a remote site which will give a user 
access to RD LIBRARY; RD LOGMANAGER & EDIT with sound.


This will enable the user to create events, clocks, grids, logs, and do 
voice tracking.


Have gigabit fibre at each end.

I installed tinc on a server [CentOS -7] and on a master running CentOS 
6 and 2.19.3 which is also running on the client.


master --[655]tinc-[655]--/internet/[655]-client

I can ping the master and the tinc server from the client using the tinc 
subnet  12ms seems OK


[still have hair but it's grayer; copying keys proved a challenge]

Each end needs to be set up so tinc comes up first then MySQL then RD 
which should be a matter of coding a service; after networking; before RD.


I am assuming I have to make mysql available to the client by granting 
access to port 3306 as if it were a local client.


The tinc platform will keep it secure.

I also have to mount /var/snd which works in that I can see the audio in 
RD library and audio plays on the client.


My confusion comes when the master has an IP on the local network and a 
tinc IP [10.x.x.x] on tun0  as does the client.


Which IP do I use in the RD admin > Manage hosts for the client?

All that said it seems to be working, including rip CD.

regards

Robert Jeffares



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


Re: [RDD] Missing Hours in Grid

2019-04-28 Thread Robert Jeffares

David,

Check the Colour [Color] of the Clock you used to populate the grid. It 
may be default.


In Grid you can right click on an hour and go to Edit Clock.

Color is a button at the bottom of the Clock Config Screen. Pick pastels.


regards

Robert


On 28/04/19 22:40, David Garwood wrote:

Hi

Back with another problem.

I've been attempting to update the default grid "Production". I used 
the Change All command and then used the Clear command.


Now some of the hours in the grid will not "hold" a clock. In other 
words when I close the grid and then re-open it to edit it, previosly 
filled hours are grey. Clearly I have reset something but I have no 
idea how to get things back.


Any help most gratefully received

David

___
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] passing airdate to dropbox import via filename

2019-04-05 Thread Robert Jeffares

Hi all,

We have a dropbox set up which allows us to add audio to a CART with a 
start and end date which all works off the file name


communitynotice_[subject]_[voice]_[enddate].wav

date has to be in the format -MM-DD

which forces us to use '_' as the seperator [ probably could have used a 
number of things but _ works]


We set the dropbox to pick off the subject and use that as the cut 
description. Voice goes in the outcue which helps avoid clashes.


%t_%i_%o_Q

We have a number of these for various purposes. Works v well at jock level.

This feature was included in V2 a few years ago now.

We don't use the start date but no reason not to

R


On 04/04/19 16:01, Mike Carroll wrote:
Appendix D.1 in the Ops Guide for 2.19.3 shows %k / %K for rdimport 
start / end time, and %q / %Q for the dates. Never used 'em tho, sorry.


(On an appliance system the guide is at 
/usr/share/rivendell/opsguide.pdf.  Dunno about other systems.)


On Wed, Apr 3, 2019 at 6:16 PM Peter Claes > wrote:


Hi guys,

I am still looking into how I can pass a Startdate and enddate (no
offsets) to a cart via the dropboxes.

Just to be sure i am not on a dead end here : is this even possible ?

If it is possible, do you have an example or a script ?

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


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


Re: [RDD] Scheduler codes time taken

2019-03-19 Thread Robert Jeffares

Stan,

The more options or criteria required to make a selection from the 
library the longer it will take.


If you have 2000 songs it will be faster then if you have 20,000

2 hours for a days log is 'typical' on a computer with a basic amount of 
ram and an early 64 bit processor.


You can make it go faster by using lots of RAM >8GB [and fast ram] and 
the latest Intel processor.


We cut creation time by about 1/4 with a high spec machine. It cost! 
Most of our machines are ex lease


In the normal scheme of things we run log creation 8 days in advance 
scheduled to commence at 1am and if it takes the computer a couple of 
hours I don't care as I am fast asleep!


There is a system promoted by it's creator as 'faster than Rivendell' to 
create a log which it is, because it does not use MySQL or any other 
database.


Personally I would rather have all the features  MySQL enables.

R

On 3/20/19 12:37 AM, Stan Fotinos wrote:

Hi all

I have just experimented using scheduler codes to create music clocks. What I 
am finding is that it takes approximately 5 mins to create 1 hour with 20 music 
tracks per hour and approximately 2hrs to create to create a day’s music log.

If I only use a group or groups with no codes it takes approximately 30 seconds 
to create an hour clock.

Could some one please tell me if this is the amount it should take to create 20 
tracks per hour? Anyone else experienced anything similar?

Centos 7 Rivendell 2.19.3

Thank you

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


Re: [RDD] RML branch commands

2019-01-22 Thread Robert Jeffares

Hi Peter


On 23/01/19 11:06, Peter Claes wrote:


Encounterd approx the same problem for 'dry' news items, to add 
intro/bed and outro .. If no item is available.


You can get the script to build the audio by mixing the intro, and the 
outro when it runs. I did look at sox and ffmpeg and it can be done. Our 
format is slower paced and we don't do fanfares so it was not needed but 
as I remember you can stitch an intro with a bed under onto the front, 
and splice the outro on the end. Measure the duration of the voice track 
and use it to fade the bed under so the end plays nicely.


SOX works well on CentOS.
R
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RML branch commands

2019-01-22 Thread Robert Jeffares
I have a shell script that looks for a traffic announcement in 
/home/rd/dropbox


if there is one it is renamed with a date-time filename and carted

it is then scheduled to play next

and again in 35 minutes

and again 35 minutes after that.

which suits my needs.

the script is run by cron every 5 minutes from :11 to :48

In one event we had 3 sets of information running simultaneously [It was 
a significant event]


I have a version that does it once

item has to be self contained and it just interrupts whatever is on

email me if you want the scripts

regards

Robert Jeffares


On 23/01/19 09:22, Rob Landry wrote:


What is the criterion to be used to determine whether or not there are 
announcements?


I would set up a macro to run an external shell script to determine if 
there are announcements; if there are, turn on the TA flag, run the 
announements, turn off the flag, and resume normal airplay. If there 
are not, then resume normal airplay immediately.


I would have the announcements set up as a Sound Panel button, and use 
a STOP transition on the next event following the one that invokes the 
shell script.


So: Rivendell starts the shell script and stops. The shell script 
determines if there are announcements to be broadcast; if so, it turns 
on the TA flag and fires the Sound Panel button for the announcements 
using PP, waits for the announcements to finish playing, turns off the 
TA flag, and executes PN 1! to resume normal airplay.



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] Error during log generation

2019-01-02 Thread Robert Jeffares

Hi Gabriele,

This is normal.

Your EVENT calls for 2 codes, one of them 'Pop'.

The Scheduler Rules in the CLOCK like Artist Separation, Title 
Separation, and anything else you have in there, then determine the next 
available song to be selected.


In the event of no fully qualifying song; and a song does not have the 
second code 'Pop' but meets every other rule then RD will pick the song 
and indicate a broken rule.


Solution

Make more songs available with the 'Pop' Scheduler Code and the other 
codes you use in the 03 hour.


You need a lot more inventory every time you add a selection rule.


regards

Robert



On 03/01/19 04:39, Gabriele Fergola wrote:

Hello,
I changed the event in log manager like to use 2 code instead of one 
but now I got these errors:


03:30:50 Rule broken: Must have second code Pop
03:34:50 Rule broken: Must have second code Pop
03:54:00 Rule broken: Must have second code Pop

I have a minimum of 2 codes in every carts.

Is it normal? or how I can solve?

Thanks
Gabriele


___
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] Clock Grid question/possibly feature request

2018-11-19 Thread Robert Jeffares

Hi Alan,

short answer No

If you have a series of blank hours and place a clock in one you can 
repeat the same clock by click-and-hit-enter on any empty hour.


Set up your day then click-enter to copy down the week.

It's a bit tedious but it's not something you do very often.

regards

Robert

On 20/11/18 8:09 AM, Alan Smith wrote:

This may already be implemented, I just can't remember...

Stealing a feature from our current system, is there a shortcut key 
combination/mouse click that would allow a user to:


1)  Copy selected hour to all hours of the day.

2)  Copy selected day to paste to other days of the week.

I know there is a global "copy to all hours" function, but this is a 
bit more granular.


Thanks,

-Alan

___
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 - audio file location and ingestion

2018-11-05 Thread Robert Jeffares

Hi Richard,

I would heartily recommend you build  a Rivendell system on a dedicated 
computer.


You can source 2nd hand 64 bit machines relatively inexpensively and 
they work quite well.


You may need to install a bigger drive for /var/snd depending on the 
music library size, but you can run with almost anything to see how it 
works.


Yes all audio is stored as wav for good reason.

Bit of effort but I can assure you it's worth it.

regard

Robert Jeffares



On 06/11/18 05:20, Richard G Elen wrote:


Hi...

I am just starting with Rivendell, so please pardon my total lack of 
knowledge at this point which may result in my asking meaningless or 
impossible questions.


I had set up a CentOS 7.5 system in advance and then followed the 
Rivendell CentOS installation document to install Rivendell (the only 
difference from the document's recommendation being that I did not 
define a separate partition for /var, as I followed the standard 
CentOS install recommendation).


As I want to get to know Rivendell for a while and continue to use an 
existing Windows playout system in the meantime, the machine 
dual-boots into CentOS or Win 10. A 1.5 TB partition on the drive is 
formatted as NTFS and contains the music library, which is accessed by 
the Windows playout system currently. The library is mounted with 
ntfs-3g on boot into CentOS so it can be accessed by Rivendell.


It appears that Rivendell requires to make a complete copy of the 
music library on ingestion with rdimport. This is inconvenient. There 
is insufficient space on the current drive to allow Rivendell to store 
a copy of the music library. Now of course I could attach an external 
drive, copy the library on to it and then let Rivendell ingest it from 
there and copy it back to where it is now. In which case, two 
questions arise:


 1. If I follow the copy-back-and-forth course outlined above, will
the Rivendell-ingested copy of the music library still be able to
be used by the Windows playout system or would I need to have /two
/active copies of the music library, one for Windows playout and
the other for Rivendell?
 2. Does Rivendell require to make a copy of the library at all, or
can it simply ingest the metadata and populate the database
without copying the actual audio files?

Any observations or advice would be greatly appreciated, and thanks in 
advance.


--Richard Elen
radioriel.org



___
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] CentOS 7 Cannot Start Rivendell Daemons

2018-11-04 Thread Robert Jeffares
Had the same issue here and resolved it by adding  "rate 44100" in 
/etc/asound.conf under card 0


then amended default rate in rdadmin.system settings

If caed don't start mysql is not going to follow

Thanks for the help.

Robert


On 5/11/18 8:03 AM, Jake Litwin wrote:
Ahhh that's Patrick and Drew. I think I found the issue. I'm using the 
on board sound from the PC and it appears this may not be compatible 
with Rivendell. I'm going to have to go get an external sound card 
like the ones mentioned on the compatibility list. That makes sense 
why caed is crashing then. Again thanks for walking me through this! :)


On Sun, Nov 4, 2018 at 12:47 PM Patrick > wrote:


My first concern would be:

  Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found:
3.centos.pool.ntp.org 

This is a valid hostname, which tells me your computer either
isn't on the internet or your DNS resolver isn't working.

Second is this:

  Nov  4 11:20:04 rivendell caed:  Asked for sample rate 48000,
got 96000
  Nov  4 11:20:04 rivendell caed:  Sample rate unsupported by device

Which leads the question, which sound card do you have in your system?

Then there's this:

  Nov  4 11:20:04 rivendell kernel: caed[3383]: segfault at 2d0 ip
7fa458a523cb sp 7ffe7c7368e0 error 4 in libpthread-2.17.so
[7fa458a49000+17000]

caed is crashing with a segmentation fault. This may have
something to do with the 96000 sample rate.

So, all of your daemons are loading, but caed is crashing. Giving
the caed source a quick glance, getting a sample rate other than
48000 is a failure, not a warning and I don't know what caed will
do with that.

I think what you need to do is figure out how to set your sound
card to a sample rate of 48000 and see if that changes anything.

—
Patrick
patr...@scnv.net 




On Nov 4, 2018, at 8:39 AM, Jake Litwin mailto:p...@hitmusiccentral.net>> wrote:

Hi Patrick,

Here is what was generated from the above command. I also checked
to see if MySQL was running.

[rd@rivendell ~]$ su -
Password:
Last login: Sun Nov  4 09:19:09 EST 2018 on pts/0
[root@rivendell ~]# systemctl start rivendell
Job for rivendell.service failed because the control process
exited with error code. See "systemctl status rivendell.service"
and "journalctl -xe" for details.
[root@rivendell ~]# systemctl status caed
Unit caed.service could not be found.
[root@rivendell ~]# systemctl status ripcd
Unit ripcd.service could not be found.
[root@rivendell ~]# systemctl status rdcatched
Unit rdcatched.service could not be found.
[root@rivendell ~]#

[root@rivendell ~]# tail -50 /var/log/messages
Nov  4 09:49:39 rivendell ntpd_intres[592]: host name not found:
1.centos.pool.ntp.org 
Nov  4 09:49:39 rivendell ntpd_intres[592]: host name not found:
2.centos.pool.ntp.org 
Nov  4 09:49:39 rivendell ntpd_intres[592]: host name not found:
3.centos.pool.ntp.org 
Nov  4 10:01:02 rivendell systemd: Created slice User Slice of root.
Nov  4 10:01:02 rivendell systemd: Starting User Slice of root.
Nov  4 10:01:02 rivendell systemd: Started Session 2 of user root.
Nov  4 10:01:02 rivendell systemd: Starting Session 2 of user root.
Nov  4 10:01:23 rivendell ripcd: ran local maintenance routines
Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found:
0.centos.pool.ntp.org 
Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found:
1.centos.pool.ntp.org 
Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found:
2.centos.pool.ntp.org 
Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found:
3.centos.pool.ntp.org 
Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found:
0.centos.pool.ntp.org 
Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found:
1.centos.pool.ntp.org 
Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found:
2.centos.pool.ntp.org 
Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found:
3.centos.pool.ntp.org 
Nov  4 10:22:47 rivendell ripcd: ran local maintenance routines
Nov  4 10:37:46 rivendell ntpd_intres[592]: host name not found:
0.centos.pool.ntp.org 
Nov  4 10:37:46 rivendell ntpd_intres[592]: host name not found:
1.centos.pool.ntp.org 
Nov  4 10:37:46 rivendell 

Re: [RDD] CentOS 7 Cannot Start Rivendell Daemons

2018-11-04 Thread Robert Jeffares

I am having the exact same problem here.

Robert Jeffares

Big Valley Radio

On 5/11/18 3:22 AM, Jake Litwin wrote:
Thanks for the reply Drew. The first thing I noticed if I try to do a 
systemctl status is that I get rd is not in the sudoers file. So I did 
a su - to root. I first checked caed in the output was Unit 
caed.service could not be found. Same goes for ripcd and rdcatchd.


On Sun, Nov 4, 2018 at 6:53 AM drew Roberts <mailto:zotz...@gmail.com>> wrote:


Try to start each daemon by hand from a different terminal. Start
with caed. After that your choice, ripcd and rdcatchd.

Which one fails? Does the message generated give any hints?

all the best,

drew

On Sun, Nov 4, 2018 at 4:33 AM Jake Litwin mailto:p...@hitmusiccentral.net>> wrote:

Hi,

I am brand new to the group. Having a little difficulty with
the CentOS 7 image. Just a short background that may help aid
in an answer for me. I'm installing on an old HP dc5750 with a
1TB hard drive I put in. 4g ram. I downloaded the CentOS
minimal from

http://centos.mirrors.tds.net/pub/linux/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso.
I followed the instructions for install thoroughly. Actually
tried 3 times to be exact. But I'm getting the cursed cannot
start Daemons error. I've googled for past threads for that
error and have gone through everything from verify the rd.conf
to making sure rduser had access to the database. Everything
checks out. I've rebooted numerous times. Kept trying to open
rdadmin as suggested that it would eventually open. No luck.
I'm at a dead end lol. Can someone maybe help shed some
guidance on this for me? Is my pc too old?

-- 
*Jake Litwin**

*
Hit Music Central

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



-- 
Enjoy great *Bahamian Music* at:

Bahamian Or Nuttin - http://www.bahamianornuttin.com
<http://www.bahamianornuttin.com/>



--
*Jake Litwin*
Program Director
<http://hitmusiccentral.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] re-normalize a batch of carts?

2018-10-31 Thread Robert Jeffares

Gregory,

it will work

in that your /var/snd/ files will all be normalised by sox to -5.

However the -13 level is a better option than bumping the audio file 
level up.


For a number of reasons the -13 level was chosen to allow 'headroom' for 
the bits of audio that overshoot 0vu.


In digital audio, overshoots cause lots of instant distortion. I have a 
couple of Lexicon sound devices which are excellent when I allow 
headroom but show no mercy to the inevitable peaks in programme content.


If you need to increase the gain from the sound card out to the desk, 
it's relatively easy to install an amplifier which takes the sound card 
output and boosts it by about 20db. In our situation we took unbalanced 
out of the PC card and deliver balanced at +4 to a limiter which then 
connects to the transmitter.


If you are running the RD out through a board you may need slightly less.

I don't think you can buy a box that does the job. Our ones are an OpAmp 
and some components in a box with a 5v power supply.


regards

Robert Jeffares.


On 1/11/18 8:43 AM, Gregory Avedissian wrote:

We've had a problem with broadcast volume levels, and we've settled on
using a normalization level of -5 when importing into the library. The
engineer has tweaked the transmission as best he can without bothering the
nearby airport.

There are still a bunch of carts that were imported at -13.

Someone started re-importing them manually to raise the norm level. I told
them I could script it and do the whole library automatically. Now I need
to deliver.

Is it safe to do something as simple as having the script go to /var/snd
and run:
for i in *.wav ; do sox --norm=-5 "$i" /tmp/"$i" && cp /tmp/"$i" "$i" ; done

Oh yeah, there will be rm /tmp/"$i" in there, too. Just noticed that.

I ran a quick test, and it seems to work. Seems too easy. Am I missing
something?

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] Serial port adventures

2018-10-17 Thread Robert Jeffares

Rob,

Try putting the shellscript in /usr/bin/  and it will run from RML.

I had a similar issue here and it resolved the problem, although I don't 
really know why.


regards

Robert

On 10/10/18 2:54 AM, Rob Landry wrote:


I'm in the process of setting up a Rivendell system at WCFR(AM) 
Springfield, VT to do Boston Bruins hockey games. I am dealing with a 
Broadcast Tools SRC32 serial remote control, which is not directly 
supported by Rivendell, but which can be controlled using "SO" RML 
commands.


I wrote Perl scripts to manage the start of a game, going into and out 
of local breaks, and returning to normal programming at the end of the 
game. The scripts worked perfectly from the command line, but not when 
called from Rivendell.


rd.conf is set to run Rivendell as user 'scott'. I do this because it 
is easier to debug external scripts if Rivendell is running as the 
same user I log in as.


However, what I've just discovered is that the Bruins scripts are 
failing because they don't have permissions to access the serial port 
-- even though user 'scott' is in the dialout group and does have such 
permissions.


That means that at least part of Rivendell must be running as a user 
other than 'scott'. 'chmod o+rw /dev/ttyS0' cures the problem.


The obvious question is: what user is it running as? Since the scripts 
were working from the command line, 'scott' clearly had permissions to 
access the serial port.


I vaguely recall having encountered this problem before. This is RD 
2.18 running on Debian 8. There's no SELinux installed, so it can't be 
anything like that.


For now, I'm adding 'chmod o+rw /dev/ttyS0' to my startup script, as 
that seems to be an effective workaround; but I'd love to understand 
why the problem crpped up in the first place.



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] scheduler stops hour at 1st voicetrack

2018-08-21 Thread Robert Jeffares
Look at the EVENT immediately after the first VTRAX and check Services 
[button mid lower].


You may find your new service is in there twice..

Given different performance for cron [as root?] vs rdlogmanager [ as 
rduser] you may have to amend permissions on the Rivendell mysql database.


Are you on CentOS or some other?

R
On 21/08/18 07:46, Peter Claes wrote:

I have a strange problem.

I imported our database a while a go, onto a new machine.
Everything is tested, and runs perfectly.

Until I made a new clock under the new database structure.

In the new clock (copy and paste from another one) it stops at the 1st
voicetrack, and starts a new clock.

I generate the logs via a cron job, only then this occurs.

If generate a log via Rdllogmanager, this is not happening.

Could this be user related ?

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] rivendell_filter

2018-08-13 Thread Robert Jeffares
Thanks Jonathan, I looked at those, and could not figure out how to not 
convert files from wav to FLAC.


But if I have to roll my own all the code I need is in there.

I am exploring a selective dump CART CUTS and associated tables in 
REPLACE mode.


This database is about 10 years old and has a few klingons!

R


On 14/08/18 16:25, Jonathan Cohen wrote:

Not related to Rivendell_filter and I'm not sure it would cope with 6 
tracks, but I wrote some crude PHP scripts that export and import carts in bulk 
between 2.19.2 systems, keeping all the segue and other data and also allowing 
export and import between systems with different sample rates. They did take 
about 12 hours to do around 5000 tracks though and are far from polished.

http://radiotools.uk/download/rivendell-export-import-101.zip

Jonathan

-Original Message-
From: rivendell-dev-boun...@lists.rivendellaudio.org 
[mailto:rivendell-dev-boun...@lists.rivendellaudio.org] On Behalf Of Robert 
Jeffares
Sent: 14 August 2018 01:43
To: rivendell-dev@lists.rivendellaudio.org
Subject: [RDD] rivendell_filter

I have discovered that replicating systems from a master which has been used 
for a number of different stations carries a lot of additional mysql data which 
is not all deleted when clocks or dropboxes are deleted in the QT3 interface.
There are some tables that look like they are no longer used in the current 
schema but remain to bloat the system which is now running very slow.
eg DROPBOX_PATHS had data in it from 2011 which possibly should have been 
deleted when I deleted them in the GUI.


Looking through the mailing list rivendell_filter will enable me to copy the 
60,000 audio tracks onto a new pristine system bringing just CART CUTS and 
associated schedule codes, perms etc.


Lots of links that go nowhere and a line on the wiki saying the file should be 
in docs which it's not.

Anyone got a copy of rivendell_filter somewhere please?

regards
Robert Jeffares

___
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] RdImport SQL Errors Adding Multiple Cuts To A Cart

2018-07-01 Thread Robert Jeffares
this is similar to what I am observing when we cart our weekend feature 
programmes, same "invalid.. Duplicate key.." but it works.


Robert


On 02/07/18 11:03, Rich Stivers wrote:

Has anyone added multiple cuts to a cart lately using RdImport? I'm getting SQL 
errors. In the example below I'm adding 11 ID's to one cart. The first cut is 
added without error and the next 10 all report errors. The errors appear to be 
false positives because I examine the cart in RDLibrary and all 11 cuts have 
been successfully added. Rddbcheck reports no errors.

If I import multiple cuts manually within RDlibrary I get no errors, however 
this method is quite tedious.

rdimport --normalization-level=-12 --autotrim-level=-29 --segue-level=-20 
--set-string-title="Top Hour ID's" --single-cart ID *.mp3

invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
Database connection failed: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"
invalid SQL or failed DB connection[Duplicate entry '3702' for key 'PRIMARY' QMYSQL3: Unable to 
execute query]: insert into CART set 
NUMBER=3702,TYPE=1,GROUP_NAME="ID",TITLE="\[cart\ 003702-1]"

I'm running an appliance build updated to 2.19.2. All comments appreciated.

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] File Name in RDLibrary

2018-05-29 Thread Robert Jeffares

Hi Seth,


On 30/05/18 02:08, Seth Stevenson wrote:

Is the metadata being lost because of the conversion.


Things to try:

use rdimport --verbose --delete-cuts --to-cart=[cartnum no leading 0] 
GROUP /path/to/file.mp3


with NO other switches and see what populates the Cart data.

rdimport reads some but not all variants of mp3 tag sometimes failing 
because of junk in the tag file.


rdimport on the command line is a lot easier to tune then the GUI.

Also:
Look at the file and try and locate the tag data. Tags can be ID3v1, 
ID3v2.3, ID3v2.4 and  can contain characters which upset the importer.
Some rippers include tag data with ~!@#$%^&*()_+|"?>< ®¥ and other 
symbols which bash looks at as commands.
Somewhere I have a script that sets ALL tags to 'null' except Artist and 
Title  which I run before the audio is imported.


Meanwhile this code helped me import a bunch of files which had tag issues.

-snip


#! /bin/bash
# you need to have id3info and eyeD3 installed
# copy the files you want to import into a local folder and run this 
script from within the folder

# this script will extract the Artist etc from the mp3 tag including GENRE

# and make a label on the file that can be used to put the data in the 
Rivendell database
# using rdimport --verbose --metadata-pattern=%a-%t-%l-%u.mp3 GROUP the 
GENRE gets put on the user line

# there is an upper limit as to how many you can do at once

# WARNING do this on COPIES of the files

# If the files are coming from i tunes check the GENRE has been written 
to the mp3 tags


echo "Extracting tags..."
for i in *.mp3
do

TITLE="`id3info "$i" | grep '^=== TIT2' | sed -e 's/.*: //g'`"
ARTIST="`id3info "$i" | grep '^=== TPE1' | sed -e 's/.*: //g'`"
ALBUM="`id3info "$i" | grep '^=== TALB' | sed -e 's/.*: //g'`"
YEAR="`id3info "$i" | grep '^=== TYER' | sed -e 's/.*: //g'`"
GENRE="`eyeD3 "$i" | grep 'genre' | sed -e 's/.*: //g'  -e 's/(.*)//g'   
-e  's/^ *//;s/ *$//g' `"


echo "$ARTIST $TITLE $ALBUM $YEAR $GENRE"
mv "$i" "$ARTIST-$TITLE-$ALBUM-$YEAR-$GENRE.mp3"

done

echo "hint: rdimport --verbose --metadata-pattern=%a-%t-%l-%u.mp3 
--delete-source [GROUP] *.mp3"



-snip

all the usual caveats apply.

regards

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


[RDD] RDLIBRARY in mysql Rivendell

2018-05-21 Thread Robert Jeffares

Is there a reason for these entries?


+++--+

| ID | STATION | INSTANCE |

+++--+

| 2 | studio | 0 |

| 9 | ratchet | 0 |

| 15 | production | 0 |

| 14 | linux | 0 |

| 18 | localhost | 0 |


35 is the local server in each instance.


I am exporting music carts from one system to another. I can 
export/import CART and CUTS; but when I do; RDLIBRARY does not work. It 
will 'open' but not display and RDAIRPLAY stops.


I am exporting successfully to 3 other locations with all logs are 
generated at the Master.


Music carts are updated in mysql hourly with actual music files 
generally delivered by rsync the same day.


The problem system locally generates logs and has some local GROUPS.

The receiving system is squawking about a duplicate key which I think I 
have removed on the source database.


RDLIBRARY had two entries for the originating server and a bunch of 
klingons.


I entered the names in RDADMIN >MANAGE HOSTS and then deleted them.


This database is getting on for 15 years since it was first created and 
it's been through a number of power events. Might be time to build a 
fresh system and migrate all the music to eliminate the history of 
clients that have come and gone.



regards


Robert




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


Re: [RDD] Logs

2018-04-14 Thread Robert Jeffares

Hi James,


On 15/04/18 05:30, ija...@jamcorbroadcast.com wrote:


I need to know what is the directory that rivenlell keeps the logs it 
builds.

Rivendell logs are stored as MySQL tables in Rivendell.

If RD is configured to use local log generation the Log Management 
programs RDLOGEDIT and RDLOGMANAGER connect to MySQL as does RDAIRPLAY 
each reading and writing to the table which is the log for  a day.


If Rivendell is doing the music log that's where the data is stored.

You use the various tools to review and edit. There should be no need to 
review the MySQL table but you can.


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


Re: [RDD] FTP set up using FileZilla into Appliance

2018-04-10 Thread Robert Jeffares

Hi James,


On 10/04/18 16:47, ija...@jamcorbroadcast.com wrote:
Thanks for your response. We where trying to use Online service Dropbox 
I have some programmes delivered via Dropbox© and I mapped a copy of my 
Dropbox folder onto my "Production" [hack used to do everything] machine.

That was easy enough I followed the Dropbox help files.
I then wrote a script that copied the files out of the locally mounted 
Dropbox into a local folder.
The script also cleans up the filenames and makes them a bit more user 
friendly.
We found having a number of users is a hazard as it only takes one to 
delete a file and it's deleted for everyone.

You think the file is there because yu have been sent a link to it.
I also have three different programme providers using  three different 
Dropbox so it became just as easy to download them all manually.
I think there is a way to acumulate them but it's just as easy to click 
on email links.

These are all syndicated programmes.

For local programmes, news, weather, traffic, waterrestrictions and 
breaking news I have a dropbox [note all lower case] on each machine in 
6 locations and each machine polls some or all of th others for updates 
which can be created at any one of the sites or externally. Each machine 
downloads items it needs locally identified by filename and one central 
machine [igor] holds a copy of everything. All the heavy lifting is done 
by rsync in shell scripts scheduled by cron with log files written to 
the dropbox some of which get emailed as confirmations the job is done. 
Some items are carted using rdimport others [mostly weather] using 
rdcatch. Weather can be recorded and updated at any time. We have a 
series of bulletins which vary in content so each has a unique name and 
we can go from fine to frenzy incredibly quickly.


At one site I use rsync running on cygwin to align folders on a windows 
machine over an intercontinental link, one end of which is very 
unreliable. Fortunately the time difference allows the far end to work 
well in advance of broadcast time. At the near end the folder is shared 
to local Windows machines using Samba.


we have been using dropbox long before the name was used to market an 
eponymous  service

I figured That you have to manually move files from dropbox to RD.

not necessarily

I am trying to automate The process.

see above
But for right now I guess its ok. I have made the appropriate folders. 
I recommend you set up your own dropbox and have contributors Filezilla 
or otherwise send audio directly to your server. Relying on some cloud 
based service, especially a free one, over which you have no control is 
a bit brave for me.


My Other Question as per Weather ect Do you can you have RD catch 
Import Voicetracks For different. I have been insuccessful in getting 
Rd Carch to work.
I can't get to import anything. 


we have a file called trunk9amweather.wav [you can call yours whatever 
you like but *NO* punctuation, gaps, wildcards, non alpha numeric, and 
no spaces or - at the start of the filename]


it is recorded and placed in the dropbox

/home/rd/dropbox/trunk9amweather.wav <--you need all of this

Set RDCATCH to DOWNLOAD this file. Give the thing a name; use the full 
name and location


pick the cart it is to be loaded into

I use autotrim -30 and normalise -13

[some sources I run -10]

make sure you check all the days of the week you want it top 
happen;default is none
set the time you want it to run [top left hand corner] 08:58 is good for 
9am If the audio is a minute long give it two and if it's a half hour 
programme be prepared for the normalize to take a little while.


the username is rd and the password is whatever password you put in to 
users and groups>rd


save

You can test by opening it up again and setting the time to a minute 
from now

then hit save as new

close and look for the yellow line which indicates i'm next; it goes 
green when it downloads and if successful it is white

Red/Pink is an error and along the right is the reason

Most common after typos is wrong permissions on dropbox and on files in 
dropbox.


I make a habit of setting permissions on all files in the dropbox in 
shellscripts so everything gets chown to rd:users and chmod 644 although 
I had to make that 666 to make an OS X Mac happy.


You should be able to follow this as you work through

I have used rdcatch to download some material direct from http and ftp 
sources with varying success, some servers just don't deliver, and you 
have to resort to wget.
I think much of the problem is incompatible  character sets but you can 
run in to issues with filenames including dates. Service provider 
labeling inconstancies will drive you nuts as well.


Hope this helps

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


[RDD] MySQL chatter

2018-04-10 Thread Robert Jeffares
I have been getting a lot of reports like this when injesting audio both 
in dropbox mode and with rdimport on the CentOS 6 Appliance 2.19.1/275


despite the chatter everything works fine

Its just unnerving.


invalid SQL or failed DB connection[MySQL server has gone away QMYSQL3: 
Unable to execute query]: select FILE_DATETIME from 
DROPBOX_PATHS  where 
(DROPBOX_ID=7)&&(FILE_PATH="/home/rd/dropbox/tuesdaybiblestudy.wav")
Database connection failed: select FILE_DATETIME from 
DROPBOX_PATHS  where 
(DROPBOX_ID=7)&&(FILE_PATH="/home/rd/dropbox/tuesdaybiblestudy.wav")

04-10-2018 - 18:34:35 :  Deleting cuts from cart 000804
invalid SQL or failed DB connection[Duplicate entry '804' for key 
'PRIMARY' QMYSQL3: Unable to execute query]: insert into CART set 
NUMBER=804,TYPE=1,GROUP_NAME="FEATURES",TITLE="\[cart\ 000804-1]"
04-10-2018 - 18:34:35 :  Importing file "tuesdaybiblestudy.wav" to cart 
000804 ... done.

04-10-2018 - 18:34:51 :  Deleted file "tuesdaybiblestudy.wav"



regards


Robert

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


Re: [RDD] FTP set up using FileZilla into Appliance

2018-04-09 Thread Robert Jeffares

Hi,


On 10/04/18 14:34, ija...@jamcorbroadcast.com wrote:
We tried  having Drop Box Folder on RD but we can't Sync The RD Folder 
on The desktop with The dropbox. When You add the Dropbox Address in 
the the rd catch. The Name ans password fields disappear. Do you have 
a work around this problem. 


on an appliance installation the 'home folder' for 'rd' is /home/rd

which you can access from Places>Home Folder from the menu across the 
top of the screen.


you can create a folder here called 'dropbox'

command line: mkdir /home/rd/dropbox

or by File>Create Folder in the GUI Menu

dropbox is a local folder in which we put things like weather traffic 
news and magazine items for inclusion in the playout using rdcatch or 
the dropbox feature


Now are you trying to sync a local folder with the on-line cloud service 
"Dropbox" ?


It is possible but it's way more reliable to roll your own.


I don't know how you can get rdcatch not to use username and password. 
are you using DOWNLOAD?


regards

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


Re: [RDD] FTP set up using FileZilla into Appliance

2018-04-07 Thread Robert Jeffares

Hi Jesse

On the CentOS 6  Rivendell system set a password for rd in Users & 
Groups in the CentOS Menu System>Administration>Users 7 Groups.


There is a default but better to use your own. Just overwrite the * 
and click OK.


In Filezilla use SFTP [ftp over ssh] which defaults to port 22. OK on 
the same network [ use port fowarding to connect from the WAN]


ssh runs on Rivendell Appliance out of the box.

"Normal" login allows you to configure user name and password

In the 'Advanced' tab set your local and Rivendell directory. We have a 
directory on rd called dropbox so the path is '/home/rd/dropbox'


There are some ready made directories on RD you can use as well.

You can also map that dropbox or any of the rd directories as a mounted 
folder on your windows machine so you just save the audio files into the 
folder on your desktop [or wherever] The Rivendell appliance shares a 
bunch of directories with Samba by default. Use RDCATCH or the 'dropbox' 
feature to monitor for files you place in the mounted shared folder 
which saves having to Filezilla every time you record the weather. The 
installed folders are already set up. It's easy enough to add to the 
Samba shares. man Samba will provide all you need to know.


Be aware that Samba shares have some file naming restrictions that 
should not bother you, and you may have to tweak permissions.


I have such shared folder systems in a number of installations and they 
work fine.


Filezilla is my #1 choice for remote access.


regards


Robert


On 08/04/18 10:44, Jesse Jones wrote:
I am stumped at this point.  I am trying to set up FileZilla in a 
Windows Machine to transfer audio files to my Rivendell Appliance (in 
CentOS 6).
The Appliance sees the Windows Network, and will navigate inside the 
Windows 10 Pro box.  But when I try to do a "quick connect" from the 
FileZilla using the local IPv4 address of the Appliance, with rd as 
the user and no password (since I understand rd is set up with no 
password by the Appliance) and ports 21 or 22, I get an authorization 
failure.
Do I set a password in CentOS 6 for rd?  Will that mess anything up in 
the Appliance?  Is there a better way to set up the FileZilla Client 
to get into Rivendell Appliance?

Jesse Jones in Blanket Texas

 
	Virus-free. www.avast.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] Problem With RdImport For Large Numbers Of Files

2018-03-06 Thread Robert Jeffares

Hmmm


On 10/02/18 10:22, Marius wrote:


Has anyone seen/solved a problem like this before? I'm in a quandary 
as to how to determine the cause of this (ill-formed script?, 
Rivendell problem?, linux performance issue?, etc.).


I have a server set up to audition large numbers of audio files and a 
clever script that uses the rdlibrary report to load all carts into 
rdairplay so I can check levels and segues etc
The system used to hang every so many hundred files and I found that 
Gnome has a file limit 'feature' which can be reconfigured to a large 
number.


https://easyengine.io/tutorials/linux/increase-open-files-limit/


Which solved the problem here.

It may also be limiting the import number.


Might be as well to test it on a non critical machine first

regards

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


Re: [RDD] Music Scheduler Codes - "Exclude" option instead of "Must Have Code"?

2018-03-06 Thread Robert Jeffares

Hi Sheerrod,

I use a Scheduler Code for each daypart, with music in 4 main GROUPS 
which play in sequence in most clocks.


Songs from each GROUP are selected in an EVENT which uses the Daypart 
Scheduler Code.


The EVENT has 2 scheduler code options which provides finer grain 
selection than I need


I have 7 daypart clocks each with 4 daypart specific events [which 
repeat] plus ID's etc


Each clock has rules which also fine tune selections.

This works as well as or better then some very expensive software and 
replicates a manual system we used in the 70's.


In your case music needs to have either 'daytime' or 'nighttime' or both 
scheduler codes.


You can pick the music in a Daytime Event and a Night time Event [2 
clocks required]


Or you can make a daytime clock and a night time clock and set the 
Scheduler Rules so faster tempo songs don't play overnight.


That requires tempo [fast medium-fast medium medium-slow slow] Scheduler 
Codes to be set.


As I see it you can get what you want with the existing options, how 
much work is involved depends on how much data is currentlyassociated 
with each music cut.


regards
Robert


On 07/03/18 09:59, Sherrod Munday wrote:

A client of mine wants to *exclude* certain music scheduler codes from airing 
during a certain daypart.

Instead of setting the Daypart on every selected Cut for their entire library, has there been any thought to 
creating/setting a logical "NOT" flag for the "Must Have Code" logic that currently allows a 
logical "AND" -- but not a "NOT"?

The goal is to assign a chunk of their music library a scheduler code that 
would prevent it from airing overnights (i.e., they want slower-tempo songs 
only during nighttime).  I don't see a way of doing this in the Scheduler 
option in the current rev of RD.

If adding the "NOT" option isn't practical, are there any other ways of 
accomplishing this without burning up the one single Daypart field for the Cut?

(They're coming from an automation system that allows hour-by-hour selection of valid air 
times, with the practical effect that they can achieve multiple valid 
"dayparts" for each given day.)

--
Sherrod Munday


___
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] Help - Questions on scheduling, interruptions

2018-03-04 Thread Robert Jeffares

sent direct

R


On 05/03/18 11:57, c...@elfpen.com wrote:
Can you send us a screenshot of RDAirPlay with the portion of your log 
that shows


what played and what was skipped?


(Actually, I'm not sure if this mailing list will support attachments.)




On 03/04/2018 06:08 AM, D. B. .B. B. wrote:

Hi,

I am working with Rivendell for a community radio station and have 
encountered some issues with tracks - songs and shows - being 
interrupted halfway through. It sometimes happens that a longer 
segment is simply interrupted without warning and another starts 
playing. This happens for both hard time and non-hard time events. 
Can one make an event uninterruptable? I try to schedule as closely 
as I can but we have very different lengths of songs in our library, 
and it seems that often instead of skipping the next song it will 
jump into it interrupting. This is a serious concern because we have 
some original content that has now been twice interrupted mid-air 
without warning. What could be the cause of this and how can this be 
avoided?


Thanks,

David B.




___
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] Help - Questions on scheduling, interruptions

2018-03-04 Thread Robert Jeffares

Hi David,

sounds like you have events scheduled after the currently playing event 
that are set to start at a time which is before the conclusion of the 
previous event.


Look in the EVENT immediately following the things that get interrupted 
and see if it is set to Hard Start Time and start Immediately or Wait up 
to x minutes.


Most events don't need to use hard start time.

make sure there is enough time to play the event before the next fixed 
item like news. We have a problem at one station where scheduled events 
are produced longer then the allocated 30 minute slot, our solution was 
to start them at :20 instead of :40 and run some fill material to the hour.


If you look at the played log you will soon see whisy EVENT is pre 
empting the preceding programme segment



regards


Robert.


On 05/03/18 01:08, D. B. .B. B. wrote:

Hi,

I am working with Rivendell for a community radio station and have 
encountered some issues with tracks - songs and shows - being 
interrupted halfway through. It sometimes happens that a longer 
segment is simply interrupted without warning and another starts 
playing. This happens for both hard time and non-hard time events. Can 
one make an event uninterruptable? I try to schedule as closely as I 
can but we have very different lengths of songs in our library, and it 
seems that often instead of skipping the next song it will jump into 
it interrupting. This is a serious concern because we have some 
original content that has now been twice interrupted mid-air without 
warning. What could be the cause of this and how can this be avoided?


Thanks,

David B.




___
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] Glasscoder & Jack

2018-01-22 Thread Robert Jeffares

Hi All,

Questions:

If I want aacp do I have to install from source?

I have an mp3 instance that connects for a few seconds then disconnects. 
Same response from 2 different operational Icecast2 servers.


logs say it disconnected but I have not been able to determine why.

running 2.18.2 with JACK and JAMIN

It works fine if I connect without JAMIN

I can get it to run if I boot with Rivendell and then run JAMIN and 
Glasscoder one by one but that rather defeats the idea of one bootscript 
does all.


Everything is running as root so no conflicts there.


regards


Robert

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


[RDD] Change in Behaviour of Clock Sync Events

2018-01-07 Thread Robert Jeffares
After the latest appliance update [2.18.2] an event that syncs the log to
wall time disappeared from the logs.
Simple event "make next at wall time". No Carts.
Everything else in the logs was perfect.
Ran rddbcheck with no affect.
Tried re entering and a new event without success.
On a hunch entered a log note and voilà the clock sync's work.
I have several independent systems and the operators description of the
symptoms have been entertaining.
Putting a log note in is a fix, but they used to work without.
Robert Jeffares
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


  1   2   3   >