Re: [RDD] Importing audio on new drive

2022-03-31 Thread drew Roberts
Thanks Rob,

interesting idea, I will have to play with it.

Care to share the "full details" of the cron job for those of us who are
reading this while it is still "too early"???

all the best,

drew

On Wed, Mar 30, 2022 at 2:50 PM Rob Landry <41001...@interpring.com> wrote:

>
> I have long been in the habit of building Rivendell machines with two
> drives: a smaller solid-state drive for the OS, and a larger mechanical
> drive, typically 2 TB, for the audio files. Rather than using
> /etc/fstab, though, I have a cron job running as root that mounts the big
> drive as /var/snd after booting.
>
> If something happens to the audio drive and someone reboots the machine,
> if the drive is listed in /etc/fstab and can't be mounted, the machine
> won't boot.
>
> But if the drive is mounted after booting, the OS will still run and I can
> troubleshoot the machine remotely. Most of the stations I support are 2+
> hours drive from me, so it pays to know that I need a new drive before I
> leave home.
>
>
> Rob
>
> --
> Не думай что всё пропели,
> Что бури все отгремели;
> Готовься к великой цели,
> А слава тебя найдёт.
>
>
> On Tue, 29 Mar 2022, ermina wrote:
>
> > Hi,
> >
> > not sure how RD4 works yet, but if your installation is on a single
> > computer, you can just edit /etc/fstab to bind the path where you
> > actually store your files to /var/snd; ie add a line that says:
> >
> > /media/rd/F00E70710E703328/var/snd/   /var/sndnone bind 0 0
> >
> > Hope this helps.
> >
> > . leo
> >
> > On 3/26/22 8:09 PM, Seth Stevenson wrote:
> >>
> >> I using the new ubuntu studio version of Rivendell with the 4.0 version
> >> of Rivendell. I was able to import files just fine with the standard
> setup.
> >>
> >> However I needed to move /var/snd to a bigger second drive. I deleted
> >> the /var/snd and created one on the second drive. I give it permissions
> >> per normal. However rdimport now errors with "unable to create the
> >> destination file".
> >>
> >> The path I'm using on the new drive is
> >> this /media/rd/F00E70710E703328/var/snd/
> >>
> >> What  am I missing in order to get rivendell to see the new /var/snd
> >> location?
> >>
> >> --
> >> Seth Stevenson
> >>
> >> ___
> >> Rivendell-dev mailing list
> >> Rivendell-dev@lists.rivendellaudio.org
> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >>
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Here's one I haven't seen before

2022-02-09 Thread drew Roberts
Rob, just to be totally clear:

"and if you ssh into the machine, you can enter commands and they'll work
normally"

Does that include if you ssh -X in as the normal rd user and issue
"graphical" commands like rdlibrary, rdlogedit, rdadmin, etc?

all the best,

drew
On Wed, Feb 9, 2022 at 6:30 AM Rob Landry <41001...@interpring.com> wrote:

>
> In the past week, I've seen two different Rivendell systems become
> unresponsive to mouse clicks and keyboards.
>
> You can move the mouse cursor, but can't actually click on anything.
> rdairplay continues merrily along playing audio, and if you ssh into the
> machine, you can enter commands and they'll work normally. But the person
> in the studio sitting in front of the machine -- or anyone logged in via
> VNC -- can't do anything but watch. If I reboot the machine, the problem
> will go away.
>
> Of the two machines where I observed the problem, one runs Rivendell
> version 2.19.3; the other is running 3.4.0; both are running CentOS 7.
>
> Has anyone else encountered this problem?
>
>
> Rob
>
> --
> Не думай что всё пропели,
> Что бури все отгремели;
> Готовься к великой цели,
> А слава тебя найдёт.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Ransonware attack

2021-12-16 Thread drew Roberts
Crazy idea to follow...

On Wed, Dec 15, 2021 at 11:37 AM Fred Gleason 
wrote:

snip

>
> So, just saying “Interfacing with Windows isn’t supported” isn’t in the
> cards if you expect to be an actually relevant, viable option in Broadcast
> Automation.
>

Well, there's a good chance it is crazy... or at least overcomplicated for
little or no gain...

Don't set up samba and shares on the Riv instance.

Instead, set up a virtual machine. In the VM, put a stripped down version
of the OS on the riv machine or even a tiny/security distro. Configure
samba and the shares in the VM. Rsync in both directions between the samba
directories in the VM and matching directories on the RIV machine. Perhaps
watch the directories on both sides and initiate the rsyncs when the
dirs/files change.

As an install or post install option, set up the samba stuff on an actual
separate box and not in a VM.

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


[RDD] Rivendell and Network Monitoring Systems

2021-11-16 Thread drew Roberts
Is anyone monitoring the "status" of a "Rivendell System/Network" using a
network monitoring system like libreNMS, Munin, Nagios, etc? Especially the
status of rdairplay and whatever logs it is playing...

If so, any thoughts/pointers?

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


Re: [RDD] error from jack invocation

2021-09-15 Thread drew Roberts
Jim,

On Tue, Sep 14, 2021 at 11:24 PM JT  wrote:

> Greetings:
>
> I have enabled jack in rdadmin/hosts/..  with the following command
>
> /usr/bin/jackd -d alsa -d hw:1 -r 41000
>
> syslog says a jack failure.
>
> aplay -l clearly shows hw:1 present.
>


Stop everything rivendell related including jack on the box.

Confirm that jack is no longer running with something like:

ps ax | grep jack

Get root in a terminal. sudo bash is likely good enough.

As root issue the problem command:

/usr/bin/jackd -d alsa -d hw:1 -r 41000

Do you get an error? If so, is the error helpful?

all the best,

drew

snip
>
> Thanks much,
> Jim Thrasher
>
>
>
-- 
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


Re: [RDD] Alternative /var/snd directory

2021-05-21 Thread drew Roberts
Alejandro,

I may be able to help with a possible solution for the local filesystem
issue.

On Fri, May 21, 2021 at 12:59 PM Alejandro olivan Alvarez <
alejandro.olivan.alva...@gmail.com> wrote:

> Really!?!?!
>
> hope this could be confirmed for current versions... since, toghether with
> the rdselect config/hot-switching feature (/etc/rivendell.d/x.conf) it
> would be a very very interesting and potentially usefull feature (I'm
> thinking, for instance, on a training/learning terminal).
>
> Although the rdselect/autofs mount switching works perfect for NFS, it
> really doesn't (or I failed to make it to work) for local filesystems... As
> of now, If I would like to have a multiple local filesystem and switch
> between them, I would have to setup nfs-kernel-server and do localhost
> export/mount to /var/snd
>

Let's consider the case of 3 "setups" or 3 configs.

1. Production
2. Beginning student
3. Advanced student

Let's assume you know how to do everything else that is needed but are
struggling to understand how to get 3 different "/var/snd"s for these 3
setups.

I am going to make a suggestion. If it can work for you, great, if it
can't, perhaps it can give you the idea to allow you to move forward or ask
more questions.

1. Set up a machine as normal, single user with either a small /var/snd
partition or with /var/snd as a part of your /var partition.
2. Add another internal hard drive to the machine and make 3 partitions on
it.
3. Mount and unmount one of these partitions at a time to be ("cover")
/var/snd on the other disk.

Is this clear? I am in #rivendell on irc if you want more interaction help.

all the best,

drew


> Regards.
>
>
> On 5/21/21 4:05 AM, Geoff Barkman wrote:
>
> I'm not sure about rivendell 3x versions. It works on rivendell 2x
> versions.
> But you can add lines to you /etc/rd.conf file
> (Cae)
> AudioRoot=/mnt/myalternativelocation
>
> Except use square brackets around the cae section.
> Many thanks
> Geoff barkman
>
>
> On Wed, May 19, 2021, 11:36 PM Sojo Gold  wrote:
>
>> Hi all,
>>
>> I've got brain fog on this and seem to be unable to think it through.
>> I want to use alternative storage space for */var/snd*
>>
>> For learning, I have setup a (Linux Mint 20.1) Libvirt/KVM Host on an
>> 128GB SSD with 2 additional drives, 750GB (KVM Guests) and 3TB (Plex
>> Library etc.).
>> I built a Rivendell (3.5.x /Centos7) virtual machine and needed to keep
>> /var to a minimum, but have enough space on 3TB for /var/snd.
>>
>> I attempted to setup an NFS share on the 3TB that Rivendell could use but
>> somehow seem to have got it the wrong way round and was only giving access
>> to the Rivendell /var/snd directory from the 3TB. When importing audio,
>> Rivendell /var/snd was still taking up space on the virtual machine file
>> system.
>>
>> Basically my thinking says it should be easy... simply instruct Rivendell
>> to send imported audio to the 3TB drive instead.
>> What am I missing...any help would be much appreciated.
>> Thanks.
>> Chris Perkins.
>>
>>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
> ___
> Rivendell-dev mailing 
> listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] x11vnc woes

2021-05-10 Thread drew Roberts
Rob,

On Mon, May 10, 2021 at 5:50 PM Rob Landry <41001...@interpring.com> wrote:

> On Mon, 10 May 2021, Brandon Anjeleno wrote:
>
>
> snip

>
> Here's a thought: can x11vnc be run in user mode, i.e. not as root?
>

Yes, that's how I run it on many boxes. I kick it off from :

 /home/rd/.config/autostart/x11vnc.desktop file...

all the best,

drew

>
>
> Rob
>
> --
> Не думай что всё пропели,
> Что бури все отгремели;
> Готовься к великой цели,
> А слава тебя найдёт.
>
>
> >
> > Brandon Anjeleno
> > Station Manager
> > subSTATION.one
> > UNITED WE DANCE ®
> > +1 (213) 839-7667
> > WhatsApp
> >
> >
> > On Mon, May 10, 2021 at 1:44 PM drew Roberts  wrote:
> >   x11vnc sometimes crashes on me. sometimes infrequently,
> >   sometimes way too frequently.
> > I try to be ssh'ed into the machine when using x11vnc and I have a
> > script that will restart it if it does crash and go away.
> >
> > all the best,
> >
> > drew
> >
> > On Mon, May 10, 2021 at 8:18 AM Rob Landry <41001...@interpring.com>
> > wrote:
> >
> >   I have a client who is running RD 2.19.3 running on CentOS
> >   7, installed
> >   according to the Paravel instructions. Most of his people
> >   are doing their
> >   shows from home via Comrex Access. They are VNC'ing in to
> >   the Rivendell
> >   system in the air studio to control rdairplay and doing
> >   their breaks live
> >   via the Comrex link.
> >
> >   Most of the time it works flawlessly, but once in a while
> >   the x11vnc
> >   server will either crash or freeze. When it happens, the
> >   current song will
> >   run out and they'll be silent for several minutes while
> >   they go looking
> >   for someone to VNC in and fix the problem.
> >
> >   This morning, x11vnc froze; I had to use kill -9 to kill
> >   it, and when I
> >   restarted it, the new process immediately froze. Only
> >   rebooting the system
> >   got it working -- not something I like doing when I'm an
> >   hour and a half
> >   away and there's no one at the station.
> >
> >   I have tried downloading the latest x11vnc code and
> >   compiling it manually;
> >   that hasn't helped. The logs don't offer any clues.
> >
> >   I know this isn't strictly a Rivendell problem, but I'm
> >   wondering if any
> >   of y'all have encountered it. Is there a better option
> >   than x11vnc? I
> >   suppose I could try vino.
> >
> >   Thanks,
> >
> >
> >   Rob
> >
> >   --
> >   Не думай что всё пропели,
> >   Что бури все отгремели;
> >   Готовься к великой цели,
> >   А слава тебя найдёт.
> >   ___
> >   Rivendell-dev mailing list
> >   Rivendell-dev@lists.rivendellaudio.org
> >   http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >
> >
> >
> > --
> > 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
> >
> >
> >



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


Re: [RDD] x11vnc woes

2021-05-10 Thread drew Roberts
x11vnc sometimes crashes on me. sometimes infrequently, sometimes way too
frequently.

I try to be ssh'ed into the machine when using x11vnc and I have a script
that will restart it if it does crash and go away.

all the best,

drew

On Mon, May 10, 2021 at 8:18 AM Rob Landry <41001...@interpring.com> wrote:

>
> I have a client who is running RD 2.19.3 running on CentOS 7, installed
> according to the Paravel instructions. Most of his people are doing their
> shows from home via Comrex Access. They are VNC'ing in to the Rivendell
> system in the air studio to control rdairplay and doing their breaks live
> via the Comrex link.
>
> Most of the time it works flawlessly, but once in a while the x11vnc
> server will either crash or freeze. When it happens, the current song will
> run out and they'll be silent for several minutes while they go looking
> for someone to VNC in and fix the problem.
>
> This morning, x11vnc froze; I had to use kill -9 to kill it, and when I
> restarted it, the new process immediately froze. Only rebooting the system
> got it working -- not something I like doing when I'm an hour and a half
> away and there's no one at the station.
>
> I have tried downloading the latest x11vnc code and compiling it manually;
> that hasn't helped. The logs don't offer any clues.
>
> I know this isn't strictly a Rivendell problem, but I'm wondering if any
> of y'all have encountered it. Is there a better option than x11vnc? I
> suppose I could try vino.
>
> Thanks,
>
>
> Rob
>
> --
> Не думай что всё пропели,
> Что бури все отгремели;
> Готовься к великой цели,
> А слава тебя найдёт.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] "Configure Now & Next Parameters" button missing

2021-02-20 Thread drew Roberts
It is not in rdairplay anymore. Go back out of rdairplay setup and look for
a pypad button bottom right.

all the best,

drew

On Sat, Feb 20, 2021 at 4:36 AM Jake Tremper  wrote:

> In RdAdmin -> Manage Hosts -> [hostname] -> RdAirPlay, I expect to see a
> "Configure Now & Next Parameters" button next to "Configure Hot Keys" but
> there is just nothing there. As far as I can tell, it's the only thing
> missing from that part of the interface.
>
> I wasn't able to find anything interesting in the logs, can anyone suggest
> some steps I can take to troubleshoot or resolve this?
>
> rivendell-3.5.0-1.x86_64 on CentOS 7.9 (selinux disabled) in a
> "standalone" configuration from the install_rivendell script as described
> here:
> http://static.paravelsystems.com/rivendell-install/rivendell-install-rhel7.html
>
> This installation was upgraded from Rivendell 2.10 using rddbmgr --modify,
> if that matters. I checked for "Loadable Modules" before the upgrade and
> did not find any, per this page:
> http://wiki.rivendellaudio.org/index.php/Upgrading_from_v2_to_v3_on_CentOS_7
>
> rivendell-pypad-3.5.0-1.x86_64 installed.
>
> Thanks!
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] RDCatch FTP over TLS

2021-02-13 Thread drew Roberts
I was trying to help out last night in irc.

I tried a lot of things with curl and wget. Could not get any to work. I
did not try the + instead of @ trick in the username bit though.

The thing causing it is the cert is in a different name to the servername.

I was able to get this bash script, using lftp to work:

 #!/bin/bash
 lftp -u user,password ftp.host.com << EOF
 set ssl:check-hostname no
 cd /mp3dir
 mget *.mp3
 bye
 EOF

the line that finally made it work with lftp was:

 set ssl:check-hostname no

I do not know why:

--no-check-certificate

Does not do the same for wget or why:

-k

Does not do the same for curl...

>From irc last night:

 and this is the effort with curl which also would not work: -k, --insecure
 (TLS) By default, every SSL connection curl makes is verified to be
secure. This option allows curl to proceed and operate even for server
connections otherwise considered insecure.
 https://curl.se/docs/manpage.html

all the best,

drew

On Fri, Feb 12, 2021 at 5:34 PM wa7skg  wrote:

> And how do I incorporate that into RDCatch?
>
> Michael
>
> Kit Haskins wrote on 2/12/21 12:10 PM:
> > Would wget work ?
> >
> > wget -r --level=5 -m --no-remove-listing --reject "index.html" -c
> > --progress=dot -N --secure-protocol=auto --no-proxy --no-passive-ftp
> > --ftp-user=X --ftp-password=Y --no-check-certificate
> > ftps://.com:21
> >
> >
> > from:
> >
> >
> https://stackoverflow.com/questions/38312403/download-all-files-via-ftp-with-explicit-tls-ssl-encryption
> >
> >
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] How to a bash script from a macro cart

2021-02-09 Thread drew Roberts
In case anyone ever has a lot of files in one format that they need in the
other:

$ yum search unix2dos
tofrodos.x86_64 : Converts text files between MSDOS and Unix file formats

https://en.wikipedia.org/wiki/Unix2dos

all the best,

drew

On Tue, Feb 9, 2021 at 2:56 AM Jesse Jones  wrote:

> Thanks yall - it's working!
>
> What I Have Learned
>
> In /etc/rd.conf the Audio Owner and the RnRmlOwner need to be "rd" or the
> linux user of the Rivendell automation
> ---and---
> The syntax of the RN line needs to include the ./ at the beginning of the
> path to the script
> ---and---
> The script needs to be written in a non-windows host.  Most of the failed
> attempts were actually failing because the Windows 10 Notepad used
> different linefeed and carriage returns so that the bash interpretor in
> CentOS 7 was looking for commands in a non-existant bin^M directory.  It
> only made a difference because RML "RN" is actually /bin/sh -c.  The -c
> asks for an internal shell command differently from the /bin/sh without the
> -c.  #!/bin/bash written in Windows is not the same as #!/bin/bash written
> in CentOS 7.
>
> Thanks to Octavio, Drew, and Mike who each put key parts of the puzzle
> together.
>
> On Mon, Feb 8, 2021 at 9:53 AM Mike Carroll  wrote:
>
>> Your RN command shows just the script name.  Does it make a difference if
>> you code the entire path?  For example, we have a macro cart with: RN
>> /usr/local/bin/getuc.sh !  (We're still Riv2, so that may also be a factor.)
>>
>> Mike
>>
>> On Sat, Feb 6, 2021 at 8:21 PM Jesse Jones 
>> wrote:
>>
>>>I am sure I am making this harder than it has to be - but I am having
>>> trouble running a bash SCRIPT from inside a macro cart.  I had hoped to use
>>> RDCatch to run the script.
>>>The script is executable via CLI/terminal using the line /bin/sh
>>> script.sh so I have the permissions ok and all that.  But when I run the
>>> macro RN script.sh! it fails.  The full path to the script is
>>> /bin/script.sh.
>>>I read all you folk running these scripts but I can't seem to get my
>>> Rivendell 3.5 (appliance on CentOS 7) to follow suit.  By the way - I have
>>> found that percussive maintenance and cussive recitations haven't worked
>>> either.
>>>Would someone please enlighten me on the secret to running bash from
>>> the macro cart?
>>> ___
>>> 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
>


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


Re: [RDD] How to a bash script from a macro cart

2021-02-08 Thread drew Roberts
Jesse,

I did not see any requests in IRC but I was out of the channel without
realising it for a time.

Let's see if I can give a few hints as to what does run for me and see if
that will be enough to get something working for you.

I have a macro cart with these lines:

001: RN /home/pypad/playvidpywp1.sh 72!
002: SP 184317!

an others that  are similar.

/home/pypad/playvidpywp1.sh looks like this:

#!/bin/bash
echo "---"
echo "All the command-line parameters are: "$*"" >>
/tmp/passedparamspywp1.txt
echo "==="
echo "Sending over $1.mp4"  >> /tmp/passedparamspywp1.txt
echo "add /var/vid/$1.mp4" | nc 192.168.0.145 4212
exit 0

permission on the file are:

-rwxrwxrwx. 1 pypad pypad  231 Feb  8 16:44 playvidpywp1.sh

Permission on the /home/pypad directory are:

drwxr-xr-x. 6 pypad pypad 4096 Feb  8 17:16 .

/tmp/passedparamspywp1.txt parameters look like this:

-rw-r--r--. 1 rivendell rivendell 414 Feb  8 18:01
/tmp/passedparamspywp1.txt

Showing that rivendell is the user running the macro (iiuc)

This is a part of my /etc/rd.conf file:

; These entries are used to define the system user and group that commands
; executed by the 'Run Shell Command' ['RN'] RML will run under.
RnRmlOwner=rivendell
RnRmlGroup=rivendell

tail -f /tmp/passedparamspywp1.txt

lets me watch as these macros fire... I have them in a log in rdairplay.

I hope this helps you.

all the best,

drew

On Sun, Feb 7, 2021 at 3:57 PM Jesse Jones  wrote:

> The Goal is to run bash scripts from inside macrocarts using RDCatch to do
> such things as run a backup of the database and do rsync between the "On
> Air" machine and a "warm standby" plus other "odd jobs".
> The script(s) run from terminal using /bin/sh script.sh but not in the
> macro "RN script.sh!
>
> I tried to "edit the RML user" in /etc/rd.conf to both "rd" and "rduser"
> but "rd" did not work and "rduser" asks for a password immediately after I
> change the entry (whether I edit as root or as sudo rd).  So I am missing
> something here.
>
> I have tried to chown the script but users "rivendell" and "rduser" won't
> chown.
>
> How do I get the bash script to run from inside a macro cart?
>
> 
> At the top of the RDAirPlay is:
> RDAirPlay v3.5.0 -Host:test User:rduser Log:TEST Service:OnAir
>
> In /etc/rd.conf I had (before edit attempts):
> [Identity]
> ; These entries are used to define the system user and group that will
> ; own the audio files.
> AudioOwner=rivendell
> AudioGroup=rivendell
>
> ; These entries are used to define the system user and group that commands
> ; executed by the 'Run Shell Command' ['RN'] RML will run under.
> RnRmlOwner=rivendell
> RnRmlGroup=rivendell
>
> [mySQL]
> ; The connection parameters for the MySQL server.
> Hostname=localhost
> Loginname=rduser
> Password=***
> Database=Rivendell
> Driver=QMYSQL3
>
> and the script I want to work from inside the macro is in /bin/ (ls -l):
> -rwxr-xr-x. 1 rd   rivendell  161 Feb  6 20:51 databasescript.sh
>
> It was originally:
> -rwxr-xr-x. 1 root   root  161 Feb  6 20:51 databasescript.sh
> ---
>
> On Sun, Feb 7, 2021 at 5:25 AM Emisora Regional 
> wrote:
>
>> Hi.  Edit the /etc/rc.conf file and make sure that in the line referring
>> to RML ... the user is the one you are using to run the macro.  Regards
>>
>> Octavio Halle
>> Emisora Regional
>>
>> El 7 feb. 2021 1:21 a.m., Jesse Jones 
>> escribió:
>>
>>I am sure I am making this harder than it has to be - but I am having
>> trouble running a bash SCRIPT from inside a macro cart.  I had hoped to use
>> RDCatch to run the script.
>>The script is executable via CLI/terminal using the line /bin/sh
>> script.sh so I have the permissions ok and all that.  But when I run the
>> macro RN script.sh! it fails.  The full path to the script is
>> /bin/script.sh.
>>I read all you folk running these scripts but I can't seem to get my
>> Rivendell 3.5 (appliance on CentOS 7) to follow suit.  By the way - I have
>> found that percussive maintenance and cussive recitations haven't worked
>> either.
>>Would someone please enlighten me on the secret to running bash from
>> the macro cart?
>>
>>
>> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] How to a bash script from a macro cart

2021-02-07 Thread drew Roberts
Jessee,

if you don't get this sorted by tomorrow, look for me in IRC and I will see
if I can help.

all the best,

drew

On Sun, Feb 7, 2021 at 3:57 PM Jesse Jones  wrote:

> The Goal is to run bash scripts from inside macrocarts using RDCatch to do
> such things as run a backup of the database and do rsync between the "On
> Air" machine and a "warm standby" plus other "odd jobs".
> The script(s) run from terminal using /bin/sh script.sh but not in the
> macro "RN script.sh!
>
> I tried to "edit the RML user" in /etc/rd.conf to both "rd" and "rduser"
> but "rd" did not work and "rduser" asks for a password immediately after I
> change the entry (whether I edit as root or as sudo rd).  So I am missing
> something here.
>
> I have tried to chown the script but users "rivendell" and "rduser" won't
> chown.
>
> How do I get the bash script to run from inside a macro cart?
>
> 
> At the top of the RDAirPlay is:
> RDAirPlay v3.5.0 -Host:test User:rduser Log:TEST Service:OnAir
>
> In /etc/rd.conf I had (before edit attempts):
> [Identity]
> ; These entries are used to define the system user and group that will
> ; own the audio files.
> AudioOwner=rivendell
> AudioGroup=rivendell
>
> ; These entries are used to define the system user and group that commands
> ; executed by the 'Run Shell Command' ['RN'] RML will run under.
> RnRmlOwner=rivendell
> RnRmlGroup=rivendell
>
> [mySQL]
> ; The connection parameters for the MySQL server.
> Hostname=localhost
> Loginname=rduser
> Password=***
> Database=Rivendell
> Driver=QMYSQL3
>
> and the script I want to work from inside the macro is in /bin/ (ls -l):
> -rwxr-xr-x. 1 rd   rivendell  161 Feb  6 20:51 databasescript.sh
>
> It was originally:
> -rwxr-xr-x. 1 root   root  161 Feb  6 20:51 databasescript.sh
> ---
>
> On Sun, Feb 7, 2021 at 5:25 AM Emisora Regional 
> wrote:
>
>> Hi.  Edit the /etc/rc.conf file and make sure that in the line referring
>> to RML ... the user is the one you are using to run the macro.  Regards
>>
>> Octavio Halle
>> Emisora Regional
>>
>> El 7 feb. 2021 1:21 a.m., Jesse Jones 
>> escribió:
>>
>>I am sure I am making this harder than it has to be - but I am having
>> trouble running a bash SCRIPT from inside a macro cart.  I had hoped to use
>> RDCatch to run the script.
>>The script is executable via CLI/terminal using the line /bin/sh
>> script.sh so I have the permissions ok and all that.  But when I run the
>> macro RN script.sh! it fails.  The full path to the script is
>> /bin/script.sh.
>>I read all you folk running these scripts but I can't seem to get my
>> Rivendell 3.5 (appliance on CentOS 7) to follow suit.  By the way - I have
>> found that percussive maintenance and cussive recitations haven't worked
>> either.
>>Would someone please enlighten me on the secret to running bash from
>> the macro cart?
>>
>>
>> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] restart after power failure

2021-02-01 Thread drew Roberts
Nick,

try this for 3.x:

#!/bin/bash
#Credentials for Rivendell Database
#Edit these as required
# 3.x riv
user="rduser"
pass="letmein"
host="localhost"
db="Rivendell"

#Get the current time
let h=$(date +%-k)*360
let m=$(date +%-M)*6
let s=$(date +%-S)*1000
let ms=$h+$m+$s
echo "MS: "$ms

#Get the current date formatted for the log name you use
NOWDATE=$(date +%Y_%m_%d)
echo "NOWDATE: "$NOWDATE

#Get the actual log name my logs are 12052015_LOG so change this
LOG_NAME=$NOWDATE
echo "LOG_NAME: "$LOG_NAME

#Get the row count from the DB based on the current time
let SQLRESULT=$(mysql --skip-column-names -u "$user" -p"$pass" "$db" -e
"select COUNT from LOG_LINES WHERE LOG_NAME = \"$LOG_NAME\" AND START_TIME
>= $ms LIMIT 1";)-1

echo "SQLRESULT: "$SQLRESULT

#Send the RML command LL to load a log from the specified line
rmlsend LL\ 1\ $NOWDATE\ $SQLRESULT\!
#done

I am also unsure as to where I first ran into these.

all the best,

drew

On Sun, Jan 31, 2021 at 5:06 PM Nick Vanderest  wrote:

> Hello all.  Long time reader/first time poster.
>
> Following the thread, I remembered I had found a snazzy script some time
> back, not sure whom originally created it, but it worked well with 2.x, but
> not 3.x.
>
> When I run the script, I get the following error:
>
> MS: 49953000
> NOWDATE: 20210131
> LOG_NAME: 20210131_LOG
> ERROR 1146 (42S02) at line 1: Table 'Rivendell.20210131_LOG' doesn't exist
> SQLRESULT: -1
>
> I assume something in the database has changed, I'm not well versed in
> SQL.  Any takers, and does this work for others in the power outage
> scenario?I have another variant of this script for initial bootup,
> which ensures that rdairplay is running, this one assumes its running
> already.
>
> Here below is said script:
>
> #!/bin/bash
> #Set RD variables
> user="rduser"
> pass="letmein"
> host="localhost"
> db="Rivendell"
>
> #Get the current time
> let h=$(date +%-k)*360
> let m=$(date +%-M)*6
> let s=$(date +%-S)*1000
> let ms=$h+$m+$s
> echo "MS: "$ms
>
> #Get the current date formatted for the log name you use
> NOWDATE=$(date +%Y%m%d)
> echo "NOWDATE: "$NOWDATE
>
> #Get the actual log name my logs are 2014_07_14_LOG so change this
> LOG_NAME=$NOWDATE"_LOG"
> echo "LOG_NAME: "$LOG_NAME
>
> #Get the row count from the DB based on the current time
> let SQLRESULT=$(mysql --skip-column-names -u "$user" -p"$pass" -h "$host"
> "$db" -e "SELECT COUNT from $LOG_NAME where START_TIME >= $ms LIMIT 1";)-1
> echo "SQLRESULT: "$SQLRESULT
>
> #Send the RML command LL to load a log from the specified line
> /usr/bin/rmlsend LL\ 1\ $NOWDATE\ $SQLRESULT\!
>
> End of script...
>
> Nick
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] restart after power failure

2021-01-30 Thread drew Roberts
David.

I think I got Jorge's issue but was suggesting an alternative.


On Sat, Jan 30, 2021 at 8:19 AM David Klann  wrote:

> Hey drew,
> 
> I believe that what jorge is relying on is the expected behavior of
> Rivendell to simply wait until the next Timed Event to start when the
> log is loaded after a power failure (yes, dead air until that happens).
> I have experienced this: restarting the computer, automatically loading
> RDAirplay, RDAirplay automatically loading the current day's log, and
> waiting for the next Timed Event. It just doesn't trigger at the
> expected time in Rivendell 3.5.0 (on CentOS, so I suspect this is not
> explicitly an Ubuntu issue).
>
> In fact one can test this by stopping RDAirplay normally, then
> restarting RDAirplay.


Are we missing the step of reloading the log or are we reloading the last
log on startup of rdairplay?


> After restarting, don't initiate playout, just
> wait for the next Timed Event (you can even modify an existing Event,
> making it "Timed, Make Next"). Make sure "Operating Mode" is set to
> "Automatic". The timed event seems to trigger (the left-hand Log display
> is moved to the current time), but playout does not start. If you modify
> an Event and set it to "Timed, Start Immediately" it *will* start.
>
> So, if I'm tracking jorge, the problem is Timed Events set to "Make
> Next", and if the Log is not playing, the log will not start by itself.
>

Perhaps a little comparison video 2.x/3.x of the "same log" and how it
works on 2.x versus 3.x would be good documentation?

I have an "extra" 3.x box I could use to shoot the 3.x video if anyone can
do the 2.x...

>
> Correct jorge?
>
>~David Klann
> Broadcast Tool & Die
>

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


Re: [RDD] restart after power failure

2021-01-30 Thread drew Roberts
Jorge,

as a part of my bash scripted startup process, I run these scripts after
rdairplay starts on my 2.x and 3.x riv boses...

IIUC, I am not the only riv head doing something like this.

It is the rmlsend line at the end of the script that loads the log and
starts it playing on the correct cart / spot / time in the log.

all the best,

drew

On Sat, Jan 30, 2021 at 12:24 AM jorge soto  wrote:

> Hi Drew,
> nothing fancy. I start RdAirplay with Session and Startup on Ubuntu.
> in Configure RDAirPlay i checked Restart Log After Unclean Shutdown and
> load specified log %m/%d/%Y
> Legal ID at top of the hour is a hard time, make next event. and the clock
> has other hard time, make next events. Works fine on Rivendell 2.19
> but on 3.5 lhe events don't start playing.
>
> On Fri, Jan 29, 2021 at 4:54 AM drew Roberts  wrote:
>
>> Jorge,
>>
>> iirc, I did have to make changes to the bash scripts that start things up
>> and load and fire my logs and it was at least partly due to changes in the
>> database schema...
>>
>> How were you loading your log, calculating where to start and then
>> starting the log in that spot?
>>
>> all the best,
>>
>> drew
>>
>> On Fri, Jan 29, 2021 at 1:05 AM jorge soto  wrote:
>>
>>> I have  a machine running rivendell 2.19. I have hard timed events and
>>> time sync events on the log. whenever there is a reboot rivendell starts,
>>> loads the log and the time sync or the hard timed events fire and the log
>>> starts at the correct time.
>>>
>>> i installed rivendell 3.5 on another machine and what works on 2.19
>>> doesn't work on
>>> 3.5. Did something change?
>>>
>>> I tried both ways, with a brand new database and importing the database
>>> from 2.19, neither works. the hard time/time sync events do bring the log
>>> to the correct time but it doesnt start playing.
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>>
>>
>> --
>> Enjoy the *Paradise Island Cam* playing
>> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>>
>

-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/


nowtest_main_3xshare.sh
Description: application/shellscript


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


Re: [RDD] restart after power failure

2021-01-29 Thread drew Roberts
Jorge,

iirc, I did have to make changes to the bash scripts that start things up
and load and fire my logs and it was at least partly due to changes in the
database schema...

How were you loading your log, calculating where to start and then starting
the log in that spot?

all the best,

drew

On Fri, Jan 29, 2021 at 1:05 AM jorge soto  wrote:

> I have  a machine running rivendell 2.19. I have hard timed events and
> time sync events on the log. whenever there is a reboot rivendell starts,
> loads the log and the time sync or the hard timed events fire and the log
> starts at the correct time.
>
> i installed rivendell 3.5 on another machine and what works on 2.19
> doesn't work on
> 3.5. Did something change?
>
> I tried both ways, with a brand new database and importing the database
> from 2.19, neither works. the hard time/time sync events do bring the log
> to the correct time but it doesnt start playing.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] WEB API not seeing group SOLVED!

2020-12-28 Thread drew Roberts
Happy to have been able to help Rich...

Now if only I can manage to help myself with my problem...

It is cutting my hip... Too many interrelated parts with lots of ignorance
on my part for many of them... One step at a time.  I thought I was getting
closer last night but seem to have borken things badly today... (venting
2.0 installing) (I think I will leave that borken typo in as it suits...)

~;-)

all the best,

drew

On Mon, Dec 28, 2020 at 11:21 AM Rich Gattie  wrote:

> Thanks to Drew Roberts on the Facebook group for the help.
>
> Created a new user with webget access and password and it worked. Would
> have figured that admin would work off the bat, but this will work for
> testing purposes of my python script.
> Thanks again Drew!
>
> 73, Rich.
>
> --
> -=:{ Rich Gattie, KB2MOB }:=-
> Email: mob...@gmail.com
> Web: http://x1radio.net
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


[RDD] Let listeners choose songs via web page/app

2020-12-16 Thread drew Roberts
We are thinking of moving this along some and perhaps putting it in for a
low power station for testing purposes.

https://github.com/zotz/drradioutils/tree/master/rivz

It was originally thought of in this way but the initial thoughts for
testing was to put it in as a jukebox for clubs and restaurants and let
patrons choose the music being played on the premises.

The last time I played with it, it was working after a fashion but it was
dirty and too tightly coupled to rivendell and the database in particular.

Questions:

1. Is anyone else interested in something like this?
2. Does anyone have any thoughts on decoupling this via an API in
rivendell? Either an existing API or one that should be easy to implement?
3. Any thoughts on making this easier to use or more useful?

I spent the morning looking for my old working install of this but so far,
no joy.

I think I may just try and get a quick and dirty update to a riv 3.x
install and then re-evaluate.

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


Re: [RDD] Virtual Logs

2020-12-03 Thread drew Roberts
Lorne,

I decided to play with this today and got my first log loaded, playing, and
sound output streamed to icecast and heard on another machine running vlc!

Fantastic!

all the best,

drew

On Mon, Nov 23, 2020 at 11:47 AM Lorne Tyndale 
wrote:

> Drew,
>
> From reading the little bit of documentation on virtual logs that I can
> find, here is what I've been able to figure out:
>
> -For virtual logs to work, rdvairplayd needs to be running.  It normally
> is running/started as a part of the Rivendell service, but in my case
> for some reason it wasn't running.  Restarting the service fixed the
> issue for me.
>
> -Virtual logs are all controlled entirely by macros.  Any of the macros
> that have to do with controlling a log, for the machine number if you
> put in the number of the virtual log you want to manipulate, it works.
> For example, to load a log into virtual log 103 you'd use RML: LL 103
> [logname] [startline]!
>
> -In rdadmin --> Manage Hosts --> RDAirplay you can set the audio card
> output, startup control mode (automatic, manual, live assist), and
> whether you want a virtual log to start with a log loaded or not
>
> -Pypad instances can also handle virtual log data, see one of the pypad
> setups for examples
>
> -Unless I'm missing something, there does not seem to be a way to
> actually "see" on the screen an output of what the virtual log is doing
> as far as playout, the location in the log being played, or manipulate
> the log as you can with the Main or Aux 1 and 2 logs in RDAirplay.  It
> all has to be done with with macros.
>
> Virtual logs are definitely a neat feature - I can see a great benefit
> if you want to build a log in rdlogmanager or rdlogedit and then just
> let it play without any user interaction with it.  I could see it being
> useful if you're trying to run multiple unattended audio streams or
> something like that.
>
> Lorne Tyndale
>
>
> >
> >
> > Lorne,
> >
> > have you found some documentation that explains how this is supposed to
> > work? I would like to start playing/experimenting with the virtual log
> > stuff. Last time I looked, I could not find anything or get anything to
> > work.
> >
> > all the best,
> >
> > drew
> >
> > On Mon, Nov 23, 2020 at 1:36 AM Lorne Tyndale 
> > wrote:
> >
> > > Hi,
> > >
> > > Figured it out. For some reason my rdvairplayd had not started
> properly.
> > >  After I restarted my services the virtual logs and macros below
> started
> > > working.
> > >
> > > Lorne Tyndale
> > >
> > >
> > > >
> > > > Hi,
> > > >
> > > > I'm trying to figure out how virtual logs work, and running into some
> > > issues.
> > > >
> > > > I've set up a macro that is:
> > > >
> > > > LL 101 W_11_22_2020 -2!
> > > >
> > > >
> > > > I'd thought this would load a log into the virtual log 101 and start
> to
> > > play the first entry, but it doesn't seem to do anything, I don't get
> any
> > > audio.
> > > >
> > > > The same exact macro replacing the "101" with "1", "2", or "3" works
> -
> > > loads that log into the main or aux log in rdairplay and starts the
> playout.
> > > >
> > > > I tried doing a:
> > > > PN 101!
> > > >
> > > > macro after the LL command above and that did not work either.
> > > >
> > > > I also tried other virtual log machines, 102 and 103, but those did
> not
> > > work
> > > >
> > > > What am I missing?
> > > >
> > > > Lorne Tyndale
> > > ___
> > > Rivendell-dev mailing list
> > > Rivendell-dev@lists.rivendellaudio.org
> > > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> > >
> >
> >
> > --
> > Enjoy the *Paradise Island Cam* playing
> > *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>


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


Re: [RDD] Virtual Logs

2020-11-23 Thread drew Roberts
Lorne,

have you found some documentation that explains how this is supposed to
work? I would like to start playing/experimenting with the virtual log
stuff. Last time I looked, I could not find anything or get anything to
work.

all the best,

drew

On Mon, Nov 23, 2020 at 1:36 AM Lorne Tyndale 
wrote:

> Hi,
>
> Figured it out. For some reason my rdvairplayd had not started properly.
>  After I restarted my services the virtual logs and macros below started
> working.
>
> Lorne Tyndale
>
>
> >
> > Hi,
> >
> > I'm trying to figure out how virtual logs work, and running into some
> issues.
> >
> > I've set up a macro that is:
> >
> > LL 101 W_11_22_2020 -2!
> >
> >
> > I'd thought this would load a log into the virtual log 101 and start to
> play the first entry, but it doesn't seem to do anything, I don't get any
> audio.
> >
> > The same exact macro replacing the "101" with "1", "2", or "3" works -
> loads that log into the main or aux log in rdairplay and starts the playout.
> >
> > I tried doing a:
> > PN 101!
> >
> > macro after the LL command above and that did not work either.
> >
> > I also tried other virtual log machines, 102 and 103, but those did not
> work
> >
> > What am I missing?
> >
> > Lorne Tyndale
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Rivendell & Wide Orbit

2020-10-30 Thread drew Roberts
Tim,

it has been a while since I was involved in WO but here are a few thoughts
from old memories... (We used to have a small RD system to backup a WO
system.)

I am going to make some assumptions. Correct as needed and adjust. If they
don't apply or work for you, things may get more complicated.

On Thu, Oct 29, 2020 at 11:42 PM Tim Finley  wrote:

> Hello,
>
> This is the first time I've ever been a part of a mailing list, so I'm not
> sure of the etiquette.
>
> We use Music Master and Wide Orbit currently for 6 radio stations. I would
> like to utilize Rivendell as an automation redundancy should our Wide Orbit
> machines require downtime for maintenance, etc.
>
> I have successfully installed RD Server and an RD client; backed up audio
> from WO, and will start porting audio to RD Server tomorrow/next week. What
> are some other steps that I need to get -a- station going, and then add
> more? I'd like to do just one as a proof of concept and then get going with
> more if things are relatively painless.
>

I am going to assume you only need to have one station down at a time.
Having all 6 down at a time is a bit more complicated.

> I read a post from 2013 on this mailing list that indicates that all
> metadata will transfer easily from WO to RD.
>

This meets my recollections. One gotcha though is that the cart numbers
will end up different. This will complicate your Music Master situation.


> I'm not terribly versed in Music Master, but I know I'll likely have to do
> the majority of the grunt work to get this going initially.
>

Music Master can work with RD but you will likely need a new database to
match the new cart numbers. I know they will work with you if you are
converting, I don't know if they will want a new license to  let both work
side by side. I would imagine it could be possible to create a database
outside of rd and wo to keep matching cart numbers and then a program to
take a log generated for wo and convert to one that can work with rd.

> We also use Marketron for traffic. Is there a viable way to duplicate
> traffic across both systems? I was thinking of making a data server, a kind
> of ingest system, that would duplicate the files to both servers
> simultaneously via a python script or cron job.
>

That external database mentioned above could also prove useful here in
matching traffic cart numbers between both systems.


> Thanks, and I apologize for my ignorance of mailing list etiquette.
>

Suggested plan of action for a first attempt.

Phase 1.
1. Setup 1 standalone rivendell box.
2. Import wo carts for one station to that rd box.
3. Skip music master for now and create simple clocks to let rd's music
scheduler schedule things.

Phase 2 (option a)
(option a will only allow for 1 station to be down at a time.)
1. Import the music for each remaining station to a different group on the
rd box from Phase 1.
2. Create simple clocks for each station to let rd's music scheduler
schedule things.
(option b)
(option b will allow for 6 stations to be down at the same time.)
Execute Phase 1 five more times using a new rd machine for each station.

If this seems sufficient, good, if not, say where and what you are thinking
and I will try and provide more help.


> --
> *Tim Finley*
> Engineering & IT Associate
>
> E: tim.finle...@gmail.com
> E: tfin...@dbcradio.com
> P: 912-856-9683
> W: fgtech.finley-group.com
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>

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


Re: [RDD] Reaching out again: Insert CHAIN TO at log end not working

2020-09-30 Thread drew Roberts
Mike,

if you would like some interactive handholding while attempting to get a
working sample going on your setup, drop by #rivendell in freenode's irc
server. (ping zotz.)

If you don't have an irc client installed, there is a webchat client:

https://webchat.freenode.net/

all the best,

drew


On Tue, Sep 29, 2020 at 1:55 PM Michael Vasile 
wrote:

> Hi all,
>
> I'm reaching out again to see if anyone has any ideas or could help with
> an issue we're having with RD 2.19.3 and log chain events. We use a cron
> job that runs RDLogManager from the command line to generate 3 days worth
> of logs each day. We have the "Insert CHAIN TO at log end" option enabled
> on all of our services (we have 2). However, this option does nothing for
> us, and we have to manually add the log chain events.
>
> Any help/ideas would be greatly appreciated.
>
> Thank you,
> 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
>


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


Re: [RDD] ASI Rivendell and ALSA

2020-09-22 Thread drew Roberts
David,

I don't know for sure but I can try to help...

On Mon, Sep 21, 2020 at 9:34 AM David Klann  wrote:

> Greetings One and All!
>
> I have a Rivendell application that includes an Audio Science 5042 card
> and a Digigram LX-DANTE card. Rivendell is using the ASI card directly,
> and the Dante card via JACK. Does anyone know of a way to use JACK with
> the ASI card?
>
> I blacklisted the "asihpi" driver, so it's available via ALSA. But
> Rivendell still wants to use the card directly.


Did you tell rdalsaconfig not to use the card?

Do you want to use both cards via jack? Or do you want to stop using the
Dante card and begin using the ASI card?

I don't know, or don't recall how to get rivendell to start jack seeing two
cards via alsa. I do know how to get rivendell to actually send audio out
of two cards via jack.

I should be in #rivendell irc at freenode most of the day.

all the best,

drew


> Is there a way to tell
> Rivendell to ignore the fact that there is an ASI card in the computer?
>
> Thanks!
>
>~David Klann
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Is There a Rivendell TV?

2020-09-05 Thread drew Roberts
Bill,

if you want to come to #rivendell in irc at freenode, look for zotz. If you
would like to voice chat in a google hangout or via phone, let me know and
we can work out details.

Do you know of a good dcp video (with audio) player for linux?

I did some dcp work years ago in making a commercial for the station to run
on local theatre screens, but I don't recall if I  had a player or not
available at the time. Can VLC do it yet, I just saw something saying it
could not yet do audio and video at the same time.

all the best,

drew

On Sat, Sep 5, 2020 at 12:39 PM Bill Putney  wrote:

> Drew,
>
> Thanks, I'll take a look at it and see what I can make work.
>
> I've been doing content prep for the Port Townsend Film Festival and a
> couple years ago we converted to Digital Cinema Package (DCP) for the whole
> festival. It's kind of a disk hog because all the video is frame by frame
> in JPEG2000. The upside is that it's a standard that already exists for
> playout in theaters driven by xml.
>
> One hour of 1080p video will have a max file size of about 113 GB. A weeks
> worth of video (if you didn't repeat anything) would be about 20 TB. A
> month is about 90 TB. A 12 drive RAID6 array for a month's content would be
> about $3,300 for the disks and another ~$500 for a used SAN box?
>
> In DCP every video is a file that has a several constituent files that
> contain the video and audio and all the metadata.  In a theater, these DCP
> directories are strung together on an xml "play list" that also does things
> like open and close curtains and change the house light settings.
>
> I personally do mostly 60 min. shows on Rivendell and it seems like it
> takes forever to ingest a show (~1/4 real time). I suspect that most of
> that has to do with the amount of CPU time it takes to normalize 60 minutes
> of audio, but a normalization certainly happens a lot faster in Audacity.
> It might be that the bottleneck is reading and writing to the NAS that has
> /var/snd on it over a 1Gbe network. Who knows... When I'm building DCP sets
> it takes about 3/4 real time to process a video with a 64 core (4 - 8 core
> Xeon processors, 2 Hyperthreads per core) and an 8 drive RAID 0 SSD array
> and 128 GB memory. An entirely different scale of thing. The idea of
> ingesting videos makes me shudder a little. :)
>
> - Bill
> On 9/5/20 6:13 AM, drew Roberts wrote:
>
> Bill, (Jay)
>
> https://github.com/zotz/drradioutils/tree/master/rivvids
>
> I suggest setting up a small test system to see how it all works with
> video.
>
> I am happy to answer questions and help get you going. (Perhaps if someone
> takes me up on this, we can improve the documentation.)
>
> For a video only system, all playable carts would be in rdlibrary as macro
> cards with a special format.
>
> rdlogmanager would be used in a fairly normal way to create events,
> clocks, and the grid and to create the day's log.
>
> rdairplay would be used to load the log and play it.
>
> rdairplay and friends would instruct an outside video player to play the
> correct videos at the correct times.
>
> (Mike, perhaps you could help a bit if we made some improvements when
> setting you up that did not make it into the docs / examples.)
>
> all the best,
>
> drew
>
>
>
> On Fri, Sep 4, 2020 at 10:13 AM Bill Putney  wrote:
>
>> Drew,
>>
>> I sure would be interested in hearing more. What are your adaptation's
>> limitations? Things you think a "real" video video automation system should
>> do that your system doesn't achieve? What is the hardware configuration?
>>
>> Thanks,
>>
>> Bill Putney
>> District 2 Commissioner - Port of Port Townsend
>> Chief Engineer - KPTZ
>> El Jefe de Contenido - Port Townsend Film Festival
>> Private Pilot-Single Engine Land | Airframe & Powerplant / Inspection
>> Authorization
>>
>> On Sep 4, 2020, at 3:59 AM, drew Roberts  wrote:
>>
>> 
>> Bill,
>>
>> if what I have is good enough to fit your needs, I have rivendell
>> "adapted" to do video and will be happy to help you get it set up and going.
>>
>> all the best,
>>
>> drew
>>
>>
>> On Fri, Sep 4, 2020 at 1:44 AM Bill Putney  wrote:
>>
>>> Probably not, but is there something like Rivendell to automate play out
>>> of video content? The city has asked us about taking over the Cable Access
>>> channel. I know the automation  system they have now plays Sony video
>>> carts. It sounds like they don't have money to spend to update system and I
>>> don't want to takeover a mechanical nightmare. A nice big RAID array of

