Re: [RDD] Hello guys

2020-05-05 Thread Phil Biehl
This begs the question how does one insure a full days log? My logs are short 
by a few hours.

Phil

> On May 5, 2020, at 2:34 AM, Wayne Merricks  
> wrote:
> 
> 
> Hi Andrejs,
> 
> I don't have Riv in front of me to check but you use log chains in your logs 
> to automatically go to the next log/day when it has finished.
> 
> This works fine if you can guarantee your timings but if you have any sort of 
> live shows with presenters who don't pay attention you might find your 
> midnight change over is all over the place.  This can lead to odd cuts in 
> songs when things realign for hourly news or whatever.
> 
> What I did to fix this was to use the aux log.  I had two events there.  
> About 10 seconds before midnight I did a make next on the log chain. 5 
> seconds before the midnight swap I did a fade down and play next which got 
> the log to swap over on time with a nicer fade rather than a hard cut.
> 
> My logs were always over filled to help prevent dead air at this point.
> 
> Hope this makes sense,
> 
> Wayne
> 
>> On Mon, May 4, 2020 at 5:39 PM  wrote:
>> 
>> Hello, everybody.
>> I'm new to Rivendell.
>> 
>> I would ask to help.
>> 
>> Is it possible to preload log in Rivendell.
>> 
>> How to make, that at night when the log is playing, when 20 seconds are 
>> left until the end, the next day log is preloaded.
>> 
>> 
>> -- 
>> Best regards,
>> Andrejs Grigorjevs
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
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 Phil Biehl
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?

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


[RDD] RDAirPlay Command Line options?

2020-04-26 Thread Phil Biehl
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


Re: [RDD] Automatic Log Generation

2020-04-25 Thread Phil Biehl
Ok, thanks all. I’ll give it a try.

Phil

> On Apr 25, 2020, at 3:53 PM, Marius Wikstøl  wrote:
> 
> 
> Err, that -p is supposed to be a -g.
> 
> Mvh
> Marius
> On 4/26/20 12:50 AM, Marius Wikstøl wrote:
>> I do this in crontab (crontab -e) like this.
>> 
>>> # if rivendell daemons are running, create the next days log if it doesn't 
>>> already exist
>>> 0 2 * * * [ "`systemctl is-active rivendell`" == "active" ] && 
>>> /usr/local/bin/rdlogmanager -g -t -P -s Production
>> It creates the next day's log at 2 am (if it doesn't already exist) so it's 
>> always a day ahead. Works like a charm.
>> My installation (rdlogmanager) is under /usr/local/bin, but yours might be 
>> in /usr/bin
>> 
>> -p - generate log
>> -t - merge traffic
>> -P don't overwrite existing log
>> -s 
>> 
>> Mvh
>> Marius
>> On 4/25/20 9:34 PM, Phil Biehl wrote:
>>> I have logs working more or less correctly in RDAirplay but I seem to have 
>>> a problem. When the log runs to the chain event to the next days log, it 
>>> fails and RDAirplay stops because there is no log to chain to. If there is 
>>> a log then all is well. How are log automatically generated? Any ideas why 
>>> it isn’t getting generated?
>>> 
>>> Thanks all,Phil
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Automatic Log Generation

2020-04-25 Thread Phil Biehl
Thanks for the pointers Andrew. So there is no way to have RDLogManager 
automatically generate logs?

> On Apr 25, 2020, at 12:59 PM, Andrew Pepper  wrote:
> 
> 
> Phil,
> I've found the easiest way is to call a script from crontab. I *think* there 
> is also a way to do the same from RDCatch, but I've never tried it.
> Here's a link to the wiki that should get you going.
> http://wiki.rivendellaudio.org/index.php/Creating_logs_from_the_command_line
> 
> Andrew
> 
>> On Sat, Apr 25, 2020 at 3:34 PM Phil Biehl  wrote:
>> I have logs working more or less correctly in RDAirplay but I seem to have a 
>> problem. When the log runs to the chain event to the next days log, it fails 
>> and RDAirplay stops because there is no log to chain to. If there is a log 
>> then all is well. How are log automatically generated? Any ideas why it 
>> isn’t getting generated?
>> 
>> Thanks all,Phil
>> 
>> 
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Automatic Log Generation

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

Thanks all,Phil


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


Re: [RDD] Rivendell v3.3.0

2020-03-30 Thread Phil Biehl


FYI, I have v3.3 on a Pi4 running under Raspian Buster which is Debian 10 
based. A fully integrated image with a fully functioning v3.3 included is 
available at https://www.edgeradio.org.au/rivendell-on-raspberry-pi.html. 
Kindly provided by Alastair Ling there at Edge Radio in Australia. It works 
well and Alastair supports it as well. 

Many thanks to him for his support and hard work.

Phil 

>> On Mar 30, 2020, at 12:04 AM, Rob Landry <41001...@interpring.com> wrote:
> 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.??
>> 
>>  --
>>  Have a nice sunday!
>>  ___
>>  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


[RDD] Mail list search?

2020-03-12 Thread Phil Biehl
   I don’t want to ask questions that have been asked and answered already 
before I’ve had a chance to search the list archives. However, doing so seems 
laborious as there does not appear to be a search option when viewing the 
archive. Am I missing something?

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


Re: [RDD] RDImport Question

2020-03-10 Thread Phil Biehl
Thanks to everyone who responded to my question. I have a working command
that imports everything below the current directory and passes it to
rdimport. That way I can run this thing for as long as it takes to import my
8000+ mp3 and flac files onto my NAS. The main problem I had was the spaces
in file and folder names but Steve's command: find ./ -name "*.mp3" -print0
| xargs -0 -n1 rdimport GROUP took care of the spaces nicely.

My command lIne: 
find ./ -name "*.mp3" -print0 | xargs -0 -n1 rdimport
--normalization-level=0 --fix-broken-formats --autotrim-level=0
--segue-level=-15 --verbose "New age"

Now I just have to wait a few days for this to complete on my little
Raspberry Pi.

Thanks all!
Phil


-Original Message-
From: Steve [mailto:riv...@braingia.org] 
Sent: Tuesday, March 10, 2020 7:10 PM
To: rivendell-dev@lists.rivendellaudio.org
Cc: Phil Biehl; 'User discussion about the Rivendell Radio Automation
System'
Subject: Re: [RDD] RDImport Question

Hello,

Yes, this can be done using the find command together with rdimport.  

For example, if you have cd'ed into the top-level directory in which you
store the music files (and their hierarchy), you can run this to list all of
the files:  (Assumes .wav files)

find ./ -name "*.wav" -print0

That will traverse all directories beginning with the current directory
looking for files that end with .wav.  

Pipe that into xargs with rdimport:

find ./ -name "*.mp3" -print0 | xargs -0 -n1 rdimport GROUP

where GROUP is the name of the group in Rivendell in which you want to
import.

I just tested this command and it worked for me.  Your mileage may vary.

find ./ -name "*.wav" -print0 | xargs -0 -n1 rdimport --verbose TEST

The command runs rdimport once for each file.  You could also remove the -n1
and it will run rdimport with all of the files at 
once which should increase performance.  I'm not that daring though, so I
use -n1.  The default for -n is 5000 (I think) so if 
you have more than 5000 files to import using xargs then increase -n
accordingly.  Make sure you have enough free carts in the 
group too.

Steve

> From: rivendell-dev-boun...@lists.rivendellaudio.org
 On Behalf Of Phil Biehl
> Sent: Tuesday, March 10, 2020 12:43 PM
> To: 'User discussion about the Rivendell Radio Automation System'

> Subject: [RDD] RDImport Question
> 
> Braintrust,
> I have a large number of music files I want to import to Riv that are
divided up into folders and subfolders. I???m hoping that there is a way to
get rdimport to process these files, traversing all these subfolders. Is
there a way to do this?
> 
> Thanks,
> Phil

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

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


[RDD] RDImport Question

2020-03-10 Thread Phil Biehl
Braintrust,

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

 

Thanks,

Phil

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


Re: [RDD] Riv with a NAS

2020-03-09 Thread Phil Biehl
Drew,

I am truly sorry you are having difficulty with this issue as well. I hope that 
you can recover from it quickly. 

 

I’ve been poking around the Raspian site and found that some people are having 
success with installing autofs which will automatically mount an appropriate 
file system. It seems a bit confusing on how to install and configure but if it 
works I’ll drop a note here.

 

Phil

 

From: drew Roberts [mailto:zotz...@gmail.com] 
Sent: Monday, March 09, 2020 6:26 AM
To: Phil Biehl
Cc: User discussion about the Rivendell Radio Automation System
Subject: Re: [RDD] Riv with a NAS

 

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 
th

Re: [RDD] Riv with a NAS

2020-03-08 Thread Phil Biehl
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? What 
information can I send you to help diagnose this. I can’t imagine this is a 
unique problem.

 

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 
Raspberry Pi Raspian permissions issue but I have not been able to figure out 
have to fix this even though the mount is successful.

 

 

Phil

 





On Mar 7, 2020, at 8:04 PM, Mike Carroll  wrote:



Hi, Phil.  

 

You're correct, it's "rd.conf".  (I work in three different operating systems 
in my day job, plus Rivendell/CentOS, and I forgot which one I was talking 
about. )

 

I'm not much of a Linux guy, but here's what I've done as an experiment.  I'm 
counting on the more experienced folks on the list to point out errors and 
flaws.  This is using Win10, standard Rivendell 3 on CentOS, running on VMWare 
under Win10, and a pretty old consumer-grade Netgear ReadyNAS, at address 
192.168.86.30.

1.  Use the Netgear web interface to create a shared folder in the NAS.  I 
used the name "rivendell".  Ensure the folder is marked public.
2.  By default, the only way to access a new ReadyNAS shared folder is by 
using Windows file services (Netgear calls this "CIFS").  Use the web interface 
to also activate these services for the "rivendell" folder:

1.  "NFS". Ensure the "Default Access" is set to "Read/write".  My NAS is 
on a UPS, so I've disabled "Sync mode".
2.  "HTTP/S".  Ensure the Default Access is set to something other than 
"Disabled".  I used "Read-only".