Re: [RDD] Is There a Rivendell TV?

2020-09-05 Thread drew Roberts
Bill, (Jay)

https://github.com/zotz/drradioutils/tree/master/rivvids

I suggest setting up a small test system to see how it all works with video.

I am happy to answer questions and help get you going. (Perhaps if someone
takes me up on this, we can improve the documentation.)

For a video only system, all playable carts would be in rdlibrary as macro
cards with a special format.

rdlogmanager would be used in a fairly normal way to create events, clocks,
and the grid and to create the day's log.

rdairplay would be used to load the log and play it.

rdairplay and friends would instruct an outside video player to play the
correct videos at the correct times.

(Mike, perhaps you could help a bit if we made some improvements when
setting you up that did not make it into the docs / examples.)

all the best,

drew



On Fri, Sep 4, 2020 at 10:13 AM Bill Putney  wrote:

> Drew,
>
> I sure would be interested in hearing more. What are your adaptation's
> limitations? Things you think a "real" video video automation system should
> do that your system doesn't achieve? What is the hardware configuration?
>
> Thanks,
>
> Bill Putney
> District 2 Commissioner - Port of Port Townsend
> Chief Engineer - KPTZ
> El Jefe de Contenido - Port Townsend Film Festival
> Private Pilot-Single Engine Land | Airframe & Powerplant / Inspection
> Authorization
>
> On Sep 4, 2020, at 3:59 AM, drew Roberts  wrote:
>
> 
> Bill,
>
> if what I have is good enough to fit your needs, I have rivendell
> "adapted" to do video and will be happy to help you get it set up and going.
>
> all the best,
>
> drew
>
>
> On Fri, Sep 4, 2020 at 1:44 AM Bill Putney  wrote:
>
>> Probably not, but is there something like Rivendell to automate play out
>> of video content? The city has asked us about taking over the Cable Access
>> channel. I know the automation  system they have now plays Sony video
>> carts. It sounds like they don't have money to spend to update system and I
>> don't want to takeover a mechanical nightmare. A nice big RAID array of
>> videos would work nicely but it needs some scheduler, like Rivendell has.
>>
>> Bill Putney
>> District 2 Commissioner - Port of Port Townsend
>> Chief Engineer - KPTZ
>> El Jefe de Contenido - Port Townsend Film Festival
>> Private Pilot-Single Engine Land | Airframe & Powerplant / Inspection
>> Authorization
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>
>

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


Re: [RDD] Is There a Rivendell TV?

2020-09-04 Thread drew Roberts
Bill,

if what I have is good enough to fit your needs, I have rivendell "adapted"
to do video and will be happy to help you get it set up and going.

all the best,

drew


On Fri, Sep 4, 2020 at 1:44 AM Bill Putney  wrote:

> Probably not, but is there something like Rivendell to automate play out
> of video content? The city has asked us about taking over the Cable Access
> channel. I know the automation  system they have now plays Sony video
> carts. It sounds like they don't have money to spend to update system and I
> don't want to takeover a mechanical nightmare. A nice big RAID array of
> videos would work nicely but it needs some scheduler, like Rivendell has.
>
> Bill Putney
> District 2 Commissioner - Port of Port Townsend
> Chief Engineer - KPTZ
> El Jefe de Contenido - Port Townsend Film Festival
> Private Pilot-Single Engine Land | Airframe & Powerplant / Inspection
> Authorization
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


[RDD] rivjackglasscastnotes.txt

2020-08-15 Thread drew Roberts
Shawn,

I have been seeing a good amount of requests for help with rivendell (and
jack) and glassgui recently.

I am happy to help but decided it might be worth while trying to make some
simple notes to help others when my time is short or I am not available.

This should help you get rivendell to start jack:

https://github.com/zotz/drradioutils/blob/master/rivmisc/rivjackglasscastnotes.txt

There are other files in this github directory that will help with the
complete "system"

https://github.com/zotz/drradioutils/tree/master/rivmisc

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


Re: [RDD] Fwd: Rivendell 2.19.3 fails to load next day's logs

2020-07-14 Thread drew Roberts
Mike,

I could perhaps give some free tech support if you can get permission to
give me access to the machine(s)...

I usually do remote support via vnc over an ssh tunnel. Let me know how you
all do it if you want my help. (I can provide a phone number on request if
that would help.)

You might want to look at the last entry in the logs in rdlogmanager to see
if they contain a chain to the next day's logs...

all the best,

drew

On Tue, Jul 14, 2020 at 6:58 PM Mike Hodgkiss  wrote:

> Hello,
>
> I'm the Program Director for WITR, my university's student-run radio
> station. Usually our Chief Engineer would be doing this, but we're in the
> process of finding a new one after our previous one graduated.
> Administering Rivendell has thus fallen to me as my position was already
> tasked with maintaining the library, clocks, and grid.
>
> We use Rivendell 2.19.3 (yes I know it's out of date but I don't know how
> to update it) on CentOS 7-8.2003 and it's recently taken to dropping the
> logs every night at midnight. Normally it would automatically load the next
> day's logs but it just hasn't been. It doesn't crash or freeze, it just
> stops. This first started happening around June 8th and has been happening
> nearly every night since then at midnight Eastern. Since I'm on the other
> side of the country from our studios, I've had to use a VNC connection
> every night to manually load the next day's logs.
>
> Any insight you all may be able to provide into this issue (and possibly
> updating our Rivendell version) would be greatly appreciated and will save
> me from the fate of having to do this for the rest of the summer. My
> capabilities are limited to what a standard user can do. I do not have
> administrator privileges on our systems and only have limited sudo ability.
> Additionally, I am neither an engineer nor a programmer; while I have some
> understanding of the Linux terminal I can't do much more than a package
> update on Ubuntu. If this isn't something that can be fixed or explained
> easily please let me know and I'll try to get an actual engineer to do
> something about it.
>
> Thanks,
> --
> *Mike Hodgkiss*
>
> Program Director, WITR 89.7
>
> Office Phone: (585) 475-2000
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Now next data

2020-07-12 Thread drew Roberts
Rob,

On Sun, Jul 12, 2020 at 9:07 AM Rob Landry <41001...@interpring.com> wrote:

>
> Drew:
>
> No, the icecast server is not local; this box will be installed on someone
> else's network. It won't be possible to open a port on his firewall, nor
> does he want this machine visible from the public Internet.
>
> I have four Rivendell 2.x machines at other stations sending metadata to
> an Icecast server in Germany, and have never had problems with them. This
> is the first time I've tried doing it with RD 3.x.
>
> > /usr/bin/wget http://icecastserverip:icecastserverport/manualtest.html
>
> That gives me "connection refused".
>

I don't think that command is particularly metadata related...

In any case, if you have not gone to production yet, try breaking the
problem in two...

Do an extra send from one of your 2.x boxes to the new server and see if
that works.

Do a send from your 3.x box to a known working server and see if that works.

If you have to, set up a temporary server (perhaps even on a pi) to send to
from 2.x and 3.x

Are you sure the server is listening on the ip and port you are trying? Do
you have ssh access to the server?

all the best,

drew