3.  I could now see the shared folder in a web browser, at 
192.168.86.30/rivendell, on both Windows and CentOS.

On the Rivendell/CentOS machine, you can access the NFS share by issuing these 
commands as root:

1.  Create a /var/rivendell directory. Don't put anything in it - this is 
used as a target for a mount.  mkdir /var/rivendell
2.  Make the NAS shared folder available to CentOS: mount -t nfs 
192.168.86.30:/rivendell /var/rivendell/ 

At this point you can work with /var/rivendell as if it were any other 
directory - except that it's on the NAS.  For example, you could update the 
rd.conf audio store settings to point to /var/rivendell instead of /var/snd  

 

The /var/rivendell directory on your local drive is hidden. If you unmount 
("umount") the /var/rivendell remote directory, the local one will re-appear. 

 

There are issues with Rivendell file and directory permissions, and you 
definitely want to update the /etc/fstab file so the NAS share gets mounted at 
boot time. I leave those as an exercise for someone more experienced than me.

 

Mike

 

On Sat, Mar 7, 2020 at 12:03 PM Phil Biehl  wrote:

Hello Mike,

I saw your post below on how t

Re: [RDD] Riv with a NAS

2020-03-08 Thread Phil Biehl
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 
Raspberry Pi Raspian permissions issue but I have not been able to figure out 
have to fix this even though the mount is successful.


Phil


> On Mar 7, 2020, at 8:04 PM, Mike Carroll  wrote:
> 
> 
> Hi, Phil. 
> 
> You're correct, it's "rd.conf".  (I work in three different operating systems 
> in my day job, plus Rivendell/CentOS, and I forgot which one I was talking 
> about. )
> 
> I'm not much of a Linux guy, but here's what I've done as an experiment.  I'm 
> counting on the more experienced folks on the list to point out errors and 
> flaws.  This is using Win10, standard Rivendell 3 on CentOS, running on 
> VMWare under Win10, and a pretty old consumer-grade Netgear ReadyNAS, at 
> address 192.168.86.30.
> Use the Netgear web interface to create a shared folder in the NAS.  I used 
> the name "rivendell".  Ensure the folder is marked public.
> By default, the only way to access a new ReadyNAS shared folder is by using 
> Windows file services (Netgear calls this "CIFS").  Use the web interface to 
> also activate these services for the "rivendell" folder:
> "NFS". Ensure the "Default Access" is set to "Read/write".  My NAS is on a 
> UPS, so I've disabled "Sync mode".
> "HTTP/S".  Ensure the Default Access is set to something other than 
> "Disabled".  I used "Read-only".
> I could now see the shared folder in a web browser, at 
> 192.168.86.30/rivendell, on both Windows and CentOS.
> On the Rivendell/CentOS machine, you can access the NFS share by issuing 
> these commands as root:
> Create a /var/rivendell directory. Don't put anything in it - this is used as 
> a target for a mount.  mkdir /var/rivendell
> Make the NAS shared folder available to CentOS: mount -t nfs 
> 192.168.86.30:/rivendell /var/rivendell/ 
> At this point you can work with /var/rivendell as if it were any other 
> directory - except that it's on the NAS.  For example, you could update the 
> rd.conf audio store settings to point to /var/rivendell instead of /var/snd  
> 
> The /var/rivendell directory on your local drive is hidden. If you unmount 
> ("umount") the /var/rivendell remote directory, the local one will re-appear. 
> 
> There are issues with Rivendell file and directory permissions, and you 
> definitely want to update the /etc/fstab file so the NAS share gets mounted 
> at boot time. I leave those as an exercise for someone more experienced than 
> me.
> 
> Mike
> 
> On Sat, Mar 7, 2020 at 12:03 PM Phil Biehl  wrote:
>> Hello Mike,
>> 
>> I saw your post below on how to specify a different sound directory from the 
>> default /var/snd but upon looking int ot I don’t quite see what you mean. 
>> First you said the file to do this is /etc/rd.config. I suspect you meant 
>> etc/rd.conf? Once in that file I see the [AudioStore] section but I do not 
>> see any mention of /var/snd. How does one make Riv look for a NAS mounted 
>> folder?
>> 
>>  
>> 
>> Thanks very much,
>> 
>> Phil
>> 
>>  
>> 
>>  
>> 
>> 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 int

[RDD] Riv with a NAS

2020-03-03 Thread Phil Biehl
Hello All,
I’m a fairly new user to Riv. My project is running it on Raspberry Pi4 using 
the image graciously provided by Edge Radio at 
https://www.edgeradio.org.au/rivendell-on-raspberry-pi.html version 3.20. since 
the Pi’s memory capacity is limited, I would like to have all converted audio 
located on my NAS. My installation will be for music play out only. No spots, 
promos or otherwise. Is there a way to have Rivendale do this. Both for play 
out and importing?

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


Re: [RDD] Ubuntu 18.04 rivendell 2.19.3

2019-01-22 Thread Phil Biehl
Tim,

I'm interested in your Ubuntu/Rivendell ISO release.

 

Thanks,

Phil

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