>
> On the server in Germany I am using for my other stations, it gives me
> "ERROR 404: File Not Found." And metadata works there, so it looks like my
> client's service provider may not support streaming metadata.
>
> Thanks,
>
>
> Rob
>
> --
> Сквозь грозы сияло нам солнце свободы
> И Linus великий нам путь озарил;
> Нас вырастил Stallman на верность народу,
> На труд и на подвиги нас вдохновил.
>
> On Sun, 12 Jul 2020, drew Roberts wrote:
>
> > Rob,
> > it may show up in /var/log/icecast/access.log or error.log
> >
> > Is the icecast server local to the rivendell setup? (On the same
> > box/lan/subnet?)
> >
> > I make it a practice to only shout locally and then let a non-local
> icecast
> > server relay the local stream if I need a non-local server. (I had loads
> of
> > unreliability issues trying to shout at a distant server when I got in
> this
> > game and have seen no reason to try the other way as this way works for
> me.
> >
> > One thing you can also try is:
> >
> > where icecastserverip is the ip address of your icecast server
> > and icecastserverport is the port that the server listens on (often 8000)
> >
> > you should see something like this:
> >
> > /usr/bin/wget http://192.168.111.11:8000/manualtest.html
> > --2020-07-12 07:24:58--  http://192.168.111.11:8000/manualtest.html
> > Connecting to 192.168.111.11:8000... connected.
> > HTTP request sent, awaiting response... 404 File Not Found
> > 2020-07-12 07:24:58 ERROR 404: File Not Found.
> >
> > You should find evidence of this contact in the icecast
> server's access.log
> >
> > all the best,
> >
> > drew
> >
> >
> >
> > On Sat, Jul 11, 2020 at 2:16 PM Rob Landry <41001...@interpring.com>
> wrote:
> >
> >   And I'm trying to get pypad_icecast2.py to send data to an
> >   Icecast 2
> >   server, but it doesn't seem to get through. Will this show up in
> >   a system
> >   log somewhere?
> >
> >
> >   Rob
> >
> >   --
> >   Сквозь грозы сияло нам солнце свободы
> >   И Linus великий нам путь озарил;
> >   Нас вырастил Stallman на верность народу,
> >   На труд и на подвиги нас вдохновил.
> >
> >   On Fri, 10 Jul 2020, Harris, Don wrote:
> >
> >   > I have an RDS box that need to have the data sent to it via
> >   telnet. I've
> >   > been trying to use the pypad_udp but it doesn't seem to send
> >   the data
> >   > correctly, as in nothing happens to the RDS text. I can use a
> >   commandline
> >   > telnet connection to send the data but thought there's got to
> >   be a better
> >   > way. Is there?
> >   >
> >   > Thanks
> >   >
> >   >___
> >   Rivendell-dev mailing list
> >   Rivendell-dev@lists.rivendellaudio.org
> >   http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >
> >
> >
> > --
> > Enjoy the Paradise Island Cam playing
> > Bahamian Or Nuttin - https://www.paradiseislandcam.com/
> >
> >



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


Re: [RDD] Now next data

2020-07-12 Thread drew Roberts
Rob,

it may show up in /var/log/icecast/access.log or error.log

Is the icecast server local to the rivendell setup? (On the same
box/lan/subnet?)

I make it a practice to only shout locally and then let a non-local icecast
server relay the local stream if I need a non-local server. (I had loads of
unreliability issues trying to shout at a distant server when I got in this
game and have seen no reason to try the other way as this way works for me.

One thing you can also try is:

/usr/bin/wget http://icecastserverip:icecastserverport/manualtest.html

where icecastserverip is the ip address of your icecast server
and icecastserverport is the port that the server listens on (often 8000)

you should see something like this:

/usr/bin/wget http://192.168.111.11:8000/manualtest.html
--2020-07-12 07:24:58--  http://192.168.111.11:8000/manualtest.html
Connecting to 192.168.111.11:8000... connected.
HTTP request sent, awaiting response... 404 File Not Found
2020-07-12 07:24:58 ERROR 404: File Not Found.

You should find evidence of this contact in the icecast server's access.log

all the best,

drew



On Sat, Jul 11, 2020 at 2:16 PM Rob Landry <41001...@interpring.com> wrote:

>
> And I'm trying to get pypad_icecast2.py to send data to an Icecast 2
> server, but it doesn't seem to get through. Will this show up in a system
> log somewhere?
>
>
> Rob
>
> --
> Сквозь грозы сияло нам солнце свободы
> И Linus великий нам путь озарил;
> Нас вырастил Stallman на верность народу,
> На труд и на подвиги нас вдохновил.
>
> On Fri, 10 Jul 2020, Harris, Don wrote:
>
> > I have an RDS box that need to have the data sent to it via telnet. I've
> > been trying to use the pypad_udp but it doesn't seem to send the data
> > correctly, as in nothing happens to the RDS text. I can use a commandline
> > telnet connection to send the data but thought there's got to be a better
> > way. Is there?
> >
> > Thanks
> >
> >___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Now next data

2020-07-11 Thread drew Roberts
Don,

I would be happy to help more.

On Fri, Jul 10, 2020 at 3:35 PM Harris, Don  wrote:

> I was thinking along those lines but not being fluent in scripting, I
> chose to look for something already written.
>

I am not fluent myself, but by looking at what I am doing, I can likely
refresh my memory enough to get you some progress.


> I do have a tmp file that the info is going to but could use some guidance
> to move it along.
>

To make things as simple as possible while working on things I suggest you
write an extra file:

/home/rd/.sngdata

Sample (format from ours)

(Backyard Riddim)Bring Back The Old Days
Exec
MUSIC
Backyard Riddim

Title
Artist
Group
Album

This is a riv 2.x box I am looking at so this is the section of
filewrite that is creating it:

[File4]
Filename=/home/rd/.sngdata
Append=0
FormatString=%t\n%a\n%g\n%l\n
Encoding=0
MasterLog=Yes
Aux1Log=No
Aux2Log=No




>
> Drew, I was just looking for you on #rivendell-freenode but I don't see
> that channel there any longer.
>

It is on irc.freenode.net and the channels are:

#rivendell
#rivendell-chat


> I just wanted to follow up with the help you had given me earlier
> regarding my ASI sound card and glasscoder.
>

all the best,

drew


>
> ------
> *From:* drew Roberts 
> *Sent:* Friday, July 10, 2020 2:31 PM
> *To:* Harris, Don 
> *Cc:* Rivendell-Dev 
> *Subject:* Re: [RDD] Now next data
>
> What I have been doing is writing the now info to a file and then using a
> bash script to get it in the shape I want and then having the script call
> netcat to send it on to RDS...
>
> all the best,
>
> drew
>
> On Fri, Jul 10, 2020 at 2:41 PM Harris, Don  wrote:
>
> I have an RDS box that need to have the data sent to it via telnet. I've
> been trying to use the pypad_udp but it doesn't seem to send the data
> correctly, as in nothing happens to the RDS text. I can use a commandline
> telnet connection to send the data but thought there's got to be a better
> way. Is there?
>
> Thanks
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> <https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcaspian.paravelsystems.com%2Fmailman%2Flistinfo%2Frivendell-dev=02%7C01%7CDon.Harris%40usd.edu%7C713135de24e64dda636208d82507da2d%7C9c36a7d0bf7b49919b78be91a52f0226%7C0%7C0%7C637300062943462175=cPliDOH2skn4UgWQEQxhJZihimySWY6wDRE6R3bU8DU%3D=0>
>
>
>
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
> <https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.paradiseislandcam.com%2F=02%7C01%7CDon.Harris%40usd.edu%7C713135de24e64dda636208d82507da2d%7C9c36a7d0bf7b49919b78be91a52f0226%7C0%7C0%7C637300062943462175=ZhIqNExL0OC9qYsY%2ByrEC0BI1Oq%2BW6ebrqHkWzND%2FwY%3D=0>
>


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


Re: [RDD] Now next data

2020-07-10 Thread drew Roberts
What I have been doing is writing the now info to a file and then using a
bash script to get it in the shape I want and then having the script call
netcat to send it on to RDS...

all the best,

drew

On Fri, Jul 10, 2020 at 2:41 PM Harris, Don  wrote:

> I have an RDS box that need to have the data sent to it via telnet. I've
> been trying to use the pypad_udp but it doesn't seem to send the data
> correctly, as in nothing happens to the RDS text. I can use a commandline
> telnet connection to send the data but thought there's got to be a better
> way. Is there?
>
> Thanks
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Streaming clients

2020-06-19 Thread drew Roberts
Lorne,

just a quick question to try and help Mike to avoid wasting a lot of time.

Are you using jack? If so, are you letting Riv run jack as root as it likes
and somehow getting liquidsoap to run as root? Or are you making Riv run
jack as another user and letting liquidsoap run as the same user?

all the best,

drew

On Fri, Jun 19, 2020 at 3:12 PM Mike Cox  wrote:

> Thanks Lorne
> Our streaming server uses LS built into Azuracast. I'm not sure about
> setting it up manually though.
> As I come from Ubuntu land I'm more used to things just working :)
>
> Drew has helped guide me with Jack and that works nicely. Glasscoder did
> work nicely but seems to crash a lot.
>
> I'll see if I can work out how to get LS working.
>
> Thanks for your help.
>
> Mike
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> 
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
> See our payment options and pay online by clicking here Pay online
>
> --
> *From:* Lorne Tyndale 
> *Sent:* Friday, June 19, 2020 8:05:13 PM
> *To:* Mike Cox ;
> rivendell-dev@lists.rivendellaudio.org <
> rivendell-dev@lists.rivendellaudio.org>
> *Subject:* RE: [RDD] Streaming clients
>
> Mike,
>
> Check out Liquidsoap.  It works extremely well, has been my go-to
> streaming client for years.
>
> I like it because in addition to just streaming, you can have it do
> processing on the fly.  It can also generate multiple streams using
> different codecs and bitrates all at the same time.  As an example I
> have one station that streams the following bitrates, all coming from a
> single instance of Liquidsoap.
>
> 32k AAC
> 64K AAC
> 96K AAC
> 96K MP3
> 128K AAC
> 128K MP3
> 192K AAC
> 192K MP3
> 256K AAC
> 256K MP3
> 320K AAC
> 320K MP3
>
> Lorne Tyndale
>
> >
> >
> > Hi all
> >
> > Can anyone let me know what streaming client they are using to send to
> > Icecast from Centos 7?
> >
> > I have been trying Glasscoder but it only runs for a while then crashes
> > (see earlier thread). I normally use BUTT but it doesn't seem to be
> > available on Centos.
> >
> > I'm running Centos 7 with Rivendell and JACK. I just need something to
> > stream my audio to Icecast without having to take the audio out as
> > analogue and feed it into an Ubuntu box so I can use BUTT.
> >
> > Many thanks everyone.
> >
> > Mike
> >
> > --
> >
> > 
> >
> > Mike Cox
> > Managing Director
> > The Rosetta Group Ltd
> >
> > Email: mike@rosetta.group
> > Website: www.rosetta.group
> > Phone: 01983 229 229
> >
> > 
> >
> > Have a look at our new cloud phone system at www.rosettatelecom.com
> > 
> >
> > Pay us by direct debit by clicking this button
> >  >___
> > 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
>


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


[RDD] Report of trouble (re) subscribing to list...

2020-06-18 Thread drew Roberts
Just saw this on the Riv FB group:

"After more than a decade of being subscribed to rivendell-dev, I seem to
have fallen off the list. My couple of attempts to resubscribe have so far
dead-ended.

Any Paravel-affiliated parties happen to be hanging around this group? If
so, I could really use some help with this"


Is anything odd going on?

I am trying to help out.

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


Re: [RDD] Idiots guide to getting JACK audio running.

2020-05-26 Thread drew Roberts
Andrew,

I am doing this from memory but try the following as an alternative to your
jack line in rdadmin:

jackd -R -d dummy -r 48000

then ps ax | grep jackd should show something like:

$ ps ax | grep jackd
 4243 pts/4SLl+   0:00 jackd -R -d dummy -r 48000
 4262 pts/19   S+ 0:00 grep --color=auto jackd

but not quite as I started that jack from my user terminal but Rivendell
will start jack as root on startup.

On Mon, May 25, 2020 at 8:09 PM Andrew Pepper  wrote:

> Hi,
> I'm trying to get Jack audio working and I'm looking for a step by step
> guide. I've done lots of searches but not found somewhere that seems
> complete.
> I'm starting jackd from RDAdmin->Manage Hosts->Jack Settings using the
> command jackd -R -d alsa -d hw:0 -r 48000
> if I do a ps -ax |grep jackd it seems to be running as I get the following
> response.
> rd2465  0.0  0.0 112812   972 pts/0S+   19:19   0:00 grep
> --color=auto jackd
>

As someone else explained, this means jackd is not running if this is all
you get.

>
> But if I open stereo tool it does not seem to be able to find jackd. Both
> jackd & stereo tool are running under the user 'rd'.
>

In light of what I have written above, if you start stereotool as rd and
not as root, it still will not see jack even though it is running.


> I have a M Audio Delta410 and followed the instructions here
> http://wiki.rivendellaudio.org/index.php/Delta_1010LT.
>

So far, I have been dealing with a dummy sound card to let you test certain
things without worrying about the sound card issues at all.

To get your desired card back for jack use, you most likely have to run
rdalsaconfig (or has it changed? memory does not serve, my 3.x
test/learning box is not booted up right now) and deselect it.

Switch back from my dummy line to your alsa line and try again.


> If I try and manually start jackd using QjackCtl I get the error message
> saying that hw0 is already in use and cannot start. Not sure if this
> because it's already running or one of the rivendell processes has it.
>

If you want to use qjackctl in your final setup, you will want to run it as
root as well... (If you are on a centos7 install that is, which all of this
is assuming) Pretty much everything jack *and* rivendell related must be
run as root so they can see and interact with each other.


> Can anyone point me to somewhere that has a good guide to get jack running
> on centos7 & Rivendell 3.4?
>

Nope, but if you come to #rivendell on freenode irc, you may find someone
willing to walk you through a setup interactively.

>
> TIA
> Andrew
>
> 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


Re: [RDD] Samba Shares for Importing

2020-05-15 Thread drew Roberts
Chris...

On Fri, May 15, 2020 at 6:21 AM Sojo Gold  wrote:

> Hi,
>
> I built Rivendell on an 160Gb SSD, for learning and testing, two questions
> are:
>
>1. What is the better choice, an additional internal Library HDD or
>just one single huge HDD for Linux and Library.
>
> I like /var/snd to be its own mount point on its own partition/disk.


>
>1. Can Rivendell use a networked share as the Library.
>
>
Yes. It can use an NFS share. Don't try a samba share unless someone way
more than I am explains what changed for Fred's advice to change.

>
>1.
>
> Sorry I haven't drilled the lists for the answer to question 2 yet.
> Thanks
> Chris Perkins
>


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


Re: [RDD] last steps of Rivendell 3 install

2020-05-14 Thread drew Roberts
You might want to leave:


*root@localhost*
as is in that line or at least do it twice, once with your adjustment and
once like I suggest. Your box should always be localhost besides whatever
else it is... (In general terms, not in Riv terms.) (That may be ignorant
advice.)

all the best,

drew

On Thu, May 14, 2020 at 4:18 PM Simon Frech  wrote:

> I finally managed to install CentOS and Rivendell 3 according to the
> instructions at
> http://static.paravelsystems.com/rivendell-install-rd3/rivendell-install-rhel7.html
> It looks good, very familiar, I haven’t yet got to the point of actually
> using it or setting up beyond installation.
>
> I named the host simonserver, so in the terminal I'm logged in as
> root@simonserver.
>
> The last instruction in Final Steps is baffling to me.
> 4. Set the MariaDB administrator password with the following command
> (substitute your password for *pwd*):
>
> *echo "SET PASSWORD FOR root@localhost = PASSWORD('pwd');" | mysql -u root*
> I entered *echo "SET PASSWORD FOR root@simonserver = PASSWORD(‘k258bq');"
> | mysql -u root*
> but now the Terminal just displays the > below my entry. I must have
> misunderstood.
>
> What am I doing wrong?
>
> The instructions are really good, but I’m misreading something.
>
> Thanks,
>
> Simon
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Glasscoder/GlassGUI

2020-05-08 Thread drew Roberts
Don,

I would be happy to help later in the day when I get a spare moment... If
you can come into #rivendell irc channel on freenode and look for zotz, we
can at least make more interactive contact.

all the best,

drew

On Fri, May 8, 2020 at 9:54 AM Harris, Don  wrote:

> I've been trying to get GlassCoder running on Centos 7 and I'm having no
> luck. I also cannot seem to find an install available for GlassGUI. I've
> set this up on Centos 6 with 2.19.3 in the past and now that I'm trying to
> get V3 up and running I'm going to want to send the stream to our stream
> provider. I could use a little guidance. Thank you.
>
> Don
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


[RDD] [OT] Video stream relay to / from restream.io -> twitch/fb/YT/etc.

2020-05-08 Thread drew Roberts
Mike,

(This is directed at Mike but I am sending this Off Topic post to Riv as I
am hoping some of you may know something in this area as well.)

Background:

I live in the Bahamas. Small island life can have a certain set of
challenges that do not seem to be publicly considered by tech leading
nations.

I got into shoutcast/icecast streaming of radio stations many years ago. We
have always used a stream host in another country as bandwidth has always
been very expensive here. (I did mess around with various peercast
technologies back in the day.)

Trying to "shout" directly to the server in another country was never
reliable for me. Early on, I hit on the idea of shouting at a server either
on the same machine or at least on the same subnet on the local lan. I
would then let the server in the other country reach back to this local
server and pick up and then relay the stream. This was always much more
reliable and hassle free.

We are now trying to get a bit more fancy with our video / tv streaming and
I think the same issue is biting me again.

Trying to send direct to twitch/youtube/facebook or to restream.io and let
them send to twitch/youtube/facebook works just fine until it decides not
to.

I am thinking the solution in this case may be similar to what I have been
doing for many years now with audio.

I am looking for someone to talk this over with.

I know enough to send to a local nginx/rtmp server... I don't know how to
get restream.io (for example) to pick that stream up... (Do I really need
another server in a far country, which I control, to pick up the stream
rfom the local server and send on to restream.io or wherever?

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


Re: [RDD] Rivendell video?

2020-05-02 Thread drew Roberts
Mike,

depending on your exact needs, I know how to do what you speak of with
Rivendell and vlc for a certain subset of what Rivendell does with audio.

all teh best,

drew

On Sat, May 2, 2020 at 4:07 PM Mike Cox  wrote:

> Not really on topic, sorry, but has anyone found a RD equivalent for video
> clips?
> I need to stream a sequence of videos just like RD does with audio carts.
> Any pointers would be appreciated.
>
> Mike
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> 
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
> See our payment options and pay online by clicking here Pay online
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] RDAirPlay Command Line options?

2020-04-27 Thread drew Roberts
Phil,

On Mon, Apr 27, 2020 at 11:30 AM Phil Biehl  wrote:

> Thanks for the clarification David. Since there are no command line
> options for RDAirPlay then let me be more specific in what I’m looking for.
> I have a fully automated application where I would like to have RDAirPlay
> start playing the current log at startup. This is to recover from a power
> failure.
>
> Is there a way to do this?
>

Yes, there is a way to do this, or to get close enough to doing it what we
are happy with the results.

Back in January I asked for help in getting my 2.x aolution updated for 3.x:

http://caspian.paravelsystems.com/pipermail/rivendell-dev/2020-January/028507.html

I don't have time to give more helpful advice right now, hopefully someone
else will be able to make it easy for you, if not, hopefully following that
thread will give you what you need. If not, look for me later.

all the best,

drew

>
> Phil
>
> > On Apr 27, 2020, at 6:21 AM, David Klann  wrote:
> >
> > Hi Phil,
> >
> >> On 4/26/20 11:43 PM, you wrote:
> >> I’ve been looking for something that describes command line options for
> the various RD programs , especially RDAirPlay, but have had limited
> success. Is there someplace I can look to find these options for RDAirPlay
> and others?
> >> Thanks
> >> ___
> >> Rivendell-dev mailing list
> >> Rivendell-dev@lists.rivendellaudio.org
> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >
> > The source code is the definitive place to discern command line options.
> You can also try "man " to see if there's a manual page for
> the command (spoiler, there isn't one for rdairplay).
> >
> > For those who haven't navigated the source code, here's a brief
> introduction. Rivendell is primarily written in the language C++. Most of
> the stand-alone apps are in their own subdirectory of the top-level source
> code "tree" (e.g., "rdairplay/"). The "main" subroutine (its name is
> actually "main" and it is the one in which command line options are
> handled) is in a file with a base name the same as the subdirectory (e.g.,
> "rdairplay/rdairplay.cpp"; "cpp" is the extension for C++ source code
> files).
> >
> > When you view the file (using your favorite text file viewer or editor,
> or just browsing it on GitHub [
> https://github.com/ElvishArtisan/rivendell/blob/master/rdairplay/rdairplay.cpp]),
> look for "RDCmdSwitch", this is the C++ object that is used to interpret
> and act on command line switches. After locating that string in the file,
> scroll down to see all the switches and the code that deals with them.
> >
> > RDAirPlay and most of the other GUI Rivendell apps accept no command
> line switches. RDLogManager is one of the notable exceptions. The CLI-only
> commands (like RDImport) are located in the utils/ subdirectory. RDImport
> is a good example of a command that has a ton of command line switches and
> also has a thorough manual page explaining all of them).
> >
> > Hope this helps!
> >
> > --
> >  ~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
>


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


Re: [RDD] SAS USI driver - user error, or...?

2020-04-26 Thread drew Roberts
Keith,

this is a very ignorant attempt to be of some help.

You write:

"(ie "GO 0 O 1 1 0!" doesn't turn on relay 1)."

is that intended? ie: GO zero Oh one one zero bang?

Also, in one of my scripts in the area I have:

rmlsend ST\ 0\ 0\ 1\!

Is it possible you need to use the \s where you are working with this?

all the best,

drew

On Sat, Apr 25, 2020 at 10:32 PM Keith Thelen  wrote:

> So, full disclosure, I’ve never tried to make an SAS router talk to
> Rivendell before. It’s entirely possible I’ve failed to configure something
> correctly - but for the life of me, I can’t determine what.
>
> Current Appliance build (CentOS 7, Rivendell 3.3.0).
> Accessing the SAS Server Module via IP - it's listening for USI commands
> on port 1350.
>
> The router has been added in RDAdmin as an “SAS USI” device under
> “Switchers GPIO” as matrix 0 (the only one on this system), with the
> correct numbers of sources, destinations, GPIs, and GPOs specified. When I
> clicked “Configure Inputs” or “Configure Outputs”, the source/destination
> alphas from the router appeared, so I knew it was communicating.
>
> I verified that I can send switcher crosspoint commands successfully (ie.
> "ST 0 1 13!" will indeed route source 1 to destination 13). But if I try to
> fire a relay, no joy (ie "GO 0 O 1 1 0!" doesn't turn on relay 1).
>
> Likewise, nothing lights up in RDGpiMon regardless of the state of the
> optos/relays on the router. This is what I was really after, as my first
> goal was to fire carts in RDAirplay using buttons on an SAS control surface.
>
> If I look at /var/log/rivendell/operations after sending an ST, I see the
> RML command being received, a USI command being generated, and USI feedback
> being received. After sending a GO, though, all I see is the RML command
> being received - no related USI commands or feedback appear in the log.
>
> Any idea where I might be going wrong?
>
>
>
> -
> Keith Thelen
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] PyPad configuration to send Now to Icecast

2020-04-25 Thread drew Roberts
I have no idea if it is related, but I found I could only configure one
"thing" per config file even though it indicated I could do multiple.

all the best,

drew

On Sat, Apr 25, 2020 at 4:04 PM Andrew Pepper  wrote:

> I just migrated my system onto a new server (I moved /var/snd and
> backup/restore dB) and I am getting the following errors when trying to
> configure PyPad to send the Now& Next track info to Icecast. Any idea what
> I'm missing ?
>
> Traceback (most recent call last):
>   File "/usr/lib64/rivendell/pypad/pypad_icecast2.py", line 83, in 
> rcvr.setConfigFile(sys.argv[3])
>   File "/usr/lib64/python3.6/site-packages/pypad.py", line 836, in
> setConfigFile
> db=self.__openDb()
>   File "/usr/lib64/python3.6/site-packages/pypad.py", line 787, in __openDb
> creds=self.__getDbCredentials()
>   File "/usr/lib64/python3.6/site-packages/pypad.py", line 782, in
> __getDbCredentials
> config.readfp(open('/etc/rd.conf'))
>   File "/usr/lib64/python3.6/configparser.py", line 763, in readfp
> self.read_file(fp, source=filename)
>   File "/usr/lib64/python3.6/configparser.py", line 718, in read_file
> self._read(f, source)
>   File "/usr/lib64/python3.6/configparser.py", line , in _read
> raise e
> configparser.ParsingError: Source contains parsing errors: '/etc/rd.conf'
> [line 172]: ',\n'
>
> Thanks,
> Andrew
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


[RDD] Openonb 2 way versus linphone latency.

2020-04-17 Thread drew Roberts
Hi,

we are experimenting with doing remote voice tracking for Rivendell.

I have a test setup that is as close to my planned deployment setup as I
can get right now:

A Rivendell box running centos 7 and rivendell 3.2.1
A Raspberry Pi4 running Raspbian GNU/Linux 10

They are on the same switch very near each other and are connected together
audio wise like this:

Riv box onboard sound card
Pi4 usb UCA 222 wired up inputs to outputs

The Riv box is configured to use the alsa driver as the input and output
for rdlogedit.

The Pi is running jack using the dummy driver and zita bridges for the uca
222. (IIRC, I tried direct use of the USB codec and had more issues)

Jack Mixer is running to do routing and amplification as needed.

I could not find a voip phone that would work with jack so I am using
linphone with the pulseaudio-module-jack.

Using ssh tunnels with port forwarding to get toe the desktops of the Pi
and the Riv box.

After making all of the needed connections in the jack graph on the pi 4
and setting the linphone on the pi 4 to auto answer, we have a working
"system"

vnc to the Riv box (and the Pi if you like or want to tune volumes) and
bring up rdlogedit. Choose a lof that needs voice tracking and click the
button.

Dial the number/account for the liniphone on the pi4.

Start voice tracking. it works. (Mostly good enough. Latency wise. You can
slide things around to adjust. It is not bad.) it is the quality of the
vocal that out "ears" guy is not fully satisfied with. It will do in a
pinch but we would like to achieve better if we can get close to the same
latency with openob.

Moved on to try and replace the linphone link with a 2 way openob link over
openvpn. Latency was much worse and sound was "breaking up"...

I may have had problems with how I brought up the links.
The Pi4 may have been causing issues.
My network may have been less than perfect... ~;-)

Decided to move the testing location to the real location which is on
business fiber and not a home cable modem. Nook takes the place of the PI4.
Riv server is there but the nook and hte riv box are not wired up to allow
for the full test. I think I can fake enough on the nook to get a decent
test though.

On the far end, (same location) instead of a linphone call from a mac, we
have jack and openob on another nook running openvpn.

First the nook next to the Riv Box:

obuser@obstl01:~$ ps ax | grep openob
10773 pts/15   SLl+  23:09 /usr/bin/python3 /usr/local/bin/openob 10.8.0.1
ntest-rx-node rem2shk-link rx -a jack -jn openobshackrx -aj -jp
jack_mixer:frmShk
10784 pts/7SLl+  35:25 /usr/bin/python3 /usr/local/bin/openob 10.8.0.1
stest-tx-node shk2rem-link tx -a jack -jn openobshacktx -aj -aj -jp
jack_mixer: 10.8.0.4 --framesize 2 -j 10 --fec -b128

Now the nook at the "remote" site:

obuser@obstl02:~$ ps ax | grep openob
 8769 pts/2SLl+  62:32 /usr/bin/python3 /usr/local/bin/openob 10.8.0.1
ntest-rx-node shk2rem-link rx -a jack -jn openobnookrx -aj -jp
jack_mixer:frmShk
10740 pts/6SLl+  43:10 /usr/bin/python3 /usr/local/bin/openob 10.8.0.1
ntest-tx-node rem2shk-link tx -a jack -jn openobnooktx -aj -jp
jack_mixer:toShk 10.8.0.1 -e opus -b128 --framesize 2 -j 10 --fec

Could not get good latency. Help. I have reduced my frames per period on
both sides to see if that helps but have not been able to retest yet. Does
anyone see any glaring problems in my openob invocations at each end?
Should I reduce the quality of the Music link as that does not matter so
much for this application and leave the quality of the vocal link higher as
that is the point of trying this versus linphone?

Any other thoughts?

Does openob keep statistics on itself and its links in the redis server and
if so, can we get reports of the situation?

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


Re: [RDD] Traffic import 'Rivendell Standard import"

2020-04-04 Thread drew Roberts
Peter,

you can find what you are looking for here:

https://github.com/ElvishArtisan/rivendell/blob/ba501b02598802fc8aa30ecebb2ea0a86e116537/utils/rddbmgr/create.cpp

  sql=QString("insert into IMPORT_TEMPLATES set ")+
"NAME=\"Rivendell Standard Import\","+
"CART_OFFSET=10,"+
"CART_LENGTH=6,"+
"TITLE_OFFSET=25,"+
"TITLE_LENGTH=34,"+
"HOURS_OFFSET=0,"+
"HOURS_LENGTH=2,"+
"MINUTES_OFFSET=3,"+
"MINUTES_LENGTH=2,"+
"SECONDS_OFFSET=6,"+
"SECONDS_LENGTH=2,"+
"LEN_HOURS_OFFSET=60,"+
"LEN_HOURS_LENGTH=2,"+
"LEN_MINUTES_OFFSET=63,"+
"LEN_MINUTES_LENGTH=2,"+
"LEN_SECONDS_OFFSET=66,"+
"LEN_SECONDS_LENGTH=2,"+
"DATA_OFFSET=69,"+
"DATA_LENGTH=32";
  if(!RDSqlQuery::apply(sql,err_msg)) {
return false;
  }

The other traffic systems options are in there as well...

all the best,

drew


On Fri, Apr 3, 2020 at 6:15 PM Peter Claes  wrote:

> Hey Guys,
>
> What would be the scheme for the 'Rivendell Standard Import' ?
>
> I found an old scheme in the docs called Rivendell Standard Data
> Interchange Formats', but i guess this isn't valid.
>
> Since I am in Lockdown, and boredom has gotten the upperhand, i figured
> now would be the time to make a python based traffic scheduler. And it
> works great, I use 2 txt files, one to describe general config and on to
> describe all the campaigns and spots.
>
> But the outputfile doesn't seem accurate :
> HH:MM:SS 00_000 \t \t Title
> (found this in AdMaster as 'Rivendell standard ??)
>
> Regards
> Peter
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Traffic import 'Rivendell Standard import"

2020-04-04 Thread drew Roberts
Peter,

here is a link to my github feature request around this:

https://github.com/ElvishArtisan/rivendell/issues/559

all the best,

drew

On Fri, Apr 3, 2020 at 6:15 PM Peter Claes  wrote:

> Hey Guys,
>
> What would be the scheme for the 'Rivendell Standard Import' ?
>
> I found an old scheme in the docs called Rivendell Standard Data
> Interchange Formats', but i guess this isn't valid.
>
> Since I am in Lockdown, and boredom has gotten the upperhand, i figured
> now would be the time to make a python based traffic scheduler. And it
> works great, I use 2 txt files, one to describe general config and on to
> describe all the campaigns and spots.
>
> But the outputfile doesn't seem accurate :
> HH:MM:SS 00_000 \t \t Title
> (found this in AdMaster as 'Rivendell standard ??)
>
> Regards
> Peter
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Traffic import 'Rivendell Standard import"

2020-04-04 Thread drew Roberts
Peter,

I don't have the answer for you...

I am also in lockdown. If you want to come to #rivendell on freenode IRC,
perhaps we can hash out the answer...

I am going to open a feature request on github so that, if implemented, we
may never need to ask this sort of question again...

all the best,

drew


On Fri, Apr 3, 2020 at 6:15 PM Peter Claes  wrote:

> Hey Guys,
>
> What would be the scheme for the 'Rivendell Standard Import' ?
>
> I found an old scheme in the docs called Rivendell Standard Data
> Interchange Formats', but i guess this isn't valid.
>
> Since I am in Lockdown, and boredom has gotten the upperhand, i figured
> now would be the time to make a python based traffic scheduler. And it
> works great, I use 2 txt files, one to describe general config and on to
> describe all the campaigns and spots.
>
> But the outputfile doesn't seem accurate :
> HH:MM:SS 00_000 \t \t Title
> (found this in AdMaster as 'Rivendell standard ??)
>
> Regards
> Peter
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] EVENT.FIRST_TRANS_TYPE Purpose

2020-04-04 Thread drew Roberts
Totally from the hip and from an ignorant stance, but could it be related
to this:

http://caspian.paravelsystems.com/pipermail/rivendell-dev/2020-March/028836.html

all the best,

drew

On Thu, Apr 2, 2020 at 12:26 PM Patrick Linstruth 
wrote:

> I did a grep on 'firstTransType' and this is all that comes up:
>
> ./lib/rdevent_line.cpp:RDLogLine::TransType RDEventLine::firstTransType()
> const
> ./lib/rdevent.cpp:RDLogLine::TransType RDEvent::firstTransType() const
> ./rdlogmanager/edit_event.cpp:
> event_transtype_box->setCurrentItem(event_event->firstTransType());
> ./rdlogmanager/edit_event.cpp:
> event_firsttrans_box->setCurrentItem(event_event->firstTransType());
>
> Does anyone know what 'EVENT.FIRST_TRANS_TYPE' is/was used for because it
> looks like it isn't used anywhere.
>
> Patrick
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Loading Logs

2020-04-01 Thread drew Roberts
Lorne,

On Wed, Apr 1, 2020 at 11:18 AM Lorne Tyndale 
wrote:

> Years ago Wayne Merricks put together a script which almost did this.
> It has rdairplay load the day's log and skip to the cart that should be
> playing based on the time of day.  It is meant for those times when the
> system reboots unexpectedly and such.  Here's the link:
>
>
> http://caspian.paravelsystems.com/pipermail/rivendell-dev/2015-November/023621.html


I think you can find updated posts on th elist that discuss the changes
needed to get this to work for 3.x code.

all the best,

drew

>
>
> Lorne Tyndale
>
> >
> > I have a question. When loading a log in rdairplay, one must manually
> scroll down to the current hour in order to start the log at the current
> time. How would everyone feel about the log automatically scrolling down
> the current hour when loading a log? Should the log panel stay at the top
> of the log as it does now? Should it only auto scroll upon load if the Hour
> Selector is enabled?
> >
> > Patrick
> >
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] RdAirplay Play Error

2020-04-01 Thread drew Roberts
Chuck,

One thought on a different workflow that may sneakily get around the
problem...

Let's say we are working with cart 123456, cut 001 so we have file
123456_001.wav in /var/snd

Instead of using rdlibrary to copy cut 001 and paste to cut 002 putting a
copy of 123456_001.wav in 123456_002.wav into /var/snd and hopefully
showing up correctly in rdlibrary and then your process, let's try this:

Import some random audio to cart 123456 cut 2. This puts that random audio,
unrelated to cart 123456 into the cart as cut 2 and into /var/snd as
123456_002.wav.

Now, make a copy of 123456_001.wav, make the edits you want, export to
/var/snd/123456_002.wav and reopen in rdlibrary.

Or, copy 123456_001.wav over 123456_002.wav and proceed from that point as
per your normal routine.

Alternate editors...

Many years ago, I used something called rezound a good bit for hobby work.
I seem to remember something called sweep.

Some quick repo searches shows:

kwave - sound editor for KDE
mhwaveedit - Simple and fast GTK2 sound editor
snd-gtk-pulse - Sound file editor (GTK+ user interface - PulseAudio)
sweep - Audio editor and live playback tool

Since you mention trying ardour, there is also:

traverso - Multitrack audio recorder and editor
qtractor - MIDI/Audio multi-track sequencer application
ecasound - multitrack-capable audio recorder and effect processor
lmms - Linux Multimedia Studio


Also:

cecilia - Sound synthesis and audio signal processing environment
rosegarden - music editor and MIDI/audio sequencer

all the best,

drew


On Tue, Mar 31, 2020 at 11:16 PM Chuck  wrote:

> On Tu, 2020-03-31 at 16:45 -0400, drew Roberts wrote:
> > So...
> >
> > On Tue, Mar 31, 2020 at 11:39 AM Chuck 
> > wrote:
> > >   Here are my steps.
> > >
> > >   Open a cart in RDLibrary.  Highlight Cut 1; touch Copy; touch
> > > Add;
> > > highlight the new Cut 2; touch Paste.  It is at this point that the
> > > track appears, but often shows 0:00 length and when trying to open
> > > with
> > > Edit Markers, the 'no audio in this cut' warning appears.  However,
> > > the
> > > track has ALWAYS been placed in the audio store drive, just not
> > > recognized as there by RDLibrary.
> >
> > So, this is the only point where the problem occurs? Once you make it
> > past this hurdle you are golden? <
>
>   Yes.  If the track does not appear after Paste with a length of 0:00,
> then I am golden.
>
>   Again, I was on 2.10.2 for a long time and never had this mysterious
> problem.  It reared its head when I upgraded to 2.10.3.
>
> > If so, have you tried deleting the second cut and pasting again (in a
> > loop) until it shows up? Or once it fails the first time, will it
> > fail from then on? <
>
>   I have tried that repeatedly; if the boot has this problem once, it
> will do it every time.  If the boot does not have the problem, it is
> not a factor until another reboot.  After each reboot, it seems random
> whether this problem exists or not.
>
> > >   If the copy is successful, then I open the properly numbered _002
> > > file from the audio store in Audacity.  Perform the needed
> > > changes.
> > > Normalize to -13.  Export back to the audio store, overwriting the
> > > _002
> > > file.
> >
> > This is the point I thought the problem might be happening, when the
> > audio file Rivendell "knows" about gets changed out from under it. <
>
>   If Rivendell sees the cut properly, I can do anything to it and
> return it to the audio store--including changing length--and there are
> no problems.  When I open such a successful cut with Edit Markers, it
> automatically regenerates the proper time, if it changed, and
> everything in Rivendell works normally with that cut.
>
> > >   I have tried exporting to a WAV file and importing as Cut 2,
> > > however
> > > that process is destructive.  Only if I export directly back to the
> > > audio store, does quality remain high.
> >
> > Do you have a working theory as to why this is so? Is any part of
> > your workflow not in the digital realm?
>
>   All digital.  My intuition is that the actual Rivendell import is
> slightly destructive, as there is no discernible quality reduction if I
> put the exported WAV into an audio store cut that RDLibrary already
> recognizes--I am guessing that with 2 slightly destructive processes
> (Audacity plus RD import) the quality loss becomes noticeable.
>
> > If you export to a wav that is not in the audio store, and play that
> > with something like vlc, is the quality degraded?
>
>   From changes made with Audacity?  Yes.  There is a slight quality
> 

Re: [RDD] RdAirplay Play Error

2020-03-31 Thread drew Roberts
So...

On Tue, Mar 31, 2020 at 11:39 AM Chuck  wrote:

>   Here are my steps.
>
>   Open a cart in RDLibrary.  Highlight Cut 1; touch Copy; touch Add;
> highlight the new Cut 2; touch Paste.  It is at this point that the
> track appears, but often shows 0:00 length and when trying to open with
> Edit Markers, the 'no audio in this cut' warning appears.  However, the
> track has ALWAYS been placed in the audio store drive, just not
> recognized as there by RDLibrary.
>

So, this is the only point where the problem occurs? Once you make it past
this hurdle you are golden?

If so, have you tried deleting the second cut and pasting again (in a loop)
until it shows up? Or once it fails the first time, will it fail from then
on?

>
>   If the copy is successful, then I open the properly numbered _002
> file from the audio store in Audacity.  Perform the needed changes.
> Normalize to -13.  Export back to the audio store, overwriting the _002
> file.
>

This is the point I thought the problem might be happening, when the audio
file Rivendell "knows" about gets changed out from under it.

>
>   I have tried exporting to a WAV file and importing as Cut 2, however
> that process is destructive.  Only if I export directly back to the
> audio store, does quality remain high.


Do you have a working theory as to why this is so? Is any part of your
workflow not in the digital realm?

If you export to a wav that is not in the audio store, and play that with
something like vlc, is the quality degraded?



>   When that exported Cut is
> opened again in RDLibrary, the time is updated if changed, and I always
> double-check the markers, anyway.
>
>   There is still a bit of quality loss and the noise floor is raised by
> using Audacity, because it converts into and out of it's own format.
> If I am just shortening a track (we have a 6:30 time limit on all
> songs,


How do you shorten you songs? (Not germane to the issue, just wondering.)


> so the ID always makes it within the legal time limits), I use
> the WAV editor in Exact Audio copy which is not destructive.  That
> editor is very hard to work with, though, as the interface is not very
> helpful.
>

Do you have access to any other programs that wan work with your wav files?
Similar results or?


>
>   So the copy process is done by RDLibrary, editing by external
> software, then the finished product returned directly back to the audio
> store.
>

Right, that is where I thought your problem might be occurring but, iiuc,
it is happening before that.

>
>   I changed my methods a bit to cope with this problem.  Instead of
> operating on the copied track, I now edit the original Cut 1 track,
> considering that the pasted-but-disabled track can suffice as the
> original untouched track, and hope that one day the cause of this
> problem will be identified and somehow all those supposedly non-
> existent tracks that now litter the audio store can be re-recognized.
>
>   Hope that explains.
>

I am still not certain, but it is much clearer...

>
> --Chuck
>
> On Mo, 2020-03-30 at 20:06 -0400, drew Roberts wrote:
> > Chuck,
> >
> > I am asking for a bit of clarification and, if I am reading your
> > process right, I have a suggestion for an alternative process that
> > may make a difference.
> >
> > On Mon, Mar 30, 2020 at 4:44 PM Chuck 
> > wrote:
> > >   This sounds like a problem I had way back with v2.10.3, which
> > > Cowboy
> > > said he also encountered in later versions.  It's a file that
> > > actually
> > > exists in the audio store, but which the Library and AirPlay say
> > > does
> > > not contain audio.
> > >
> > >   Here was my experience.  There are some songs that I want to do
> > > things to--like add reverb to the last note that might end in a way
> > > that makes it sounds chopped, or raise the volume on a fade-out to
> > > keep
> > > the level up until the desired segue point.  In the library, I
> > > would
> > > copy cut 1 and paste to a new cut 2,
> >
> > I just went into my 3.x rdlibrary and did this for a test cart.
> >
> > > operate on cut 2 to achieve the
> > > desired result,
> >
> > Where / how are you doing this? Somewhere in rdlibrary? Or with an
> > audio editor "behind Rivendell's back" as it were? I am guessing the
> > latter.
> >
> > > then weight the original cut 1 to zero so it never
> > > played, but preserving that original track.
> >
> > If I am guessing correctly, the second cut has been altered and
> > rivendell did not do the altering.
> >
> > (I can't recall if I h

Re: [RDD] RdAirplay Play Error

2020-03-30 Thread drew Roberts
Chuck,

I am asking for a bit of clarification and, if I am reading your process
right, I have a suggestion for an alternative process that may make a
difference.

On Mon, Mar 30, 2020 at 4:44 PM Chuck  wrote:

>   This sounds like a problem I had way back with v2.10.3, which Cowboy
> said he also encountered in later versions.  It's a file that actually
> exists in the audio store, but which the Library and AirPlay say does
> not contain audio.
>
>   Here was my experience.  There are some songs that I want to do
> things to--like add reverb to the last note that might end in a way
> that makes it sounds chopped, or raise the volume on a fade-out to keep
> the level up until the desired segue point.  In the library, I would
> copy cut 1 and paste to a new cut 2,


I just went into my 3.x rdlibrary and did this for a test cart.


> operate on cut 2 to achieve the
> desired result,


Where / how are you doing this? Somewhere in rdlibrary? Or with an audio
editor "behind Rivendell's back" as it were? I am guessing the latter.


> then weight the original cut 1 to zero so it never
> played, but preserving that original track.


If I am guessing correctly, the second cut has been altered and rivendell
did not do the altering.

(I can't recall if I have ever done this in the past for other reasons, I
am fairly certain I have never tired what I think you are doing.


>   I never had a problem in a
> couple years on v2.10.2, but in 2.10.3, that cut 2 paste would show
> 0:00 length and when opening the marker editor, it would claim there
> was no audio present in the cut--even though the cut 2 track existed in
> the audio store, and played fine with other software, showing no
> errors.
>

If I am guessing correctly, here is an alternate workflow that may make a
difference for you if you have not already tried it and found it does not
make a difference.

copy the cut in question to a working directory:

cp /var/snd/01_001.wav /tmp/working.wav

operate on /tmp/working.wav to achieve the desired result

click on import/export button to import another cut into the cart
select /tmp/working.wav

Do your cut weighting trick per your usual workflow.

This is all done with Rivendell watching "what it wants to watch"...

all the best,

drew


>   Now what's worse, is that this did not always happen.  I could
> reboot, and sometimes things worked normally, as expected.  But often
> when pasting into cut 2, the length would show as 0:00 and I knew RD
> would never, ever admit there was actually audio on that cut.
>
>   This sounds like it could be similar to the problem you are having.
> My experience was that once the Library said that cut had no audio, no
> amount of rebooting or database checking would make it say that already
> existing pasted cut was playable.  But rebooting sometimes cured the
> problem of the Library pasting a 0:00 track into a new cut.
>
>   I'm just moving to v3.3, so I have not had enough time with it to see
> if that problem still exists.  I never saw a fix reported, only
> Cowboys' report that he had seen it, too.
>
> --Chuck
>
> > On Mo, 30 Mar 2020 01:25:09 -0700
> > Rich Stivers  wrote:
> >
> > Drew:
> >
> > Thanks for these ideas. I'll try them and get back to the group.
> >
> > Cheers,
> > Rich
> >
> >
> > On 3/29/2020 4:54 AM, drew Roberts wrote:
> > > Rich,
> > >
> > > no pointers exactly but a few questions that might help isolate
> > > the
> > > issue...
> > >
> > > Will it play from rdlibrary?
> > > rdcartslots?
> > > rdpanel?
> > >
> > > You may need to configure sound cards for some of them.
> > >
> > > Can you set markers in rdlibrary?
> > >
> > > Do this with the file that does not play and to a file that does
> > > play
> > > and compare:
> > >
> > > $ mediainfo /var/snd/017197_001.wav
> > > $ mediainfo /var/snd/017198_001.wav
> > >
> > > Do you see any obvious differences?
> > >
> > > You may need to install mediainfo.
> > >
> > > all the best,
> > >
> > > drew
> > >
> > >
> > > On Sun, Mar 29, 2020 at 5:05 AM Rich Stivers  > >
> > > <mailto:r...@stivers-bros.com>> wrote:
> > >
> > > This problem started recently. When I hit Start on a cart that
> > > is
> > > queued in RdAirplay, the cart does not play and goes away.
> > >
> > > In /var/log/messages I see these entries for the cart I
> > > attempted
> > > to play:
> > >
> > > Mar 27 20:35:40 rdhost rdairplay: finished

Re: [RDD] Rivendell v3.3.0

2020-03-30 Thread drew Roberts
Hey Joe...

(that's a good opening right there if I do say so myself)

drew here. B.S. O.E. '81.

Have we interacted concerning WFIT before?

all the best,

drew

On Mon, Mar 30, 2020 at 2:49 PM Joe Panarello 
wrote:

>
> Well Put Rob. Rivendell was meant to be an appliance with a specific
> purpose running on CENTOS a pro OS. CENTOS is free so what is the issue? As
> such, Rivendell is one of the most reliable and powerful automation systems
> on the planet. Why mess with the best. Most of the high priced competitors
> who are Windows based will NOT run on a Windows Server OS. So my suggestion
> would be that your time could be better spent in adding new features to
> Rivendell rather than chasing after mirages.
>
>  Joe Panarello
>  WFIT 89.5 FM
>
>
> -Original Message-
> From: rivendell-dev-boun...@lists.rivendellaudio.org [mailto:
> rivendell-dev-boun...@lists.rivendellaudio.org] On Behalf Of Rob Landry
> Sent: Sunday, March 29, 2020 11:01 PM
> To: Ryan Kin
> Cc: rivendell-dev
> Subject: Re: [RDD] Rivendell v3.3.0
>
> On Sun, 29 Mar 2020, Ryan Kin wrote:
>
> > However, Rivendell was built and made for CentOS... Even though it's
> > open source so you can modify it then put it onto Ubuntu
>
> That's it in a nutshell. The software is developed to run under CentOS, is
> not being tested under any other Linux distribution, and it took an immense
> amount of time and effort on my part to make it run under Debian 10. Even
> so, sometimes it will compile and sometimes it won't. I can unstall
> Rivendell, blow out rivendell-3.3.0, gunzip the .tar.gz file to make a
> virgin rivendell-3.3.0, and recompile the same source code... and it's even
> money whether or not it will compile.
>
> That's not something I can tolerate when I have radio stations clamoring
> for my attention all day. I had a station call me a week ago; they are
> owned by a local university which was sending all its students home due to
> the pandemic, and the faculty adviser said they were going off the air, as
> they didn't have an automation system. Now, I had an old Debian 6 Rivendell
> 2.11.0 system I had built several years ago, and offered to run it for them
> along with a Comrex Access I had bought for another project but had not yet
> deployed. I kept them on the air when they otherwise would have had to go
> off, and if I had had to depend on my new Debian system they would have
> been off for ten days, because that's how long it took me to get it working.
>
> Debian 10 is not Debian 6; QT3 will not build under Debian 10, so the only
> Rivendell choice available is V3. V3 is far more complicated than V2, has a
> lot more dependencies -- what is it with all this Python stuff? -- and
> clearly wants to run under CentOS. Yes, if I invest enough time and effort,
> I can make it run under Debian... but why bother?
>
>
> Rob
>
> --
> Сквозь грозы сияло нам солнце свободы
> И Linus великий нам путь озарил;
> Нас вырастил Stallman на верность народу, На труд и на подвиги нас
> вдохновил.
>
> >
> > On Sun, Mar 29, 2020, 3:59 AM Schwoon, newsletter
> > 
> > wrote:
> >   Am 28.03.2020 10:47, schrieb le père Léon:
> >   > Le 22/03/2020 à 14:58, Rob Landry a écrit :
> >   >> Well, finally got it to work. I blew out rivendell-3.3.0,
> >   re-gunzipped
> >   >> rivendell-3.3.0.tar.gz, then edited the source code manually,
> >   rather
> >   >> than applying the patch.
> >   >
> >   > The "default ''" appeared as "default " in the wiki. Modified.
> >   >
> >   >> Now rdadmin is complaining that the Rivendell daemons aren't
> >   running;
> >   >> evidently in this new era of v3 it doesn't automatically
> >   start them as
> >   >> it used to in v2. But that's no big deal.
> >   >
> >   > As noticed in the wiki, you can use :
> >   >  - to start the daemons :
> >   > $ systemctl start rivendell
> >   >  - to fix it at boot time :
> >   > $ systemctl enable rivendell
> >   >
> >   >> Debian is probably not going to be a viable option for
> >   Rivendell going
> >   >> forward, I think.
> >   >
> >   > Could you explain the reason why you think so ?
> >
> >   Thats a good question.!!
> >
> >   After running rivendell on centos for about one year, i switched
> >   back to
> >   debian/ubuntu. Why.?
> >   The newer and more software. And i think, Centos is a very good
> >   server
> >   distri, but not for desktops, specifically not for multimedia
> >   desktops.
> >   Too dificult to use special codecs like AAC HE, no ootb export
> >   to mp3 in
> >   audacity...
> >
> >   On my debian 10 is only one problem left. The slow database
> >   access. In
> >   rdlibrary when showing all, not only the 1st 100 carts, in
> >   rdlogedit
> >   when loading a 24h log and moving carts up and down with the
> >   arrows.!
> >
> >   Maybe there is a way to fix.??
> >
> >   --
> > 

Re: [RDD] RdAirplay Play Error

2020-03-29 Thread drew Roberts
Rich,

no pointers exactly but a few questions that might help isolate the issue...

Will it play from rdlibrary?
rdcartslots?
rdpanel?

You may need to configure sound cards for some of them.

Can you set markers in rdlibrary?

Do this with the file that does not play and to a file that does play and
compare:

$ mediainfo /var/snd/017197_001.wav
$ mediainfo /var/snd/017198_001.wav

Do you see any obvious differences?

You may need to install mediainfo.

all the best,

drew


On Sun, Mar 29, 2020 at 5:05 AM Rich Stivers  wrote:

> This problem started recently. When I hit Start on a cart that is queued
> in RdAirplay, the cart does not play and goes away.
>
> In /var/log/messages I see these entries for the cart I attempted to play:
>
> Mar 27 20:35:40 rdhost rdairplay: finished event: Line: 0  Cart: 428214
> Cut: 1 Card: -1  Stream: -1  Port: -1
> Mar 27 20:35:40 rdhost rdairplay: LogPlay::StartEvent(): no
> audio,CUT=428214_001
>
> The wav file for this cart exists and will play with the 'play' command.
> play /var/snd/428214_001.wav
>
> rddbcheck passes without errors. I'm running Centos 7 with Rivendell
> v2.19.3
>
> Does anyone know what this error means, rdhost rdairplay:
> LogPlay::StartEvent(): no audio,CUT=   Does 'no audio' mean
> it thinks the file is missing, or it found a problem with pulseaudio?
>
> Thanks for any pointers,
>
> Rich Stivers
> KKUP-FM Cupertino/San Jose CA
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Riv with a NAS

2020-03-09 Thread drew Roberts
Well Phil,

I have gone down a rabbit hole looking into this and may have hosed one of
my PIs which is a pain as I had not made proper notes on its config for
another purpose yet... ~;-) Live and learn.

I think the issue may be Pi and nfs related.

I would not do more than I suggest in trying to run this down unless you
really know what you are doing or are getting advice from someone who
really knows what they are doing.

I just did something that I do not know how to reverse. It involved
deleting a symbolic link to /dev/null... (Just checked, I may have got it
back.)

OK. Here goes:

I found something that advised me to put something like this in my
/etc/fstab:

192.168.86.150:/var/snd /var/snd nfs
noatime,x-systemd.automount,x-systemd.device-timeout=5  0  2

On account of the pi using systemd.

I did that but it did not seem to help. Perhaps I was not patient enough.

I saw something that advised doing this:

sudo update-rc.d nfs-common enable

And something that advised this:

sudo raspi-config
then select Wait for network at boot/Yes

None of this seemed to work. Perhaps I was not being patient enough at each
step. If you try this, I suggest you reboot between each change and give it
about 5 minutes to see if /var/snd gets mounted.

I finally put this in a script that gets run from
~/.config/autostart/afterairplay.desktop

sudo mount.nfs 192.168.86.150:/var/snd /var/snd

after a reboot, even that did not seem to work... However... after a good
while... /var/snd got mounted...

Hence my thought to wait longer than you think necessary after the reboot
after each change listed.



On Sun, Mar 8, 2020 at 11:18 PM Phil Biehl  wrote:

> Drew,
>
> I’ve made the changes you suggested but things seem to be the same: I can
> manually sudo mount to /var/snd and I do see files in it. However, as
> before, after having modified the /etc/fstab file I do not see these mounts
> unless I manually mount them. I’ve opened up permissions (chmod 777) for
> /var and /var/snd with no effect on the problem.
>
>
>
> Is there a log file I can look at to look for errors during boot?
>

Other than the normal system logs, I do not know.


> What information can I send you to help diagnose this. I can’t imagine
> this is a unique problem.
>

What I intend to do at some point is follow the instructions here:

http://static.paravelsystems.com/rivendell-install-rd3/rivendell-install-rhel7.html

With 3 different "machines".

When I get to the proper point, I intend to do one of each:

/root/install_rivendell.sh --standalone
/root/install_rivendell.sh --server
/root/install_rivendell.sh --client

and see what I can learn from that about how the folks at Paravel want this
to go down.

all the best,

drew


>
> Phil
>
>
>
> *From:* drew Roberts [mailto:zotz...@gmail.com]
> *Sent:* Sunday, March 08, 2020 3:53 PM
> *To:* Phil Biehl
> *Cc:* Mike Carroll; User discussion about the Rivendell Radio Automation
> System
> *Subject:* Re: [RDD] Riv with a NAS
>
>
>
> OK Phil,
>
>
>
> I have something that should get you closer although there may still be
> more to sort out.
>
>
>
> On the rivendell server (which in your case would be the NFS server / NAS)
>
> [rd@rdserv2 ~]$ cat /etc/exports
> /var/nfs192.168.86.86(rw,sync,no_subtree_check)
> /var/snd 192.168.86.1/24(rw,no_root_squash,async)
> /var/vid192.168.86.1/24(rw,no_root_squash,async)
>
>
>
> make your /etc/exports match the /var/snd line with appropriate changes to
> match your subnet.
>
>
>
> sudo exportfs -a
>
>
>
> On the Pi:
>
>
>
> sudo mkdir /var/snd
>
> sudo mount.nfs 192.168.86.150:/var/snd /var/snd
>
>
>
> 192.168.86.150 is the IP for the Riv server / NFS server / NAS.
>
>
>
> I was not careful as to user and group ownership for /var/snd so that may
> still need to be sorted to get everything working right. However:
>
>
>
> pi@remobpi:~ $ ls /var/snd/01*
> /var/snd/01_001.wav
>
>
>
> pi@remobpi:~ $ ls -lah /var/snd/01*
> -rw-rw-r-- 1 150 150 5.6M Jul 20  2017 /var/snd/01_001.wav
>
>
>
> Yup, looks like something needs to be done with user/group permissions.
>
>
>
> all the best,
>
>
>
> drew
>
>
>
> On Sun, Mar 8, 2020 at 4:16 PM Phil Biehl  wrote:
>
> Thanks Mike,
>
> I have already done most of what you describe and appreciate it very much.
> What I’m confused about is what and where to place the new library location
> reference in the /etc/rd.conf file. I see no sign of an entry that points
> to the /var/snd directory that I can modify.
>
>
>
> Also, I’ve tried mounting my NAS directory to /var/snd but have had no
> success with it as the mount point, /var/snd, has no files showing. I
> suspect it’s a Raspbe

Re: [RDD] Riv with a NAS

2020-03-08 Thread drew Roberts
; *From:* rivendell-dev-boun...@lists.rivendellaudio.org [mailto:
>> rivendell-dev-boun...@lists.rivendellaudio.org] *On Behalf Of *Mike
>> Carroll
>> *Sent:* Wednesday, March 04, 2020 6:51 PM
>> *To:* Frank Christel
>> *Cc:* User discussion about the Rivendell Radio Automation System
>> *Subject:* Re: [RDD] Riv with a NAS
>>
>>
>>
>> You specify the location of both the sound directory and the SQL server
>> address in /etc/rd.config.  Note that the directory can be named anything,
>> but is traditionally called /var/snd.
>>
>>
>>
>> I haven't put a Rivendell library on a NAS.  But our music server at
>> home, running on Raspberry Pi Raspbian, has an NFS mount to our
>> consumer-grade NAS.  I had to activate the NFS service in the NAS, but
>> after that it was just a normal mount from the Pi.  So I expect something
>> similar would need to be done for your NAS.
>>
>>
>>
>> Mike
>>
>>
>>
>> On Wed, Mar 4, 2020 at 5:06 PM Frank Christel 
>> wrote:
>>
>> Actually, my interest in using a NAS is just curiosity at this point.
>>
>> My immediate goal is in learning how to move the Rivendell audio storage
>> location to a different hard drive on the same machine. I haven’t yet
>> located where in RDAdmin(?) to modify the audio and database default
>> location of "(directory) /var/snd".
>>
>> Thanks,
>>
>> Frank
>>
>> __
>>
>> On 3/4/2020, at 3:37 PM, drew Roberts  wrote:
>>
>> Which NAS do you want to use. Do you have a link to the docs for that NAS?
>>
>> ___
>> 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
>


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


Re: [RDD] Riv with a NAS

2020-03-08 Thread drew Roberts
;> address in /etc/rd.config.  Note that the directory can be named anything,
>> but is traditionally called /var/snd.
>>
>>
>>
>> I haven't put a Rivendell library on a NAS.  But our music server at
>> home, running on Raspberry Pi Raspbian, has an NFS mount to our
>> consumer-grade NAS.  I had to activate the NFS service in the NAS, but
>> after that it was just a normal mount from the Pi.  So I expect something
>> similar would need to be done for your NAS.
>>
>>
>>
>> Mike
>>
>>
>>
>> On Wed, Mar 4, 2020 at 5:06 PM Frank Christel 
>> wrote:
>>
>> Actually, my interest in using a NAS is just curiosity at this point.
>>
>> My immediate goal is in learning how to move the Rivendell audio storage
>> location to a different hard drive on the same machine. I haven’t yet
>> located where in RDAdmin(?) to modify the audio and database default
>> location of "(directory) /var/snd".
>>
>> Thanks,
>>
>> Frank
>>
>> __
>>
>> On 3/4/2020, at 3:37 PM, drew Roberts  wrote:
>>
>> Which NAS do you want to use. Do you have a link to the docs for that NAS?
>>
>> ___
>> 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
>


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


Re: [RDD] Help wanted: Rivendell Video Playing

2020-03-08 Thread drew Roberts
Thanks Frank...

Something I was looking at earlier made me think it was windows only. I
burned a few cycles today wondering how I could get my hands on a windows
machine to test it out...

On Sun, Mar 8, 2020 at 3:36 PM Frank Schultze 
wrote:

> Hi Drew,
>
> Sorry, we don't have a CasparCG server around anymore. But the software
> runs on all Linux and requires no Windows at all. Check:
>
> https://github.com/CasparCG
>
> Hope this helps,
>
> Frank
>
> On Sun, 8 Mar 2020 at 15:51, drew Roberts  wrote:
>
>> Frank, thanks for the heads up/pointer.
>>
>> Do you still have a CasparCG server setup around?
>>
>> Unfortunately / I don't have a windows box around that I (am allowed to
>> /) can muck with.
>>
>> I have played with these some in the past in other contexts:
>>
>> https://www.dyne.org/software/freej/ (actually may have been in this
>> context as well.)
>> https://snowmix.sourceforge.io/
>> https://obsproject.com/ (using this now for something else)
>>
>> all the best,
>>
>> drew
>>
>>
>>
>> On Sun, Mar 8, 2020 at 8:11 AM Frank Schultze 
>> wrote:
>>
>>> Hi Drew,
>>>
>>> Some time ago we played with CasparCG server - https://casparcg.com/, Its
>>> a very capable open source video playout server that will respond to
>>> commands fairly easily setup with RML using CasparCG's AMCP protocol .
>>> We didn't go much further than that, but using macro carts one could
>>> foreseeably have a viable video scheduling/playout system.
>>>
>>> To get it running use the CasparCG client and you can see how it comes
>>> together. Also you can switch between sources (Producers as they call them)
>>> such as live inputs, streams, HTML sources etc.
>>>
>>> Thanks,
>>> Frank
>>>
>>> On Fri, 6 Mar 2020 at 21:05, drew Roberts  wrote:
>>>
>>>> Hello,
>>>>
>>>> I am looking for one or more people willing to set up a 3.x Rivendell
>>>> system to play videos. (I will help with the install.)
>>>>
>>>> I am looking for basic user feedback if that is all you feel up to.
>>>>
>>>> I am also looking for someone to discuss ideas and alternatives with as
>>>> well.
>>>>
>>>> Please let me know if you are interested.
>>>>
>>>> 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
>>>>
>>>
>>> The information contained in this communication is confidential and may
>>> be legally privileged.
>>> It is intended solely for the use of the individual or entity to whom it
>>> is addressed and others authorized to receive it.
>>> If you are not the intended recipient you are hereby notified that any
>>> disclosure, copying, distribution or taking action in
>>> reliance of the contents of this information is strictly prohibited and
>>> may be unlawful.
>>> UnitedStations is neither liable for the proper, complete transmission
>>> of the information contained in this communication nor any delay in its
>>> receipt.
>>>
>>
>>
>> --
>> Enjoy the *Paradise Island Cam* playing
>> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>>
>
> The information contained in this communication is confidential and may be
> legally privileged.
> It is intended solely for the use of the individual or entity to whom it
> is addressed and others authorized to receive it.
> If you are not the intended recipient you are hereby notified that any
> disclosure, copying, distribution or taking action in
> reliance of the contents of this information is strictly prohibited and
> may be unlawful.
> UnitedStations is neither liable for the proper, complete transmission of
> the information contained in this communication nor any delay in its
> receipt.
>


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


Re: [RDD] Help wanted: Rivendell Video Playing

2020-03-08 Thread drew Roberts
Frank, thanks for the heads up/pointer.

Do you still have a CasparCG server setup around?

Unfortunately / I don't have a windows box around that I (am allowed to /)
can muck with.

I have played with these some in the past in other contexts:

https://www.dyne.org/software/freej/ (actually may have been in this
context as well.)
https://snowmix.sourceforge.io/
https://obsproject.com/ (using this now for something else)

all the best,

drew



On Sun, Mar 8, 2020 at 8:11 AM Frank Schultze 
wrote:

> Hi Drew,
>
> Some time ago we played with CasparCG server - https://casparcg.com/, Its
> a very capable open source video playout server that will respond to
> commands fairly easily setup with RML using CasparCG's AMCP protocol .
> We didn't go much further than that, but using macro carts one could
> foreseeably have a viable video scheduling/playout system.
>
> To get it running use the CasparCG client and you can see how it comes
> together. Also you can switch between sources (Producers as they call them)
> such as live inputs, streams, HTML sources etc.
>
> Thanks,
> Frank
>
> On Fri, 6 Mar 2020 at 21:05, drew Roberts  wrote:
>
>> Hello,
>>
>> I am looking for one or more people willing to set up a 3.x Rivendell
>> system to play videos. (I will help with the install.)
>>
>> I am looking for basic user feedback if that is all you feel up to.
>>
>> I am also looking for someone to discuss ideas and alternatives with as
>> well.
>>
>> Please let me know if you are interested.
>>
>> 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
>>
>
> The information contained in this communication is confidential and may be
> legally privileged.
> It is intended solely for the use of the individual or entity to whom it
> is addressed and others authorized to receive it.
> If you are not the intended recipient you are hereby notified that any
> disclosure, copying, distribution or taking action in
> reliance of the contents of this information is strictly prohibited and
> may be unlawful.
> UnitedStations is neither liable for the proper, complete transmission of
> the information contained in this communication nor any delay in its
> receipt.
>


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


Re: [RDD] Help wanted: Rivendell Video Playing

2020-03-06 Thread drew Roberts
David,

thanks for the response.

On Fri, Mar 6, 2020 at 3:29 PM David Klann  wrote:

> Hi drew,
>
> On Fri, 2020-03-06 at 15:09 -0500, drew Roberts wrote:
> > Alan,
> >
> > thanks for the response.
> >
> > On Fri, Mar 6, 2020 at 2:32 PM Alan Smith  wrote:
> >
> > > Let me throw out an alternative if it will make life a little easier:
> > >
> > > OBS Studio
> > >
> >
> > I already know about it. We use it already:
> >
> > https://www.youtube.com/watch?v=7s61ERZ_1Yc
> >
> >
>
> Umm... at the risk of sounding old ... Can you please explain the use case
> for
> this?


A bit of background... There has been talk on the list over the years about
the possibility of Rivendell playing Video as well as audio. A good number
of years go, I decided to see if I could "hack" something together to "make
it so"... It sort of worked. (I also hacked something else together around
rivendell such that it could server as a sort of jukebox for a restaurant
and allow the patrons to choose and vote on the music iirc. that is another
story.)

I recently saw the possibility mentioned again recently iirc, somewhere
rivendell related iirc, I got a bee in my bonnet to see if I could do a
code and concept refresh and get it working again. I have been having fun
doing so.


> Do you want to re-create MTV?


I doubt it.

> Do you want to schedule and play a
> "playlist" of videos?
>

This is sort of what it is doing now just as rivendell  schedules and plays
a
"playlist" of audios?
>
>
> The youtube looks to me like just a slideshow with some animation. What am
> I
> missing?
>

The youtube is just to show I know about and am already using the suggested
OBS Studio. Indeed it is just a slideshow and the music is basically
unrelated to the slides. The music is from an over the air FM (music)
station in the Bahamas.

>
> Thanks!
>
>   ~David
>
>
> 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


Re: [RDD] Help wanted: Rivendell Video Playing

2020-03-06 Thread drew Roberts
Alan,

thanks for the response.

On Fri, Mar 6, 2020 at 2:32 PM Alan Smith  wrote:

> Let me throw out an alternative if it will make life a little easier:
>
> OBS Studio
>

I already know about it. We use it already:

https://www.youtube.com/watch?v=7s61ERZ_1Yc



>
> Its open source, available for Win, Linux, and Mac.  It will stream to
> most of the major platforms:  Facebook, Youtube, Twitch, twitter, etc.
> Will even stream to icecast in MPEG or WebM.
>
> The good news is its pretty neat, you can have multiple cams, static or
> dynamic overlays, etc.
>

It is neat.


> The bad news is its more of a video encoder and not so much an automation
> system.
>

This is the show stopper. This is why I am playing with Rivendell for
video. I see what I am doing as being able to be used with OBS Studio if
that is wanted.

  However, with VLC installed, you can create VLC playlists as a source in
> OBS, so you can sorta get automation out of it, albeit in a crude fashion.
>

I am currently using VLC and VLC playlists in what I am doing. Rivendell is
actually manipulating the VLC playlists to make the thing work.

>
> I hope it helps,
>
> -Alan
>

all the best,

drew


>
> etcOn 3/6/2020 1:05 PM, drew Roberts wrote:
>
> Hello,
>
> I am looking for one or more people willing to set up a 3.x Rivendell
> system to play videos. (I will help with the install.)
>
> I am looking for basic user feedback if that is all you feel up to.
>
> I am also looking for someone to discuss ideas and alternatives with as
> well.
>
> Please let me know if you are interested.
>
> all the best,
>
> drew
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>
> ___
> Rivendell-dev mailing 
> listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


[RDD] Help wanted: Rivendell Video Playing

2020-03-06 Thread drew Roberts
Hello,

I am looking for one or more people willing to set up a 3.x Rivendell
system to play videos. (I will help with the install.)

I am looking for basic user feedback if that is all you feel up to.

I am also looking for someone to discuss ideas and alternatives with as
well.

Please let me know if you are interested.

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


[RDD] HowTo for virtual log machines?

2020-03-06 Thread drew Roberts
Does anyone know how to use the new virtual log machines? Can anyone
provide links to info / documentation on how to use / work with them?

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


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

2020-03-05 Thread drew Roberts
Rob,

we think we are dealing with a bug here.

When the even in rdlogmanager create/edit events is up, you choose
import->Select from MUSIC (for instance) you then get two choices just
below:

First cart has a [PLAY/SEQUE] transition.
Imported carts have a [PLAY/SEQUE] transition.

In 3.x those options are both still there but the first is grayed out and
cannot be changed properly...

It is a problem when you generate a log though because the grayed out
option is what controls the segue for the cart chosen by that event in the
log.

all the best,

drew


On Thu, Mar 5, 2020 at 12:39 PM Rob Landry <41001...@interpring.com> wrote:

>
> On Thu, 5 Mar 2020, Andy Cooper wrote:
>
> > I agree entirely with Chuck. I'm also trying to make every cart have a
> > segue transition to keep things nice and tight on air. But with
> > Rivendell v3 that doesn't appear to be possible.
>
> Huh? I hadn't heard that V3 managed transitions differently than V2. Is
> there no longer a default transition setting?
>
> All the stations I deal with are still running V2.
>
>
> Rob
>
> --
> Сквозь грозы сияло нам солнце свободы
> И Linus великий нам путь озарил;
> Нас вырастил Stallman на верность народу,
> На труд и на подвиги нас вдохновил.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


[RDD] rmlsend and netcat

2020-03-05 Thread drew Roberts
Should I be able to do this?

Terminal 1:
nc -u -l 5309

Terminal 2:
rmlsend --to-host=localhost --to-port=5309 LL 1\ Thislog

I don't see any response from terminal 1. Not if I use tcp:
nc -l 5309

Is rmlsend trying some handshake with one of the riv daemons and bailing if
it does not get the expected response?

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


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

2020-03-05 Thread drew Roberts
David...


On Thu, Mar 5, 2020 at 8:46 AM Andy Cooper  wrote:

> Thanks David, I'll give that a go. I changed the default transition for
> something, but can't remember off the top of my head is it was for
> RDairplay, RDlogmanager or something else. Today I've installed Riv 2.19
> and I can confirm, as Drew already said, it's not an issue with version 2
>
> Andy
>
>
>
> Sent from my BlackBerry — the most secure mobile device
>
>
>   Original Message
>
>
> From: dkl...@linux.com
> Sent: 5 March 2020 12:36
> To: andy.coop...@gmail.com; dj.chuc...@googlemail.com;
> rivendell-dev@lists.rivendellaudio.org
> Reply to: dkl...@linux.com
> Subject: Re: [RDD] How do I create an event with one music cart and a
> segue transition?
>
>
> Hey Folks,
>
> tl;dr: check the default transition types in RDAirPlay and RDLogEdit.
>
> On Thu, 2020-03-05 at 08:20 +, Andy Cooper wrote:
> > Ok, It's a new day now here in the UK, so I'll be back at trying to get
> > Rivendell working as a server and client setup this afternoon.
> >
> > I agree entirely with Chuck. I'm also trying to make every cart have a
> segue
> > transition to keep things nice and tight on air. But with Rivendell v3
> that
> > doesn't appear to be possible.
> >
>
> I too concur with Chuck's thought -- not sure why Segue transition is an
> option. Maybe simply Rivendell's historical "baggage"?
>

I don't think it is historical baggage, it still controls the transitions
in generated logs.

>
> > My concern as someone looking to select a playout system for a new
> station,
> > is that there could be other bugs in v3. So should I be installing v2, or
> > even something totally different instead?
> >
>
> Have you checked the default transition types in RDAirPlay and RDLogEdit
> (RDAdmin->Manage Hosts->[hostname]->{RDLogEdit,RDAirPlay} ?
>

I will dig into this some and report back.

>
> It's not clear to me that these settings have an effect on creating or
> editing
> Events in RDLogManager (that is, I haven't looked at the source code), but
> I
> fiddled with default settings. With the defaults set to "Segue" I can
> create a
> new Event (on version 3.2.1) and the Segue transition was available (not
> greyed out) for "Imported carts have a" setting. Then I changed the
> defaults
> to "Play" and the "Import carts have a" setting was greyed out.
>

Which default settings? Those in rdairplay or where?

>
> So I recommend checking and/or changing the defaults as another attempt to
> make "Segue" available when creating an Event.
>

Just to be clear, the problem is not with the Imported carts have a blank
transition but with what is just above that: First cart has a blank
transition. This is the one that can be changed in 2.x but is grayed out in
3.x - when that event is used in a clock on a grid, that grayed out setting
is the one that controls the transitions for the cart in the generated log.

I can play some games and force/trick that grayed out choice to say Segue
and at that point, the carts generated from that event have the
proper/desired Segue transition in the log. This is a BUG from what I can
tell...

If you go back through my posts on this matter, you should be able to
duplicate this. I included a decent amount of screenshots. If they did not
make it through the mailing list, I can forward the original post direct to
you if you would like to see them.

all the best,

drew


> Hope this helps!
>
>   ~David Klann
>
> --
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


Re: [RDD] Riv with a NAS

2020-03-04 Thread drew Roberts
nd and are taking up space but you cannot get to them
to delete them. You will need to unmount /dev/sdb1 and then you can get at
the original /var/snd to delete those files. Be careful.

all the best,

drew





> Thanks,
>
> Frank
>
> ______
>
> On 3/4/2020, at 3:37 PM, drew Roberts  wrote:
>
> Which NAS do you want to use. Do you have a link to the docs for that NAS?
>
>

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


Re: [RDD] RivenCloud

2020-03-04 Thread drew Roberts
Frank,

On Wed, Mar 4, 2020 at 4:22 PM Frank Christel  wrote:

> In our consideration of Rivendell, a question arose as to whether there
> might be a cloud version. Something like RivenCloud (a tip ‘o the hat to
> John Penovich) or Valinor (the Undying Lands, a nod to Tolkien).
>

If you have the cloud, I will gladly work with you to bring up a test
instance. I think we could make it work. We would have to test for
reliability.

all the best,

drew


>
> RCS its marketing a cloud-based automation system, primarily for disaster
> recovery:
>
> https://www.rcsworks.com/press-releases/cloud-automation-reveal/
>
> Why couldn’t instances of Rivendell running on Amazon AWS become a
> station’s primary automation system? No hardware to maintain and the system
> would be just as accessible as a box in the next room, given the ease of
> VNC connections.
>
> From the transmitter site’s perspective, everything is already in some
> cloud. That’s whether the STL connection is via microwave, fiber, or DSL.
> RivenCloud could send a high-quality stream directly to the transmitter as
> easily as it would simultaneously feed a MP3/AAC version to the station’s
> streaming provider.
>
> Now, talk like this strikes terror into the hearts of red-blooded
> engineers. What happens when the ‘net connection goes down on Christmas Eve
> when there’s nary an IT person from one’s university or cloud provider to
> be found? How do we deal with inevitable backhoe fades? And how could we
> possibly threaten cranky machines by brandishing a bright orange mallet in
> front of it, which sometimes seems to work, psychologically at least. (Need
> to be careful as machines become sentient; threatening didn’t work so well
> with HAL.)
>
> Might in-the-cloud Rivendell instances be doable? Is this already being
> done?
>
> Frank Christel
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Riv with a NAS

2020-03-04 Thread drew Roberts
Frank,

On Wed, Mar 4, 2020 at 3:26 PM Frank Christel  wrote:

> I, too, would like to know how to play audio from a NAS, not just for
> RivenBerries, but big boxes, too.
>

Which NAS do you want to use. Do you have a link to the docs for that NAS?

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


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

2020-03-04 Thread drew Roberts
Andy,

if you will come into irc and look for me (zotz) I will try and help you
set up that hack workaround I am talking about. Like I say, I am not sure I
would go into production with it, but you could test it.

your call.

irc.freenode.net channel #rivendell

all the best,

drew


On Wed, Mar 4, 2020 at 1:22 PM 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
>


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


Re: [RDD] Rivendell and Cirrus Streaming

2020-03-04 Thread drew Roberts
I helped someone with SecureNet recently... (IIRC)

We set up a UDP to a port on the windows encoder and this was the format
string:

FormatString=%n|%g|%h|%t|%a|%l|%y|%y%r


YMMV.


all the best,


drew

On Wed, Mar 4, 2020 at 12:37 PM Patrick Linstruth 
wrote:

> We used SecureNet before. If I remember correctly, what we had to do was
> send audio using their Winblows encoder and then send artist/title
> information using the Icecast PyPAD (RLM) in Rivendell.
>
> I do not recall the exact configuration, but SecureNet should be able to
> provide the information required to set up Icecast for metadata updates. I
> tried to ask them, but they wouldn't talk to me. They want you to open a
> ticket.
>
> Patrick
>
> > On Mar 4, 2020, at 9:09 AM, Cowboy  wrote:
> >
> > On Wed, 4 Mar 2020 08:32:23 -0600
> > Jon DeMaster  wrote:
> >
> >> Has anyone else successfully sent a stream and
> >> title/artist information to Cirrus without their proprietary software?
> >
> > Are you referring to SecureNet ?
> > I couldn't get them to go off a windows machine "encoder" to do
> > any of that no matter what I said.
> >
> > --
> > Cowboy
> >
> > Those who do not understand Unix are condemned to reinvent it, poorly.
> >   -- Henry Spencer
> >
> > ___
> > 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
>


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


Re: [RDD] Can't set events to seg transition - Rivendell V3

2020-03-04 Thread drew Roberts
Andy,

I think you are almost there!

On Wed, Mar 4, 2020 at 6:31 AM Andy Cooper  wrote:

> Hi Drew,
>
> Thanks for your effort, but it doesn't work. It works up until I remove
> the hard start time. I can get Segue in all 3 boxes, first cart transition
> is still greyed out though. At that stage I have Segue Timed (make next),
> scheduler. If I open the event for editing again everything is set to seg
> but middle one of the three is greyed out. I then remove the hard start
> time check-box and everything keeps saying segue, top one then also greys
> out. However if I save it again and look on the upper level it's gone back
> to Play, Scheduler.
>

Correct, this is what I see too. However, at this point go back down into
editing the event. It the grayed out one is still Segue and not back to
play, go ahead and generate a log wit this event. That is what I saw and
did and the log had the wanted Segues...

>
> This looks like a serious bug and I find it hard to believe nobody has
> come across this before.
>

I agree as to it looking like a bug. I think my work around can work but I
don't know if I would trust a money making station to the workaround...
Hopefully someone at Paravell will jump on this one too. I am still hoping
for a response to my problem with rdiarplay crashing when I load logs for
one of my services. I am getting to where I want to move our main station
to 3.x but not yet with the trouble I ma having...


> This might stop our new station adopting Rivendell unless a fix can be
> found.
>

> Thanks for trying!
>
> Andy
>
>
all the best,

drew


>
>
>
>
> Sent from my BlackBerry — the most secure mobile device
> *From:* zotz...@gmail.com
> *Sent:* 4 March 2020 03:15
> *To:* andy.coop...@gmail.com
> *Cc:* rivendell-dev@lists.rivendellaudio.org
> *Subject:* Re: [RDD] Can't set events to seg transition - Rivendell V3
>
> Andy,
>
> I may have a workaround for you. It is a bit involved but it seems to work.
>
> (I hope I get this right.)
>
> drag a cart into the pre-import cart area.
> click / select Use hard start time.
> change the play to segue just under that bit.
> click save
> click ok
> Event properties in the "higher level" should show SEGUE, Timed(Start),
> Scheduler
>
> edit the event again.
> unselect Use hard start time.
> Delete the pre import cart.
> click save
> click ok
> Event properties in the "higher level" should show PLAY, Scheduler
>
> edit the event again.
> the first cart has a Segue transition should be grayed out but it *should*
> be Segue and not Play now.
>
> click OK.
>
> Generate a log.
> You should see SEGUE transitions in the generated log...
>
> all the best,
>
> drew
>
>
> On Tue, Mar 3, 2020 at 6:33 PM Andy Cooper  wrote:
>
>> Hi Drew,
>>
>> It looks like you've understood and replicated my problem pretty well.
>> The difference betweeen you examples and mine is that on yours the "first
>> cart has a..." has segue greyed out and my "first cart has a..." has play
>> greyed out.
>>
>> I tried setting imported carts to seg transition, working on your theory
>> that the first cart is one of all the carts. But when I generated a log and
>> checked it in RDAirPlay it was definitely generating events with play
>> transitions.
>>
>> However, if I physically put a cart in the pre-imported cart section then
>> generate the log, both the pre-imported cart and the music item generated
>> somehow have a segue transition. The problem is I don't want the
>> pre-imported cart showing up in the log every time I run the event, so it's
>> not a viable work-around.
>>
>> Perhaps the answer is to scrap V3 and go back to V2? Do you think that
>> would solve it?
>>
>> Thanks,
>>
>> Andy
>>
>>
>> On Tue, 3 Mar 2020, 23:07 drew Roberts,  wrote:
>>
>>> Andrew,
>>>
>>> I don't know the answers but I did a little digging for you...
>>>
>>> However, there is a chance that this is not a problem.
>>>
>>> On Tue, Mar 3, 2020 at 4:20 PM Andrew Cooper 
>>> wrote:
>>>
>>>> Hi all. I'm new to the list and have been driven here out of
>>>> desperation, in the hope that someone can help. I've used the old
>>>> RRAbuntu live CD for years, but I've now taken the plunge to checkout
>>>> Rivendell V3 on CentOS 7 because I'll be setting up a studio for a new
>>>> online radio station in the summer and I wanted to try it out. However
>>>> I've come up against a problem that I'm hoping someone can help with...
>>>>
>>&

Re: [RDD] Can't set events to seg transition - Rivendell V3

2020-03-03 Thread drew Roberts
Andy,

I may have a workaround for you. It is a bit involved but it seems to work.

(I hope I get this right.)

drag a cart into the pre-import cart area.
click / select Use hard start time.
change the play to segue just under that bit.
click save
click ok
Event properties in the "higher level" should show SEGUE, Timed(Start),
Scheduler

edit the event again.
unselect Use hard start time.
Delete the pre import cart.
click save
click ok
Event properties in the "higher level" should show PLAY, Scheduler

edit the event again.
the first cart has a Segue transition should be grayed out but it *should*
be Segue and not Play now.

click OK.

Generate a log.
You should see SEGUE transitions in the generated log...

all the best,

drew


On Tue, Mar 3, 2020 at 6:33 PM Andy Cooper  wrote:

> Hi Drew,
>
> It looks like you've understood and replicated my problem pretty well. The
> difference betweeen you examples and mine is that on yours the "first cart
> has a..." has segue greyed out and my "first cart has a..." has play greyed
> out.
>
> I tried setting imported carts to seg transition, working on your theory
> that the first cart is one of all the carts. But when I generated a log and
> checked it in RDAirPlay it was definitely generating events with play
> transitions.
>
> However, if I physically put a cart in the pre-imported cart section then
> generate the log, both the pre-imported cart and the music item generated
> somehow have a segue transition. The problem is I don't want the
> pre-imported cart showing up in the log every time I run the event, so it's
> not a viable work-around.
>
> Perhaps the answer is to scrap V3 and go back to V2? Do you think that
> would solve it?
>
> Thanks,
>
> Andy
>
>
> On Tue, 3 Mar 2020, 23:07 drew Roberts,  wrote:
>
>> Andrew,
>>
>> I don't know the answers but I did a little digging for you...
>>
>> However, there is a chance that this is not a problem.
>>
>> On Tue, Mar 3, 2020 at 4:20 PM Andrew Cooper 
>> wrote:
>>
>>> Hi all. I'm new to the list and have been driven here out of
>>> desperation, in the hope that someone can help. I've used the old
>>> RRAbuntu live CD for years, but I've now taken the plunge to checkout
>>> Rivendell V3 on CentOS 7 because I'll be setting up a studio for a new
>>> online radio station in the summer and I wanted to try it out. However
>>> I've come up against a problem that I'm hoping someone can help with...
>>>
>>> When I open the Log Manager and try to create a new event I can't make
>>> it select music out of the library with a 'seg' transition, unless I set
>>> it to use a hard start time. About halfway down the screen for setting
>>> up the event is a line that says 'First cart has a PLAY transition',
>>> with play being in a box that I should be able to select.
>>
>>
>> Perhaps not. I know on older versions you could. I have a 2.10.2 on kvm3
>> and a 3.2.1 on kvm4...
>>
>> Both the First cart has a: and Imported carts have a: can be accessed in
>> the older version but only the Imported carts have a: can be accessed in
>> the new.
>>
>> However, semantics wise, technically, all carts are imported... So you
>> may be ok.
>>
>> Have you tried it and seen if you get a segue for the first cart?
>>
>>
>>> However the
>>> box is always greyed out so I can't change it to 'SEGUE' instead of
>>> play. If I select the hard start time button at the top I can sometimes
>>> make it switch to segue on it's own, but I don't want a hard start time.
>>>
>>> What I'm trying to do is create an event for inserting one random music
>>> track from the library with a segue transition. I could do this with the
>>> old version packaged with RRAbuntu no problem. But in V3 I can't change
>>> 'first cart has a PLAY transition' and because the event only contains
>>> one cart, it means it's always a play transition!
>>>
>>
>> I would not be too sure about that... Things *may* have changed. Either
>> wait for an official answer or run a sample and test yourself.
>>
>>>
>>> I'm pretty sure it's either a bug keeping the box greyed out or there's
>>> something I'm missing in the settings somewhere.
>>>
>>> Any help would be much appreciated.
>>>
>>
>> Now, here come some screenshots. This is a 2.x database updated to 3.x
>> (but not the same 2.x as I have here.)
>>
>> rivsegueevents00.png
>>
>> TZ1 is a newly created test event. Had the same issues creating as you
>&g

[RDD] Can I pass metadata to a bash script with a macro cart? Possible Feature Request.

2020-03-03 Thread drew Roberts
Hello all,

should I be able to pass metadata (expanded %t and %a in this test case) to
a bash script via a RN line in a macro cart?

RN /home/rduser/playvid.sh 700011 %t %a!

RN /home/rduser/playvid.sh 700020 Fixing_My_Brain Brad_Sucks!

In playvid.sh:

echo $0 $1 $2 $3 >> /tmp/passedparams.txt

In  /tmp/passedparams.txt:
/home/rduser/playvid.sh 700011 %t %a
/home/rduser/playvid.sh 700020 Fixing_My_Brain Brad_Sucks
/home/rduser/playvid.sh 700011 %t %a

The metadat is not being expanded. The Fixing_My_Brain Brad_Sucks is being
passed as indicated above but I cannot try passing like this:

RN /home/rduser/playvid.sh 700020 "Fixing My Brain" "Brad Sucks"!

as the entry box refuses to accept the quotes...

It would be nice if the metadata got expanded before sending on to the bash
script.
-- 
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


Re: [RDD] 3.x and asi cards.

2020-03-01 Thread drew Roberts
Frank,

On Sun, Mar 1, 2020 at 8:45 AM Frank Christel  wrote:

> Drew,
>
> I am grateful for your instructions showing how to change the format
> Rivendell uses to internally save audio. But we’re fine with a default of
> PCM16, especially in 2020 when, as Fred points out, storage is cheap.


My mistake, I thought you wanted mp2 for storage on account of sorting your
library on a Pi... (Perhaps I was not paying close enough attention and
since that was what we did on our one Rivendell Pi test machine, I made an
unwarranted assumption somewhere.)


> Linear WAV has been the house standard at Public Radio Tulsa since the
> beginning of automated time.
>
> In my tests with importing various MP2 files, I did experience some
> anomalies. Most imported without problems, but after churning away, some
> displayed a “Internal error” dialog and wouldn’t load into a cart. These
> are MP2s which play fine outside of Rivendell.
>

If you know which ones they are, and there aren't too many of them, you
could try converting them to wav outside or Rivendell and then importing.

>
> Does Rivendell maintain an error log? I couldn’t locate it or generate one
> through the Reports module.
>

I am not good with Rivendell logging. Perhaps someone more capable can
answer.

>
> Frank
>

all the best,

drew


>
> _
>
> On 2/29/2020, at 10:06 AM, drew Roberts  wrote:
>
> Right, but if you didn't change the format for your library storage desire
> beforehand, what you did was import an MP2 cut, turning it into a pcm
> ("wave") cut during the import. You would have needed to change your
> library format so that when importing you end up with MP2 in a .wav
> container…
>
> _
>
> On 2/28/2020, at 11:02 AM, Fred Gleason  wrote:
>
> Here in 2020, MPEG audio encoding for storage purposes is fast receding
> into the mists of history. Unless one has a very specific reason otherwise
> —e.g. a huge existing library of already-encoded material — the usage of
> PCM16 or PCM24 is *strongly* encouraged over MPEG. Storage is dirt cheap
> these days, while MPEG incurs irreversible quality loss; there is really no
> reason anymore to employ it for the sake of reducing storage requirements.
>
> _
>
> On 2/27/2020, at 5:09 PM, drew Roberts  wrote:
>
> click manage hosts.
> highlight the host in question and click edit.
> click rdlibrary.
> about halfway down change Format: from PCM16 to MPEG Layer 2.
> save everything until you are out of rdadmin
> start rdlibrary and import a new song into a new cart.
> try to play the cart.
> if it plays...
> from a terminal:
> file /var/snd/99_001.wav
>
>

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


Re: [RDD] 3.x and asi cards.

2020-02-27 Thread drew Roberts
Frank,

On Thu, Feb 27, 2020 at 5:43 PM Frank Christel  wrote:

> Noob question: why are ASI cards required to play MP2 files?
>

Experiment with this yourself.

On a test box, say the RasPi Rivendell (corrected) you mention below, run
rdadmin.

click manage hosts.
highlight the host in question and click edit.
click rdlibrary.
about halfway down change Format: from PCM16 to MPEG Layer 2.
save everything until you are out of rdadmin
start rdlibrary and import a new song into a new cart.
try to play the cart.
if it plays...
from a terminal:
file /var/snd/99_001.wav

where the filename bit corresponds to the cart/cut you just imported and
played.

IIRC, the mp2 files are "stored" in wav "containers"...

all the best,

drew

>
> From the “Features and Benefits” list on the Rivendell home page: "Support
> for both PCM16 and MPEG Layer 2 audio formats (MPEG Layer 2 support
> requires the use of select sound cards available from AudioScience Inc.).”
>
> (ASI cards are required by BSI’s Simian to play MP2s on Windows, too.)
>
> Is the MP2 format so old there are no software decoders? Or is MP2
> processing so intensive in real time that it must be offloaded to an
> external sound card?
>
> Is there a way for a RasPi Rivendale node to play MP2s without first
> converting the files to WAV?
>
> Frank Christel
>
> __
>
> On 2/26/2020, at 5:49 PM, Fred Gleason  wrote:
>
> ...Not all ASI cards are supported in any given driver version. For CentOS
> 7 setups, we provide three, v4.13.0, v4.20.10 and 4.20.21 (with v4.20.21
> being installed by default). Any ASI-5XXX or ASI-6XXX card (the ones with
> the orange colored mu-metal shields) should be able to work with one of
> those drivers, although sometimes some experimentation is required to find
> out which driver does the trick… That said, ASI-4XXX cards (the ones with
> the blue mu-metal shields) are NOT supported in Rivendell at all.
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-02-27 Thread drew Roberts
David,

I suggest the addition of:

— Party at the Beach: Live remote via IP with (openvpn and ((openob) or
(icecast and liquidsoap)).

Fixed a spelling error from an earlier post and added in openvpn which may
be on the way out soon enough...

I will try and run down my access to the wiki and start in on the vnc
remote control chapter soon.

all the best,

drew


On Thu, Feb 27, 2020 at 11:57 AM David Klann  wrote:

> Greetings Frank, and others!
>
> On Wed, 2020-02-26 at 21:12 -0600, you wrote:
> > Rob,
> >
> > ... [background info snipped]
> >
> > 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.
> >
>
> I LOVE your idea of the Big Book of Rivendell Cookbook. I've taken the
> liberty
> to start such a section on the Rivendell Wiki:
> http://wiki.rivendellaudio.org/index.php/Cookbook
>
> It's just a start, and I intend on continuing the work on it (I've been
> contemplating writing such a book for a couple of years...). I look
> forward to
> seeing contributions from others in the community!
>
> > 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
> >
>
> As I wrote in the nascent "first chapter" of the Cookbook, adopting a new
> automation system is like rebuilding after a flood or a fire. As you no
> doubt
> know, you definitely want to get everyone on board before taking on such a
> monumental task.
>
> I'm excited and tickled to be part of this active and passionate community
> of
> Rivendell users and developers!
>
> Best,
>
>   ~David Klann
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-02-27 Thread drew Roberts
Rob,

On Thu, Feb 27, 2020 at 12:11 PM Rob Landry <41001...@interpring.com> wrote:

>
> On Wed, 26 Feb 2020, Tim Camp wrote:
>
> > BTW for the cold dead hands person, audition 3.0 runs quite well under
> wine
> > 4.2 and above on Linux.
>
> I have not had much success doing that; the software installs and runs,
> but it's slow and I get lots of audio dropouts.
>

Have you tried running on windows in a VM hosted on linux?

all the best,

drew

>
>
> Rob
>
> --
> Сквозь грозы сияло нам солнце свободы
> И Linus великий нам путь озарил;
> Нас вырастил Stallman на верность народу,
> На труд и на подвиги нас вдохновил.



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


Re: [RDD] glassgui, asi, output not input

2020-02-27 Thread drew Roberts
Fred,

On Wed, Feb 26, 2020 at 6:54 PM Fred Gleason 
wrote:

> On Feb 21, 2020, at 08:25, drew Roberts  wrote:
>
> On our "extra" setup, we don't have the outboard processor. What would be
> the correct way to "capture" the main log's output 1 & 2 with glassgui and
> send it on to the icecast server?
>
>
> You’ll have to do it with an outboard mixer.
>

Nah, what I did was take the asi card out of the mix and put the main log
on jack and went that route.

Feature Request if it is possible:

(I will add this to github today it memory serves me later.)

 In GlassGui Audio Sources, When the Type is AudioScience HPI, in addition
to:

[example]

ASI6622[1] - Input Stream 1
ASI6622[1] - Input Stream 2

With Input Source: options:

Line In 1
Line In 2
Output Stream 1
Output Stream 3
Output Stream 3
Output Stream 4

Add:

ASI6622[1] - Output Stream 1
ASI6622[1] - Output Stream 2

With Input Source: options:

Line Out 1
Line Out 2

etc. as needed.

BTW, I tried using the combo:

Input Stream 1
Output Stream 1

which works but only when rdairplay is using that particular output stream
and so you get music and silenced intermixed via icecast...


> Cheers!
>
>
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
>
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


Re: [RDD] 3.x and asi cards.

2020-02-27 Thread drew Roberts
Fred,

On Wed, Feb 26, 2020 at 6:49 PM Fred Gleason 
wrote:

> On Feb 19, 2020, at 23:35, drew Roberts  wrote:
>
> what cards should show in 3.x?
>
>
> It depends on what version of ASI’s ‘hpklinux’ driver is being used. Not
> all ASI cards are supported in any given driver version. For CentOS 7
> setups, we provide three, v4.13.0, v4.20.10 and 4.20.21 (with v4.20.21
> being installed by default). Any ASI-5XXX or ASI-6XXX card (the ones with
> the orange colored mu-metal shields) should be able to work with one of
> those drivers, although sometimes some experimentation is required to find
> out which driver does the trick. You can find the RPMs at:
>

Did you miss this from the first email?

rdalsaconfig shows Audioscience ASI6622

I may have been unclear though, I think the cards both systems are
identical. (The current 2.x is the newer card, the one in the spare system
is the old card from the server that took the lightening strike back when.)

>
> http://static.paravelsystems.com/audioscience/centos/7/
>
> That said, ASI-4XXX cards (the ones with the blue mu-metal shields) are
> NOT supported in Rivendell at all. (Sorry. I know that there are lots of
> these for sale on eBay for cheap, but there’s a good reason for that: they
> are incompatible with modern PC hardware).
>
>
> I have a small spare rivendell system with an asi card (iirc) which was
> 2.x but I just wiped that and installed 3.x
>
> rdalsaconfig does not show the asi card.
>
>
> Nor should it on a standard CentOS setup.
>

So, this was a Centos 7 and Rivendell scripted install per the normal
instructions. The scripted install does not look for ASI cards and
configure them then?

I got it working fairly soon after asking, I can't remember exactly how but
it looks like it included:

yum install hpklinux.x86_64
modprobe hpklinux
modprobe snd_asihpi

I am not sure if I had to do anything else but it eventually showed up.


> While some distros do support running ASI cards through the standard ALSA
> layer, you *really* do not want to do that for Rivendell. ASI’s ‘hpklinux’
> driver is required to unlock the advanced features (time scaling, hardware
> MPEG support) that is found on many ASI cards. For the list of cards
> recognized by the system, see RDAdmin->ManageHosts->AudioResources. If you
> card doesn’t show, try backing down the hpklinux driver to an earlier
> version.
>
> Cheers!
>
>
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
>
> Thanks, 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


Re: [RDD] Possible Bug - Timed Wait Behaviour

2020-02-27 Thread drew Roberts
Fred,

welcome back from your fantastic adventure... (much needed break? bout with
the flu? you get the picture...)

On Wed, Feb 26, 2020 at 6:22 PM Fred Gleason 
wrote:

> On Feb 19, 2020, at 19:29, Aaron  wrote:
>
> I reference to a previous post (
> http://caspian.paravelsystems.com/pipermail/rivendell-dev/2020-January/028460.html)
> I am still having issues with a Rivendell installation stopping playout.
>
> I think I have isolated the random stoppages down to timed events where
> there is a wait time but where the log is running late and there is an
> additional event between the late-running event and the scheduled event.
>
>
> Fixed in Git ‘master’ [5eec297].
>
> And, I must say Aaron, this was one of the very best bug reports I’ve ever
> read. The problem was devilishly intricate and difficult to provoke, yet
> the report included clear, detailed instructions on how to ‘make it
> happen’, including log trace data. And, the theory about what might be
> going wrong ("I think what is happening here is a bug with the timer…’)
> turned out to be spot on the money. Bullseye!
>

Don't think that just because you praise Aaron so lavishly here that the
rest of us will automatically be able to match this level of bug reporting
going forward no matter how much we try.

>
> I have only one additional request that would have made this a ‘perfect
> 10’ of bug report-ness: put it in a Github Issue. You can do that by going
> to:
>
> https://github.com/ElvishArtisan/rivendell/issues
>
> and then hitting the big green button that says ‘New Issue’.
>

And here, Fred, you show an uncanny ability to answer a question I have
been meaning to ask for several days before I even get to ask it!!! This I
hope to be able to remember to do consistently going forward...


>
> The big advantage of making a GitHub Issue is that the report will then
> stay around until one of the dev team can swat it. Discussing it on the
> mailing list is perfectly fine too, but the hurly-burly of day-to-day life
> means that those reports will often roll off and get forgotten (at least by
> me). Putting it in GitHub ensures that that won’t happen.
>
Yup.

>
> I’m very proud of the community that has coalesced around Rivendell. It’s
> you gals and guys, providing feedback, help for each other (including
> newcomers to Rivendell) and generally keeping the show on the road that
> make Rivendell and its community the empowering place that it is. It is an
> honor for me to be part of this group.
>
+1 Hear, hear!

>
> Cheers!
>
>
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
>
> 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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-02-27 Thread drew Roberts
Frank,

On Wed, Feb 26, 2020 at 10:13 PM Frank Christel 
wrote:

> Rob,
>
> snip

>
> 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.


What is the break down of job categories and how many people are in each?
What is the main area of concern? The jocks in the air studio in front of
rdairplay? The people in the production studio? The people scheduling the
music and traffic? The more technical people in the background keeping the
system humming?

I was involved in a 5 station switch from AudioVAULT to WideOrbit.
Somewhere before the switch I started mucking about with beta Rivendell on
a used machine with no soundcard to run a streaming only station of my own
that played only gratis available music that was under what I considered to
be the Creative Commons libre licenses (BY, and BY-SA)...

We were considering WideOrbit for the new station I am with now but while
we were in the process of securing an FM license, we brought up a streaming
only station as a demo for The Bahamas Junkanoo Carnival and when that took
longer than expected to work out, we decided to do a Bahamian Music only
streaming station until we got that license.

The rest, as they say, is history:

https://bahamianornuttin.com/

We now also build what we call Private Radio Stations for clients.
(Basically as full as needed, Rivendell based radio stations sans the
transmitter.)


> 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.
>

I said all that above to suggest this:

One option would be to buy as many used laptops or mini machines capable of
running Rivendell as needed to give enough key people their own private
standalone Rivendell learning environments.

Set it up to where they can be managed and updated remotely for
troubleshooting and help / hand holding. I would be willing to help some
with this project if that angle sounds interesting to you.


> Frank
>
> 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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-02-26 Thread drew Roberts
Frank,

On Wed, Feb 26, 2020 at 5:48 PM 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.


I think we may be somewhat similar in this. I tend to prefer HOW-TOs to man
pages. Even though I know I should invest the time and it will likely pay
off big in the long run, I have never quite managed to grok man pages. I
much prefer several variations or working examples from which I can mix and
match and extrapolate.

Do you have a favourite example of this genre of book on another subject?


> 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.
>

Would you like to try developing this book on the wiki?


>
> Chapter titles for a “Big Book of Rivendell Cookbook” might include:
>
> — Oh no, not again!: Cheerleading the adoption of (yet) another automation
> system
> — Who’s on first?: Where files live, sync, and play
> — Doing the SaMBa: Integration with NPR satellite receivers
> — All roads lead to Rivendell: VNC access from inside and outside the
> studios
>

I could work some on the above chapter. I have been doing it long enough.
Perhaps too long, I may be doing it in an outdated manner.



> — Break down this wall!: Mass file importation strategies
> — Rosie the Robot: Clever uses of macro carts in the real world
> — Flowing down the river: Understanding Rivendell’s system of carts,
> events, clocks, grid, and logs
> — We just have time for one more: Automating music hours to meet time posts
> — Glasnost, comrade: Network coexistence with Windows machines
> — Doing what comes naturally: The easy way to integrate Natural Log and
> Natural Music
> — In five, four, three: Breaking format for local emergencies and
> congressional debates
> — Play it again, Sam: Playing MP2 files without using ASI cards
> — The path less travelled: Linux isn’t as scary as it looks
> — You’ll pry my dead, cold hand: Switching staff from Adobe Audition to a
> Linux-based audio editor
> — Front porch whittlin’:What to do with free time saved by not babysitting
> cranky automation systems
>
>
— Party at the Beach: Live remote via IP with openop or icecast and
liquidsoap.


> Purely by coincidence, those chapters mirror questions and objections
> staff have raised in considering our adoption of Rivendell.
>
> Frank
>

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


Re: [RDD] macro cart, RN command, with parameters

2020-02-25 Thread drew Roberts
Cowboy,

On Tue, Feb 25, 2020 at 5:35 PM Cowboy  wrote:

> On Tue, 25 Feb 2020 16:13:58 -0500
> drew Roberts  wrote:
>
> > Mucking about trying to see if I can update my old rivendell / rdairplay
> > does video in place of audio trick.
>
>  Personally, I prefer mplayer for a non-interactive application.
>

If you are referring only to the playout/streaming side of the equation, I
am open to any and all that I can figure out how to make operate the way I
want. Do you know how to do this with mplayer?

Do you have any help for me with RN commands of the form:

RN /somepath/somescript.sh someparameter!

I am not getting that to work whereas I can get something of the form:

RN /somepath/somescriptsomeparameter.sh!

to work. The problem is this means an unwieldy number of scripts. One for
each video macro card plus 1 more to do the work as opposed to only 2...

all the best,

drew

>
> --
> Cowboy
>
> This will be a memorable month -- no matter how hard you try to forget it.
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


[RDD] macro cart, RN command, with parameters

2020-02-25 Thread drew Roberts
Mucking about trying to see if I can update my old rivendell / rdairplay
does video in place of audio trick.

Videos are represented by macro carts.

This does not work: (Cart number 72's lines)

RN /home/rd/playvid.sh 72!
SP 184317!

This works: (Cart number 700011's lines)

RN /home/rd/playvid700011.sh!
SP 236960!

The SP lines match the length of the video to be played to keep things in
sync

The relevant bash script files referenced and one more to make things work:

==
$ cat playvid.sh
#! /bin/bash
# the below works but vlc closes down between videos try something else
#cvlc /var/vid/$1.mp4
# lets try netcat to a vlc running the rc interface like so:
# vlc -I rc --rc-host 0.0.0.0:8080
# and the netcat line wil be:
#echo "add /var/vid/$1.mp4" | nc 192.168.86.224 4212 &


#echo "add /var/vid/$1.mp4" >> /tmp/playingvid.txt
#echo "add /var/vid/$1.mp4" | nc 192.168.86.225 4212


echo `/bin/whoami` > /tmp/playvid

echo $1 >> /tmp/playvid

sudo -i -u rd /home/rd/playvidrun.sh $1
==
$ cat playvid700011.sh
#! /bin/bash
# the below works but vlc closes down between videos try something else
#cvlc /var/vid/$1.mp4
# lets try netcat to a vlc running the rc interface like so:
# vlc -I rc --rc-host 0.0.0.0:8080
# and the netcat line wil be:
#echo "add /var/vid/$1.mp4" | nc 192.168.86.224 4212 &


#echo "add /var/vid/$1.mp4" >> /tmp/playingvid.txt
#echo "add /var/vid/$1.mp4" | nc 192.168.86.225 4212


echo `/bin/whoami` > /tmp/playvid

echo "700011" >> /tmp/playvid

sudo -i -u rd /home/rd/playvidrun.sh 700011
==
$ cat playvidrun.sh
#! /bin/bash
# the below works but vlc closes down between videos try something else
#cvlc /var/vid/$1.mp4
# lets try netcat to a vlc running the rc interface like so:
# vlc -I rc --rc-host 0.0.0.0:8080
# and the netcat line wil be:
#echo "add /var/vid/$1.mp4" | nc 192.168.86.224 4212 &


echo `/bin/whoami` > /tmp/playvidrun

echo "beginning..." >> /tmp/playvidrun

echo $0 >> /tmp/playvidrun
echo $1 >> /tmp/playvidrun

export DISPLAY=:0.0
echo "add /var/vid/$1.mp4" >> /tmp/playvidrun
#echo "add /var/vid/$1.mp4" | nc 192.168.86.225 4212
echo "add /var/vid/$1.mp4" | nc 192.168.86.145 4212

echo "ending..." >> /tmp/playvidrun
==

192.168.86.145 is an ubuntu box with vlc being run like this:

vlc --rc-host 192.168.86.145:4212 -I rc

I did not want to add the repository to my centos 7 rivendell box that
would provide me with vlc.

After that long setup, can someone tell me what I am doing wrong with the:

RN /home/rd/playvid.sh 72!

approach that does not work?

I would much rather be able to have 2 script files to rive this whole
things rather than a file for each video plus 1 more...

I still have to make the playing side cleaner and perhaps send to a
streaming server as opposed to the screen... We shall see...

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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-02-24 Thread drew Roberts
Mike, your post reminded me of something I forgot.

There is the #rivendell IRC channel on freenode.net

On Mon, Feb 24, 2020 at 7:30 PM Mike Carroll  wrote:

> There's a wiki with some information here:
> http://wiki.rivendellaudio.org/index.php/Main_Page
> And this blog entry about scheduling music with Rivendell (2009, still
> useful):
> https://thebrettblog.wordpress.com/2009/12/31/rivendell-how-to-schedule-music/
> And a Rivendell users group on Facebook here (private, requires
> membership): https://www.facebook.com/groups/1739406449620107/
>

I am not sure I knew about the facebook group. Thanks. I just joined.

all the best,

drew

>
>
> On Mon, Feb 24, 2020 at 3:40 PM Frank Christel 
> wrote:
>
>> We’re researching a switch to Rivendell. We’ve used Simian for the last
>> decade and before that AudioVault. Lately, though, almost every Windows 10
>> update is breaking Simian. And BSI says Simian is at end-of-life.
>>
>> I’ve been discovering what Rivendell can do on a Raspberry Pi - it runs
>> surprisingly well. We’re configuring a Dell as a Rivendell test bed for one
>> of our HD channels.
>>
>> We're walking through the manual and searching the rivendell-dev archives
>> for answers. So far, we’ve not hit a brick wall in researching what
>> Rivendell might do for our NPR stations.
>>
>> Is there a “Big Book of Rivendell Cookbook” to give us a 20,000-ft setup
>> and operational view?
>> ___
>> 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
>


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


Re: [RDD] Big Book of Rivendell Cookbook?

2020-02-24 Thread drew Roberts
Hi Frank...

On Mon, Feb 24, 2020 at 6:40 PM Frank Christel  wrote:

> We’re researching a switch to Rivendell. We’ve used Simian for the last
> decade and before that AudioVault. Lately, though, almost every Windows 10
> update is breaking Simian. And BSI says Simian is at end-of-life.
>

Our current team was audiovault for many years, wideorbit for a while and
then rivendell for several years for a different group. In addition, I have
been using Rivendell since 0.9x iirc perhaps earlier?

>
> I’ve been discovering what Rivendell can do on a Raspberry Pi - it runs
> surprisingly well.


We have done this for a small experiment. We have also done small
"stations" with liquidsoap.

> We’re configuring a Dell as a Rivendell test bed for one of our HD
> channels.
>
> We're walking through the manual and searching the rivendell-dev archives
> for answers. So far, we’ve not hit a brick wall in researching what
> Rivendell might do for our NPR stations.
>
> Is there a “Big Book of Rivendell Cookbook” to give us a 20,000-ft setup
> and operational view?
>

You indicate you know of the manual and the mailing list. There is also the
wiki. And github.

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? Perhaps
it could be developed on the wiki?

all the best,

drew

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


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


Re: [RDD] rdairplay crashing on log load in 3.x

2020-02-21 Thread drew Roberts
OK, a bit more info...

Running rdairplay from a terminal I see this when loading a log that
crashes rdairplay:

ASSERT: "uint(i) < uint(size())" in file /usr/include/QtCore/qstring.h,
line 699
Aborted

but it does not show when I load a log that will not crash rdairplay and
will pley...

all the best,

drew

On Fri, Feb 21, 2020 at 1:02 PM drew Roberts  wrote:

> OK, this is odd.
>
> I have a recent 3.x install. Today I moved over a recent sql backup from
> our onair system.
>
> Old (very) logs will load and play. Recent logs including logs generated
> since the conversion cause rdairplay to crash when loaded.
>
> What logs in /var/log should I look at for clues as to what might be
> happening?
>
> /var/log/rivendell/operations is not showing anything interesting.
>
> all the best,
>
> drew
>
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>


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


[RDD] rdairplay crashing on log load in 3.x

2020-02-21 Thread drew Roberts
OK, this is odd.

I have a recent 3.x install. Today I moved over a recent sql backup from
our onair system.

Old (very) logs will load and play. Recent logs including logs generated
since the conversion cause rdairplay to crash when loaded.

What logs in /var/log should I look at for clues as to what might be
happening?

/var/log/rivendell/operations is not showing anything interesting.

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


[RDD] glassgui, asi, output not input

2020-02-21 Thread drew Roberts
Hi...

installed a 3.x recently on an old emergency machine with an extra asi card
in it.

As deployed, we send sound out of the card and take a processed version of
it back in on another.

Main Log output 1 and 2 are both card 0 port 0.

On our "extra" setup, we don't have the outboard processor. What would be
the correct way to "capture" the main log's output 1 & 2 with glassgui and
send it on to the icecast server?

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


Re: [RDD] On screen keyboard

2020-02-20 Thread drew Roberts
Mike,

I got something working...May be giving up too much security to get it
though...

2 files in /etc/sudoers.d/

==

test1
rd ALL=(ALL) ALL
rivendell ALL=(ALL) ALL

==

test2
rivendell ALL=NOPASSWD: /home/rd/vkbdko.sh
rivendell ALL=NOPASSWD: /home/rd/vkbd.sh
rivendell ALL=NOPASSWD: /bin/bash
rd ALL=NOPASSWD: /home/rd/vkbdko.sh
rd ALL=NOPASSWD: /home/rd/vkbd.sh

I think I can get rid of some of those lines in the last file but that will
be for another day.

==

cat /home/rd/vkbdko.sh
#!/bin/bash
# virtual keyboard kickoff
# vkbdko.sh

echo `/bin/whoami` > /tmp/openkbko

sudo -i -u rd /home/rd/vkbd.sh

#/usr/bin/lxqt-sudo /home/rd/vkbd.sh

==

cat /home/rd/vkbd.sh
#!/bin/bash
# virtual keyboard
# vkbd.sh

echo `/bin/whoami` > /tmp/openkb

echo "beginning..." >> /tmp/openkb

export DISPLAY=:0.0
/usr/bin/xvkbd -always-on-top -no-keypad -no-repeat -no-jump-pointer
-geometry 630x185+190+000 -minizable

echo "ending..." >> /tmp/openkb

==


On Thu, Feb 20, 2020 at 10:23 AM Mike Cox  wrote:

> Thanks for the reminder Bill.
>
> I now have a nice new 3.2 install and all is working again. I'm back to
> square one with my pop up keyboard but, with Drew's help, it looks like
> it's a permissions issue as Rivendell is running macros as "rivendell" but
> the screen is run under "rd".
>
> We'll get there.
>
> Mike
>
> --
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> <http://www.rosetta.group>
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
>
> See our payment options and pay online by clicking here Pay online
> <http://www.rosetta.group/payment>
>
> On 20/02/2020 15:12, Bill Putney wrote:
>
> If you're solution is to do a clean re-install, make sure you take a
> snapshot of the database too, to reinstall after the rebuild. The audio
> backup won't do you much good without the database!
>
> - Bill
> On 2/20/20 4:22 AM, drew Roberts wrote:
>
> Mike,
>
> On Thu, Feb 20, 2020 at 5:15 AM Mike Cox 
>  wrote:
>
>> Hi Drew
>>
>> I've had a look through the logs on this machine and I'm now confused
>> too! I must have done something very strange when I built it. I think the
>> simplest option will be to back up the audio and rebuild it from scratch.
>>
>
> Could be.
>
>> Thanks for your help and sorry if I've wasted your time. From my side,
>> every day is a learning opportunity.
>>
>
> You haven't wasted my time in the least. In fact, trying to help you
> yesterday was the final push I needed to try and bring up my first 3.x box.
> Almost there... database is converting now...
>
>> Mike
>>
>
> all the best,
>
> drew
>
>
>>
>> --
>>
>> Mike Cox
>> Managing Director
>> The Rosetta Group Ltd
>>
>> Email: mike@rosetta.group
>> Website: www.rosetta.group
>> Phone: 01983 229 229
>>
>> <http://www.rosetta.group>
>>
>> Have a look at our new cloud phone system at www.rosettatelecom.com
>>
>> See our payment options and pay online by clicking here Pay online
>> <http://www.rosetta.group/payment>
>>
>> On 19/02/2020 18:08, drew Roberts wrote:
>>
>> Mike,
>>
>> I am a bit confused. I got in to the 3.x box I have access to.
>>
>> my 2.x boxes:
>>
>> rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
>> rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false
>>
>> $ ls /home
>> rd
>>
>>
>> "my" 3.x box:
>>
>> rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
>> rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false
>>
>> $ ls /home
>> rd
>>
>> From our freenode #rivendell chat this morning:
>>
>>  rivendell:x:1000:1000:Rivendell:/home/rivendell:/bin/bash
>>
>> How did you do this install? What does the line for rd look like in
>> /etc/passwd?
>>
>> Did you make /home/rivendell?
>>
>> If you bring up a terminal fron the desktop and issue:
>>
>> whoami
>>
>> who are you? rd or rivendell?
>>
>> drew
>>
>> drew
>>
>> On Mon, Feb 17, 2020 at 9:10 AM Mike Cox 
>>  wrote:
>>
>>> I've read the wiki entry about using an on screen keyboard
>>> http://wiki.rivendellaudio.org/index.php/On_Screen_Keyboard but it is
>>> for Debian.
>>>
>>> Has anyone achieved this in the standard Centos

Re: [RDD] On screen keyboard

2020-02-20 Thread drew Roberts
Mike,

On Thu, Feb 20, 2020 at 10:23 AM Mike Cox  wrote:

> Thanks for the reminder Bill.
>
> I now have a nice new 3.2 install and all is working again.
>

I have a 3.2.1 going here now as well, so I will try to find a solution
locally and then pass it on...

drew


> I'm back to square one with my pop up keyboard but, with Drew's help, it
> looks like it's a permissions issue as Rivendell is running macros as
> "rivendell" but the screen is run under "rd".
>
> We'll get there.
>
> Mike
>
> --
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> <http://www.rosetta.group>
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
>
> See our payment options and pay online by clicking here Pay online
> <http://www.rosetta.group/payment>
>
> On 20/02/2020 15:12, Bill Putney wrote:
>
> If you're solution is to do a clean re-install, make sure you take a
> snapshot of the database too, to reinstall after the rebuild. The audio
> backup won't do you much good without the database!
>
> - Bill
> On 2/20/20 4:22 AM, drew Roberts wrote:
>
> Mike,
>
> On Thu, Feb 20, 2020 at 5:15 AM Mike Cox 
>  wrote:
>
>> Hi Drew
>>
>> I've had a look through the logs on this machine and I'm now confused
>> too! I must have done something very strange when I built it. I think the
>> simplest option will be to back up the audio and rebuild it from scratch.
>>
>
> Could be.
>
>> Thanks for your help and sorry if I've wasted your time. From my side,
>> every day is a learning opportunity.
>>
>
> You haven't wasted my time in the least. In fact, trying to help you
> yesterday was the final push I needed to try and bring up my first 3.x box.
> Almost there... database is converting now...
>
>> Mike
>>
>
> all the best,
>
> drew
>
>
>>
>> --
>>
>> Mike Cox
>> Managing Director
>> The Rosetta Group Ltd
>>
>> Email: mike@rosetta.group
>> Website: www.rosetta.group
>> Phone: 01983 229 229
>>
>> <http://www.rosetta.group>
>>
>> Have a look at our new cloud phone system at www.rosettatelecom.com
>>
>> See our payment options and pay online by clicking here Pay online
>> <http://www.rosetta.group/payment>
>>
>> On 19/02/2020 18:08, drew Roberts wrote:
>>
>> Mike,
>>
>> I am a bit confused. I got in to the 3.x box I have access to.
>>
>> my 2.x boxes:
>>
>> rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
>> rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false
>>
>> $ ls /home
>> rd
>>
>>
>> "my" 3.x box:
>>
>> rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
>> rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false
>>
>> $ ls /home
>> rd
>>
>> From our freenode #rivendell chat this morning:
>>
>>  rivendell:x:1000:1000:Rivendell:/home/rivendell:/bin/bash
>>
>> How did you do this install? What does the line for rd look like in
>> /etc/passwd?
>>
>> Did you make /home/rivendell?
>>
>> If you bring up a terminal fron the desktop and issue:
>>
>> whoami
>>
>> who are you? rd or rivendell?
>>
>> drew
>>
>> drew
>>
>> On Mon, Feb 17, 2020 at 9:10 AM Mike Cox 
>>  wrote:
>>
>>> I've read the wiki entry about using an on screen keyboard
>>> http://wiki.rivendellaudio.org/index.php/On_Screen_Keyboard but it is
>>> for Debian.
>>>
>>> Has anyone achieved this in the standard Centos install?
>>>
>>> Many thanks
>>>
>>> Mike
>>> --
>>>
>>> --
>>>
>>> Mike Cox
>>> Managing Director
>>> The Rosetta Group Ltd
>>>
>>> Email: mike@rosetta.group
>>> Website: www.rosetta.group
>>> Phone: 01983 229 229
>>>
>>> <http://www.rosetta.group>
>>>
>>> Have a look at our new cloud phone system at www.rosettatelecom.com
>>>
>>> See our payment options and pay online by clicking here Pay online
>>> <http://www.rosetta.group/payment>
>>>
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems

Re: [RDD] On screen keyboard

2020-02-20 Thread drew Roberts
Mike,

On Thu, Feb 20, 2020 at 5:15 AM Mike Cox  wrote:

> Hi Drew
>
> I've had a look through the logs on this machine and I'm now confused too!
> I must have done something very strange when I built it. I think the
> simplest option will be to back up the audio and rebuild it from scratch.
>

Could be.

> Thanks for your help and sorry if I've wasted your time. From my side,
> every day is a learning opportunity.
>

You haven't wasted my time in the least. In fact, trying to help you
yesterday was the final push I needed to try and bring up my first 3.x box.
Almost there... database is converting now...

> Mike
>

all the best,

drew


>
> --
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> <http://www.rosetta.group>
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
>
> See our payment options and pay online by clicking here Pay online
> <http://www.rosetta.group/payment>
>
> On 19/02/2020 18:08, drew Roberts wrote:
>
> Mike,
>
> I am a bit confused. I got in to the 3.x box I have access to.
>
> my 2.x boxes:
>
> rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
> rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false
>
> $ ls /home
> rd
>
>
> "my" 3.x box:
>
> rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
> rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false
>
> $ ls /home
> rd
>
> From our freenode #rivendell chat this morning:
>
>  rivendell:x:1000:1000:Rivendell:/home/rivendell:/bin/bash
>
> How did you do this install? What does the line for rd look like in
> /etc/passwd?
>
> Did you make /home/rivendell?
>
> If you bring up a terminal fron the desktop and issue:
>
> whoami
>
> who are you? rd or rivendell?
>
> drew
>
> drew
>
> On Mon, Feb 17, 2020 at 9:10 AM Mike Cox 
>  wrote:
>
>> I've read the wiki entry about using an on screen keyboard
>> http://wiki.rivendellaudio.org/index.php/On_Screen_Keyboard but it is
>> for Debian.
>>
>> Has anyone achieved this in the standard Centos install?
>>
>> Many thanks
>>
>> Mike
>> --
>>
>> --
>>
>> Mike Cox
>> Managing Director
>> The Rosetta Group Ltd
>>
>> Email: mike@rosetta.group
>> Website: www.rosetta.group
>> Phone: 01983 229 229
>>
>> <http://www.rosetta.group>
>>
>> Have a look at our new cloud phone system at www.rosettatelecom.com
>>
>> See our payment options and pay online by clicking here Pay online
>> <http://www.rosetta.group/payment>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>
>

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


Re: [RDD] On screen keyboard

2020-02-19 Thread drew Roberts
Mike,

I am a bit confused. I got in to the 3.x box I have access to.

my 2.x boxes:

rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false

$ ls /home
rd


"my" 3.x box:

rd:x:1000:1000:Rivendell Audio:/home/rd:/bin/bash
rivendell:x:150:150:Rivendell radio automation system:/var/snd:/bin/false

$ ls /home
rd

>From our freenode #rivendell chat this morning:

 rivendell:x:1000:1000:Rivendell:/home/rivendell:/bin/bash

How did you do this install? What does the line for rd look like in
/etc/passwd?

Did you make /home/rivendell?

If you bring up a terminal fron the desktop and issue:

whoami

who are you? rd or rivendell?

drew

drew

On Mon, Feb 17, 2020 at 9:10 AM Mike Cox  wrote:

> I've read the wiki entry about using an on screen keyboard
> http://wiki.rivendellaudio.org/index.php/On_Screen_Keyboard but it is for
> Debian.
>
> Has anyone achieved this in the standard Centos install?
>
> Many thanks
>
> Mike
> --
>
> --
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> 
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
>
> See our payment options and pay online by clicking here Pay online
> 
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] On screen keyboard

2020-02-17 Thread drew Roberts
Mike,

it is likely too late now, but if you see this soon, I am in #rivendell on
freenode. Perhaps we can find a solution. I will likely be there and able
to help for another half hour. If not, look for me after 9:30 am est
tomorrow morning if it is still not sorted.

drew

On Mon, Feb 17, 2020 at 10:31 AM Mike Cox  wrote:

> I have now tried moving the commands to shell scripts and calling those
> shell scripts but still no joy.
>
> I have tried putting the shell scripts in the /home/rivendell/ /home/rd/
> /usr/bin.
>
> I have tried setting the permissions on the shell scripts to 777 and 775
> as well as changing the parent folders the same.
>
> I have read so many messages in the mailing lists but am still unable to
> get the script to run.
>
> Is anyone able to help? All I'm trying to do is get the keyboard to pop up
> when I click on a button.
>
> Thanks a lot.
>
> Mike
>
> --
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> 
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
>
> See our payment options and pay online by clicking here Pay online
> 
>
> On 17/02/2020 14:27, Mike Cox wrote:
>
> Further to this I tried to just install using yum install xvkbd and it
> works if I run the startup command in a terminal but not if I put them in
> a macro.
>
> xvkbd -always-on-top -no-keypad -no-repeat -no-jump-pointer -geometry 
> 630x185+190+000 -minimizable &! Works OK in terminal
>
> RN xvkbd -always-on-top -no-keypad -no-repeat -no-jump-pointer -geometry 
> 630x185+190+000 -minimizable &!  Doesn't work in Macro
>
>
> --
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> 
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
>
> See our payment options and pay online by clicking here Pay online
> 
>
> On 17/02/2020 14:10, Mike Cox wrote:
>
> I've read the wiki entry about using an on screen keyboard
> http://wiki.rivendellaudio.org/index.php/On_Screen_Keyboard but it is for
> Debian.
>
> Has anyone achieved this in the standard Centos install?
>
> Many thanks
>
> Mike
> --
>
> --
>
> Mike Cox
> Managing Director
> The Rosetta Group Ltd
>
> Email: mike@rosetta.group
> Website: www.rosetta.group
> Phone: 01983 229 229
>
> 
>
> Have a look at our new cloud phone system at www.rosettatelecom.com
>
> See our payment options and pay online by clicking here Pay online
> 
>
>
> ___
> Rivendell-dev mailing 
> listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
> ___
> Rivendell-dev mailing 
> listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] pypad filewrite permission denied

2020-02-04 Thread drew Roberts
Mark,

On Mon, Feb 3, 2020 at 9:01 PM Mark Murdock 
wrote:

> We just put a Rivendell client on the air today, and things are mostly
> going well. However, the pypad_writefile instance for now play info is not
> writing to /home/rd/NowPlay. The error log says permission is denied.
>

I have run into this as well while helping someone else move from 2.x to
3.x...


> This works fine if we play out from the server,
>

I am surprised to hear this, we were on a standalone machine (I think, I
did not do the initial setup but it was a single machine system.)

> but not from the on air client. How do I give the on air machine
> permission to write to this directory?
>

The question is not exactly this. The simple, dangerous answer is:

su
chmod 777 /home/rd

or

sudo chmod 777 /home/rd

Don't do either one of these.

The other simple answer is to write the file somewhere where "you" do have
permissions, I chose /tmp/NowPlay (to match your original...)

Neither of these is satisfying.

The question I have is:

What is(are) the best way(s) to solve this permission issue. What is the
best practice in this situation?

I also considered making a directory called:

/home/rdreports

and then

chmod 777 /home/rdreports

and then write to

/home/rdreports/NowPlay

That would give about the same security as the /tmp option.

Looking at the file now I see something like:

-rw-r--r--. 1 pypad pypad 25 Feb  4 06:12 /tmp/NowPlay

also:

grep pypad /etc/passwd
pypad:x:151:151:Rivendell PyPAD scripts:/dev/null:/bin/false

grep pypad /etc/group
pypad:x:151:

so slightly better security with the /etc/rdreports idea would be:

chmod 770 /home/rdreports
chown pypad:pypad /home/rdreports

and then add rd to the pypad group.

>
>
> Thanks,
>
>
>
> Mark Murdock
>
> KAMB
>
> 90 E. 16th St.
>
> Merced, CA 95340
>
> (209) 723-1015
>
> m...@celebrationradio.com
>
> Website 
>
>
>

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


Re: [RDD] Daily Music List

2020-01-30 Thread drew Roberts
Mike,

I am attaching 2 files for you to look at.

one for filewrite and one for udp.

The filewrite should write a file with lines like:

title - artist

the trick will be to rotate daily to a file with a different name and clear
it out.
the bigger trick with be to get the time in front of the line.

%h:%mm:%hh AP

may offer some clues.

Or, try something like this with netcat:

nc -ul 17111 | ts > songlog.txt

all the best,

drew

On Thu, Jan 30, 2020 at 5:17 PM Mark Murdock 
wrote:

> Drew,
>
>
>
> Well, I’m familiar with pypad, but have no clue about netcat. I’m not
> entirely a newbie, as I have been working on Rivendell for a long time. I’m
> not too up on macros and gpio and command line stuff, but I know my way
> around most of the Rivendell stuff otherwise. How can you have filewrite
> just output a line when music is playing and nothing else?
>
>
>
> Thanks
>
> Mark
>
>
>
> *From:* drew Roberts 
> *Sent:* Thursday, January 30, 2020 1:16 PM
> *To:* Mark Murdock 
> *Cc:* rivendell-dev@lists.rivendellaudio.org
> *Subject:* Re: [RDD] Daily Music List
>
>
>
> Mark,
>
>
>
> I would imagine you could pull it off with filewrite or udp and netcat.
> (pypad stuff + netcat)
>
>
>
> Do you just need a hint like that or are you more of a newbie to linux and
> Rivendell?
>
>
>
> all the best,
>
>
>
> drew
>
>
>
>
>
> On Thu, Jan 30, 2020 at 2:53 PM Mark Murdock 
> wrote:
>
> We are implementing Rivendell soon on air, and there’s one thing that
> still needs to be covered. On our website we have one week’s worth of songs
> that have played on KAMB so that people can look for songs that they have
> heard. You can see it here:
>
>
>
> https://www.celebrationradio.com/todays-songs/
>
>
>
> I want to generate the same sort of thing from Rivendell. I wrote a custom
> program in Visual Basic to handle this for Scott Studios, and I may tackle
> the same thing for Rivendell, but I’m wondering if there is a built-in way
> to accomplish this using PYPAD or something else.
>
>
>
> Thanks,
>
>
>
> Mark Murdock
>
> KAMB
>
> 90 E. 16th St.
>
> Merced, CA 95340
>
> (209) 723-1015
>
> m...@celebrationradio.com
>
> Website <https://celebrationradio.com/>
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
>
>
> --
>
> Enjoy the *Paradise Island Cam* playing
>
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
>


-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/

; This is the sample configuration for the 'pypad_filewrite.py' PyPAD script
; for Rivendell, which can be used to write one or more files on the local 
; system using Now & Next data.
;

; Section Header
;
; One section per file to be written should be configured, starting with 
; 'File1' and working up consecutively
[File1]

; Filename
;
; The full path to the file to be written.  The filename may contain filepath
; wildcards as defined in Appendix C of the Rivendell Operations and
; Administration Guide.  The user running RDAirPlay must have write
; permissions for this location.
; Filename=/tmp/rlm_filewrite.txt
; I think there is a permission problem, moving location to tmp to check (dR)
; 
Filename=/tmp/dailylog.txt

; Append Mode
;
; If set to '0', the file will be completely overwritten with the contents
; of each PAD update.  If set to '1', each update will be appended to the
; existing contents of the file.
; Append=0
Append=1

; Format String.  The string to be output each time RDAirPlay changes
; play state, including any wildcards as placeholders for metadata values.
;
; The list of available wildcards can be found in the 'metadata_wildcards.txt'
; file in the Rivendell documentation directory.
;
;FormatString=NOW: %d(ddd MMM d hh:mm:ss ): %t - %a\nNEXT: %D(ddd MMM d 
hh:mm:ss ): %T - %A\n
;FormatString=%t - %a\n
FormatString=%t - %a\n

; Encoding.  Defines the set of escapes to be applied to the PAD fields.
; The following options are available:
;
;  0 - Perform no character escaping.
;  1 - "XML" escaping: Escape reserved characters as per XML-v1.0
;  2 - "Web" escaping: Escape reserved characters as per RFC 2396 Section 2.4
Encoding=0

; Log Selection
;
; Set the status for each log to 'Yes', 'No' or 'Onair' to indicate whether
; state changes on that log should be output.  If set to 'Onair', then
; output will be generated only if RDAirPlays OnAir flag is active.

MasterLog=Yes
Aux1Log=Yes
Aux2Log=Yes
VLog101=No
VLog102=No
VLog103=No
VLog104=No
VLog105=No
VLog106=No
VLog107=No
VLog108=No
VLog10

Re: [RDD] Daily Music List

2020-01-30 Thread drew Roberts
Mark,

I would imagine you could pull it off with filewrite or udp and netcat.
(pypad stuff + netcat)

Do you just need a hint like that or are you more of a newbie to linux and
Rivendell?

all the best,

drew


On Thu, Jan 30, 2020 at 2:53 PM Mark Murdock 
wrote:

> We are implementing Rivendell soon on air, and there’s one thing that
> still needs to be covered. On our website we have one week’s worth of songs
> that have played on KAMB so that people can look for songs that they have
> heard. You can see it here:
>
>
>
> https://www.celebrationradio.com/todays-songs/
>
>
>
> I want to generate the same sort of thing from Rivendell. I wrote a custom
> program in Visual Basic to handle this for Scott Studios, and I may tackle
> the same thing for Rivendell, but I’m wondering if there is a built-in way
> to accomplish this using PYPAD or something else.
>
>
>
> Thanks,
>
>
>
> Mark Murdock
>
> KAMB
>
> 90 E. 16th 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
>


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


Re: [RDD] pypad observation, possible bug

2020-01-24 Thread drew Roberts
Fred,

On Fri, Jan 24, 2020 at 10:05 AM Fred Gleason 
wrote:

> On Jan 20, 2020, at 07:30, drew Roberts  wrote:
>
> Is this just a bug in the config files offered but intended behaviour? Or
> is the template correct and we should be able to set up multiple instances
> in the same config file but there is a bug in the implementation?
>
>
>
> snip

>
> So yes, it is a bug, but one that is easily worked around. Just configure
> a separate PyPAD instance for each config.
>

I have already done so. If this is not a known bug, can this be considered
a bug report that is not a problem for us? 

all the best,

drew

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


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


  1   2   3   4   5   >