[RDD] EVENT.FIRST_TRANS_TYPE Purpose

2020-04-02 Thread Patrick Linstruth
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


[RDD] Loading Logs

2020-04-01 Thread Patrick Linstruth
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


Re: [RDD] Rivendell and Cirrus Streaming

2020-03-04 Thread Patrick Linstruth
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


Re: [RDD] RD Scheduler codes selections

2019-10-08 Thread Patrick Linstruth
Your first issue is fixed in Rivendell 3.

Cart expiration dates are handled during play out, not scheduling, which may or 
may not be the appropriate thing to do.

Patrick

> On Oct 8, 2019, at 7:55 PM, Stan Fotinos  wrote:
> 
> HI all
> 
> I just created a test event to select carts from a group called "spots" and 
> have specified that it Must have code "drive".
> 
> What I am finding is if I don't have any carts in the group "spots" that have 
> a scheduler code "drive" assigned, it will still select any cart from this 
> group.
> 
> Shouldn't this event be empty considering I have no carts in this group that 
> fit the criteria?
> 
> Also I have noticed that expired carts are also scheduled, should this be 
> part of the selection process?
> 
> Kind regards
> 
> -- 
> Stan Fotinos
> Broadcast Engineer
> 
> RTRFM 92.1 The Sound Alternative
> P Please consider the environment before printing my email
> P (08) 9260 9200
> PO Box 842, Mt Lawley 6929
> 1st Floor, 642 Beaufort St, Mt Lawley 6050
> www.rtrfm.com.au
> 
> ___
> 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] Glasscoder icecast/shoutcast V1

2019-08-20 Thread Patrick Linstruth
I think that’s the main benefit of IPv6. No more NAT!

My belief is IPv6 is being adopted slowly due to the “if it isn’t broke, don’t 
fix it” paradigm. I for one don’t like changing anything on my networks unless 
I have to. Changes always have unintended consequences (just look at some of my 
Rivendell PRs). Since most people have plenty enough address space and don’t 
seem to mind running NAT, there isn’t any real reason to change (hey, let’s 
change our entire network topography for no perceived benefit). I suppose when 
I ask AWS for an elastic IPv4 address and they tell me to go pound sand, it 
will force the issue for me. As for my home, Frontier DSL and Rise Wireless… 
I’m not sure if they can even spell IPv6.

There’s also the support issue. I don’t know if you ever had to have someone, 
that can barely use a mouse, enter an IP address over the phone before. It’s 
only four 1-3 digit numbers and 3 periods, but you’d think you were having them 
enter the formula for transparent aluminum.

Patrick

> On Aug 20, 2019, at 10:49 AM, Bill Putney  wrote:
> 
> 
> On 8/20/19 9:25 AM, Cowboy wrote:
>> On Tue, 20 Aug 2019 09:07:11 -0700
>> Bill Putney  wrote:
>> 
>>> I am amazed at how slow the adoption of IPv6 has been.
>>  I'm not. Not at all !
>> 
>>> There has been a
>>> working set of specs and hardware for almost 2 decades.
>>  True !
>> 
>>> I don't know of
>>> anything built in the last decade that wasn't IPv6 capable.
>>  Really ?
>>  I'm not aware of much that *was* IPv6 capable the last 8 or ten years.
>>  Today, 2019, sure. 2009, not so sure.
> IPv6 been part of the requirements for equipment acquisition since the turn 
> of the century. Certainly any network hardware all the computer operating 
> systems and most appliances. People leave it turned off a lot because they 
> don't have access to networks that support v6, but it's there.
>> 
>>> There
>>> haven't been IPv4 addresses available for 3 or so years.
>>  That's flat not true !!
>>  There have been and remain so today.
> Try to get a v5 CIDR block from ARIN. They were exhausted about 3 years ago. 
> Even a /24 block. you can still get IP addresses from carriers, but starting 
> a new  ISP and see how far you get finding IP space.
>> 
>>> The only thing
>>> I can imagine is that there is some market force at work that is slowing
>>> it down.
>>  That's part of it, yes.
>>  google is pushing IPv6 hard, but we're getting to the point where google is 
>> the
>>  well known extra-legal universal mercenary spy organization.
>>  ( here's this portable camera/gps which we want you to take into the bath 
>> room with you
>>  so that you will have a better user experience. Yeah, right ! )
>>  Knowing how evil google has become ( even dropped their moto "don't be 
>> evil" ) anyone
>>  *that* evil who favors IPv6 is almost reason enough to run like a raped ape 
>> !
> Well, that's just silly. Go ahead and mistrust Google but it has nothing to 
> do with IPv6. IPv6 has such a huge address space, we can discreetly address 
> every grain of sand in the known universe. I suppose if we all stopped using 
> NAT at gateways and every device had a unique address, folks lie Google and 
> NSA could find a way to get up to some mischief. When I started working in 
> the field, we all used unique addresses because no one could imagine we'd run 
> out of the 4 octets of addresses. When I got my /24 in the 80's, the folks at 
> SRI who had the contract to manage domains and addresses tried to talk me 
> into a /16. I should have taken them up on it. Who knew I'd have a house full 
> of computers?
>> 
>>> Like all the big carriers that have all the v4 address space
>>> have too much control of ICAN.
>>  No.
>>  More like the major backbone providers still have a great deal of IPv4 
>> equipment
>>  out there in regular service. They're not going to trash it "just because" !
> All of the equipment in the backbone can do both and have been capable since 
> the turn of the century. They don't have to "trash" anything, except that it 
> all becomes too slow pretty frequently.
>> 
>>> They've made some pretty stupid rules
>>> around getting v6 address space. Not at all what you'd expect if you
>>> wanted to fast track v6 adoption.
>>  Nobody wants to fast track it, except google of course, and a few 
>> politicians.
>>  Basically, the people pushing it are nefarious enough to be reason alone
>>  to walk away from it at any and every opportunity.
>> 
>>  Remember the whole Y2K scares ?
>>  This is much the same.
>>  Ho, hum.
>> 
> ___
> 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] Export and Transfer of Audio Carts from 2.19.2 to 3.0.1

2019-07-29 Thread Patrick Linstruth
Here's what I did:

1) Copy /var/snd from the 2.19.2 system to /var/snd on your 3.0.1 system.

2) Export/dump the MySQL database on your 2.19.2 system and copy the SQL 
export/dump to your 3.0.1 system. If I recall correctly this is done in RDAdmin 
on 2.19.2.

3) On the 3.0.1 system run RDDbConfig (Rivendell->Configuration->RDDBConfig) 
and import your SQL file. After the file is imported it will tell you that the 
database needs to be upgraded. Upgrade it. It may take a while so be patient.

4) Got into RDAdmin on the 3.0.1 system and make sure you have a host 
configured that matches the name of your 3.0.1 system.

That's all there is to it.

Patrick


> On Jul 29, 2019, at 1:25 PM, T.J. Misilo  wrote:
> 
> Is there a way to successfully transfer audio from 2.19.2 to 3.0.1?  I would 
> like to only copy audio between the systems.   I have tried running the 
> rivendell_filter on the new machine:
> rivendell_filter -h REMOTEIP -u rduser -p REMOTEPASSWORD -A /var/ProdDB -G 
> IDENTS -s 060101 -e 60500
> I get the following messages:
> Transferring cart 060107 [CART NAME]...QMYSQLResult::date column 36 out of 
> range.
> 
> The system transfers the audio but not the cart entries to the database.
> 
> I have also tried exporting the files from the older system with xml and 
> transferring via ftp to the new machine and importing to the newer system and 
> get the following error:
> 
> Export command:
> rdexport --allow-clobber --carts=06001:060500 --xml ./
> Import Command
> rdimport --xml --use-cartchunk-cutid IDENTS *.wav
> 
> File "060107_001.wav" has an invalid or out or range Cart Number, skipping...
> 
> :The IDENTS group has a range of 60101 to 60500 and enforcing the cart range.
> 
> Thanks for and advice,
> 
> T.J.
> WFIT
> ___
> 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] RDLibrary Database Error

2019-07-26 Thread Patrick Linstruth
This is due to latest versions of MySQL:

https://dev.mysql.com/doc/refman/5.7/en/group-by-handling.html

Until Rivendell is updated to support this new default, you will need to 
disable ONLY_FULL_GROUP_BY.

Patrick

> On Jul 26, 2019, at 2:40 PM, Emir Yapıcı  wrote:
> 
> Hello Fred, everyone!
> 
> Thanks for your awesome work on Rivendell v3.
> 
> I've done a fresh RD v3.0.1 install on xubuntu 18.04 without any errors.
> I have a weird database error in rdlibrary. I cannot add or show any items 
> even if test cart. When i run it from terminal and try to add a song, these 
> errors occurs:
> 
> rduser@rdserver:~$ rdlibrary 
> DB connection re-established
> invalid SQL or failed DB connection[Expression #25 of SELECT list is not in 
> GROUP BY clause and contains nonaggregated column 
> 'Rivendell.CUTS.TALK_START_POINT' which is not functionally dependent on 
> columns in GROUP BY clause; this is incompatible with 
> sql_mode=only_full_group_by QMYSQL: Unable to execute query]: select 
> CART.NUMBER,CART.FORCED_LENGTH,CART.TITLE,CART.ARTIST,CART.ALBUM,CART.LABEL,CART.CLIENT,CART.AGENCY,CART.USER_DEFINED,CART.COMPOSER,CART.PUBLISHER,CART.CONDUCTOR,CART.GROUP_NAME,CART.START_DATETIME,CART.END_DATETIME,CART.TYPE,CART.CUT_QUANTITY,CART.LAST_CUT_PLAYED,CART.ENFORCE_LENGTH,CART.PRESERVE_PITCH,CART.LENGTH_DEVIATION,CART.OWNER,CART.VALIDITY,GROUPS.COLOR,CUTS.TALK_START_POINT,CUTS.TALK_END_POINT
>  from CART left join GROUPS on CART.GROUP_NAME=GROUPS.NAME left join CUTS on 
> CART.NUMBER=CUTS.CART_NUMBER inner join CART_SCHED_CODES as S0 on 
> (CART.NUMBER=S0.CART_NUMBER and S0.SCHED_CODE='') inner join CART_SCHED_CODES 
> as S1 on (CART.NUMBER=S1.CART_NUMBER and S1.SCHED_CODE='') where  
> ((CART.TITLE like "%%")||(CART.ARTIST like "%%")||(CART.CLIENT like 
> "%%")||(CART.AGENCY like "%%")||(CART.ALBUM like "%%")||(CART.LABEL like 
> "%%")||(CART.NUMBER like "%%")||(CART.PUBLISHER like "%%")||(CART.COMPOSER 
> like "%%")||(CART.CONDUCTOR like "%%")||(CART.SONG_ID like 
> "%%")||(CART.USER_DEFINED like "%%")||(CUTS.ISCI like "%%")||(CUTS.ISRC like 
> "%%")||(CUTS.DESCRIPTION like "%%")||(CUTS.OUTCUE like "%%")) && 
> ((TYPE=1)||(TYPE=2)||(TYPE=3)) group by CART.NUMBER order by CART.NUMBER 
> limit 100
> DB connection re-established
> invalid SQL or failed DB connection[Expression #25 of SELECT list is not in 
> GROUP BY clause and contains nonaggregated column 
> 'Rivendell.CUTS.TALK_START_POINT' which is not functionally dependent on 
> columns in GROUP BY clause; this is incompatible with 
> sql_mode=only_full_group_by QMYSQL: Unable to execute query]: select 
> CART.NUMBER,CART.FORCED_LENGTH,CART.TITLE,CART.ARTIST,CART.ALBUM,CART.LABEL,CART.CLIENT,CART.AGENCY,CART.USER_DEFINED,CART.COMPOSER,CART.PUBLISHER,CART.CONDUCTOR,CART.GROUP_NAME,CART.START_DATETIME,CART.END_DATETIME,CART.TYPE,CART.CUT_QUANTITY,CART.LAST_CUT_PLAYED,CART.ENFORCE_LENGTH,CART.PRESERVE_PITCH,CART.LENGTH_DEVIATION,CART.OWNER,CART.VALIDITY,GROUPS.COLOR,CUTS.TALK_START_POINT,CUTS.TALK_END_POINT
>  from CART left join GROUPS on CART.GROUP_NAME=GROUPS.NAME left join CUTS on 
> CART.NUMBER=CUTS.CART_NUMBER where 
> ((CART.GROUP_NAME="TEMP")||(CART.GROUP_NAME="TEST")||(CART.GROUP_NAME="TRAFFIC")||(CART.GROUP_NAME="MUSIC")||(CART.GROUP_NAME="BEDS")||(CART.GROUP_NAME="STINGS")||(CART.GROUP_NAME="MACROS")||(CART.GROUP_NAME="LEGAL")||(CART.GROUP_NAME="IDENTS"))&&
>  ((CART.TITLE like "%%")||(CART.ARTIST like "%%")||(CART.CLIENT like 
> "%%")||(CART.AGENCY like "%%")||(CART.ALBUM like "%%")||(CART.LABEL like 
> "%%")||(CART.NUMBER like "%%")||(CART.PUBLISHER like "%%")||(CART.COMPOSER 
> like "%%")||(CART.CONDUCTOR like "%%")||(CART.SONG_ID like 
> "%%")||(CART.USER_DEFINED like "%%")||(CUTS.ISCI like "%%")||(CUTS.ISRC like 
> "%%")||(CUTS.DESCRIPTION like "%%")||(CUTS.OUTCUE like "%%")) && 
> ((TYPE=1)||(TYPE=2)||(TYPE=3)) group by CART.NUMBER order by CART.NUMBER 
> limit 100
> ReadAtom: "/media/rduser/FIESTA_MSC/037 - Far East Movement feat Cataracs and 
> Dev - Like A G6.mp3": invalid atom size, extends outside parent atom - 
> skipping to end of "" "" 1229206275 vs 5361370
> ReadAtom: "/media/rduser/FIESTA_MSC/037 - Far East Movement feat Cataracs and 
> Dev - Like A G6.mp3": atom type  is suspect
> ReadChildAtoms: "/media/rduser/FIESTA_MSC/037 - Far East Movement feat 
> Cataracs and Dev - Like A G6.mp3&q

Re: [RDD] Riv 3.0 scrolls through logs after 3 days

2019-05-18 Thread Patrick Linstruth
Would you be able to post some of the log from when it’s scrolling? Maybe we 
can see something.

Sent from my iPhone

> On May 18, 2019, at 9:24 AM, Brian McGlynn  
> wrote:
> 
> I see the same thing on Jack and Alsa.  This just appeared in RC1 and RC2.  
> 
> I looked in the CAED logs, and I did not see more than 2 streams being used.  
> The mount is also fine. 
> 
> To make it work again, I need to reset all of the Rivendell daemons.  When I 
> try to play otherwise, it does not show VU meters. 
> 
> I’ll dig more next time it stops. 
> 
> 
>> On Sat, May 18, 2019 at 11:41 Tom Van Gorkom  wrote:
>> Mine is a standalone using livewire driver. 
>> 
>>> On Sat, May 18, 2019, 10:15 AM Rick  wrote:
>>> Also starts scrolling at high speed when connection to storage or nas is 
>>> unexpectedly lost,  using network-manager solves it
>>> 
>>> 
>>> 
>>> Verzonden vanaf mijn Samsung-apparaat
>>> 
>>> 
>>>  Oorspronkelijk bericht 
>>> Van: Patrick Linstruth  
>>> Datum: 18-05-2019 15:18 (GMT+01:00) 
>>> Aan: "Brian P. McGlynn"  
>>> Cc: rivendell-dev@lists.rivendellaudio.org 
>>> Onderwerp: Re: [RDD] Riv 3.0 scrolls through logs after 3 days 
>>> 
>>> The only time I’ve ever seen RDAirplay race through the logs is when it 
>>> runs out of audio channels, but it indicates that fact in the logs. This 
>>> happened when our ASI card was set to 4 channels instead of 12.
>>> 
>>> Patrick
>>> 
>>>> On May 17, 2019, at 5:37 PM, Brian P. McGlynn 
>>>>  wrote:
>>>> 
>>>> I see the same behaviour on RC2.  I have to restart the daemons to get it 
>>>> to work. 
>>>> 
>>>> I looked through the logs, and nothing was obvious. 
>>>> 
>>>> Sent from my iPad
>>>> 
>>>>> On May 17, 2019, at 10:06, Tom Van Gorkom  wrote:
>>>>> 
>>>>> Using Riv 3.0 with CentOS 7 with the Livewire driver on a standalone for 
>>>>> both testing and a backup audio source if the automation goes quiet...
>>>>> 
>>>>> Running a series of about 20 logs in a loop, RDairplay runs fine for 
>>>>> about 3 days at a time and then starts scrolling rapidly through each 
>>>>> log. I have to force quit RDairplay and restart it again. I re-generated 
>>>>> all of the logs to make sure there were no issues with them and started 
>>>>> in different places with the same result. The same setup with Riv 2.19 
>>>>> and CentOS 6 on identical hardware works flawlessly. What might be 
>>>>> causing this?
>>>>> 
>>>>> Tom Van Gorkom
>>>>> Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
>>>>> Office: 956-380-8150   
>>>>> Cell: 865-803-7427
>>>>> 
>>>>> Rio Grande Bible Institute
>>>>> 4300 S US Hwy 281
>>>>> Edinburg, TX 78539
>>>>> ___
>>>>> Rivendell-dev mailing list
>>>>> Rivendell-dev@lists.rivendellaudio.org
>>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>> ___
>>>> Rivendell-dev mailing list
>>>> Rivendell-dev@lists.rivendellaudio.org
>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>> 
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> -- 
> --
> Brian P. McGlynn
> Genesee Media Corporation
> WOKR - 1310 & 95.5 FM
> 
> 585-785-4495 x202
> bmcgl...@geneseemedia.net
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Riv 3.0 scrolls through logs after 3 days

2019-05-18 Thread Patrick Linstruth
The only time I’ve ever seen RDAirplay race through the logs is when it runs 
out of audio channels, but it indicates that fact in the logs. This happened 
when our ASI card was set to 4 channels instead of 12.

Patrick

> On May 17, 2019, at 5:37 PM, Brian P. McGlynn 
>  wrote:
> 
> I see the same behaviour on RC2.  I have to restart the daemons to get it to 
> work. 
> 
> I looked through the logs, and nothing was obvious. 
> 
> Sent from my iPad
> 
> On May 17, 2019, at 10:06, Tom Van Gorkom  <mailto:tomvangor...@gmail.com>> wrote:
> 
>> Using Riv 3.0 with CentOS 7 with the Livewire driver on a standalone for 
>> both testing and a backup audio source if the automation goes quiet...
>> 
>> Running a series of about 20 logs in a loop, RDairplay runs fine for about 3 
>> days at a time and then starts scrolling rapidly through each log. I have to 
>> force quit RDairplay and restart it again. I re-generated all of the logs to 
>> make sure there were no issues with them and started in different places 
>> with the same result. The same setup with Riv 2.19 and CentOS 6 on identical 
>> hardware works flawlessly. What might be causing this?
>> 
>> Tom Van Gorkom
>> Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
>> Office: 956-380-8150   
>> Cell: 865-803-7427
>> 
>> Rio Grande Bible Institute
>> 4300 S US Hwy 281
>> Edinburg, TX 78539
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org 
>> <mailto:Rivendell-dev@lists.rivendellaudio.org>
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev 
>> <http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> 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] Riv 3.0 scrolls through logs after 3 days

2019-05-17 Thread Patrick Linstruth
I’d check /var/log and see what it has to say.

Sent from my iPhone

> On May 17, 2019, at 9:05 AM, Fred Gleason  wrote:
> 
>> On Fri, 2019-05-17 at 09:06 -0500, Tom Van Gorkom wrote:
>> Running a series of about 20 logs in a loop, RDairplay runs fine for
>> about 3 days at a time and then starts scrolling rapidly through each
>> log. I have to force quit RDairplay and restart it again. I re-
>> generated all of the logs to make sure there were no issues with them
>> and started in different places with the same result. The same setup
>> with Riv 2.19 and CentOS 6 on identical hardware works flawlessly.
>> What might be causing this?
> 
> That's smelling like a resource leak of some kind. You mention that you
> have to 'force quit' RDAirplay. What happens if you attempt to quit it
> by the usual means? Is there anything else that you have to do to
> recover from this?
> 
> Cheers!
> 
> 
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
> | A room without books is like a body without a soul. |
> | |
> | -- Cicero   |
> |-|
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] Rivendell and MusicMaster

2019-05-15 Thread Patrick Linstruth



> On May 15, 2019, at 8:33 AM, Fred Gleason  wrote:
> 
> On Tue, 2019-05-14 at 16:39 -0700, Patrick Linstruth wrote:
>> Log changes in MusicMaster after a merge would have to be re-merged
>> in RDLogManager.
> 
> Just as it is now with the flat-file interface.
> 
> 
>> RDAirplay Event Start/End air times are pushed to MusicMaster
> Library.
>> [...]
>> Log changes in Rivendell would not be pushed to MusicMaster.
> 
> I'm a little confused here. By 'log changes', you mean 'as-played
> data', correct? Which would most certainly include changes made to the
> log in Rivendell. Or are these two different things?
> 

As-played (airTime) data isn't a problem. That's already working with the 
RDNotification changes and RDAirplay.

Log changes, meaning add/modify/delete log entries/events. If a log is changed 
in RDLogEdit or MusicMaster they won't immediately notify the other of the 
change.

> 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


Re: [RDD] Rivendell and MusicMaster

2019-05-14 Thread Patrick Linstruth
It could. In fact, rdnexusd could simply create the same flat file that is 
currently imported once it detects new data. Nothing in RDLogManager would have 
to change.

So I think this is what we have so far:

Changes in RDLibrary are pushed to MusicMaster Library.
Changes in MusicMaster Library are pulled into RDLibrary.
RDAirplay Event Start/End air times are pushed to MusicMaster Library.
MusicMaster schedules are automatically created in path specified by 
RDAdmin->MusicDataImport setting.
Add a "MusicMaster Nexus" import template to RDAdmin->MusicDataImport.
Add MusicMaster Nexus rdnexusd configuration to RDAdmin specifying host, port, 
database, and field mappings.
Launch rdnexusd instances from rdservice.
Command line utilities.

This would have a couple of limitations:

Log changes in MusicMaster after a merge would have to be re-merged in 
RDLogManager.
Log changes in Rivendell would not be pushed to MusicMaster.

> On May 14, 2019, at 3:38 PM, Fred Gleason  wrote:
> 
> On Tue, 2019-05-14 at 15:02 -0700, Patrick Linstruth wrote:
>> It's a pull model. The client (Rivendell) initiates all transfers. I
>> feel that ManageServices is where the MusicMaster stuff should go.
>> 
>> The library is pretty slick. We can ask for a list of song/metadata
>> changes since the last time we asked.
>> The scheduling isn't quite as elegant. We can either ask for a
>> date/time range and get elements (log events) or not, or there is a
>> "last scheduled" date we can poll for and request new elements that
>> way.
>> 
>> Both of these are only a problem if more than one Rivendell host is
>> asking for the same information, in which case we'd have to manage
>> syncs another way.
> 
> Library synchronization could be handled through a single rdrepld(8)
> instance as that data is site-wide anyway. Is there any reason why
> rdlogmanager(8) couldn't ask for the relevant scheduler elements
> synchronously when it needs them to populate 'IMPORTER_LINES'?
> 
> 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


Re: [RDD] Rivendell and MusicMaster

2019-05-14 Thread Patrick Linstruth


> On May 14, 2019, at 2:48 PM, Fred Gleason  wrote:
> 
> On Tue, 2019-05-14 at 13:53 -0700, Patrick Linstruth wrote:
>> It is the scheduler that has a very specific methodology based on
>> importing a flat file at the time the person wants to do the merge.
>> The mere presence of a file turns the red lights green that data is
>> available for a merge. The concept of the "live log" updates you
>> mentioned doesn't seem to fit the existing architecture.
> 
> If 'live log' type operations are off the table, then it should fit
> pretty neatly into the existing framework. We need one new enumeration;
> call it 'schedule source'. It can have two possible values: 'Column
> Aligned File' (the existing implementation) and 'MusicMaster Nexus'. In
> each case, the goal is to transform a schedule from the given
> representation to a set of rows in the 'IMPORTER_LINES' table. Once
> that's done, the rest of the log merge can proceed just as it does now.
> 

The library could be live in both directions as I believe the existing 
framework will support that with minimal changes.
I'll have a better opinion on the scheduler later.

> 
>> At this point I'm leaning towards an rdnexusd daemon and a separate
>> admin/configuration from Replication to handle external schedulers.
> 
> Assuming that the Nexus architecture permits it, I think I'd treat the
> audio replication and the schedule integration as entirely orthogonal
> processes. Audio replication properly belongs in rdrepld(8) with 
> configuration in RDAdmin->ManageReplicators, while schedule importation 
> should be configured in RDAdmin->ManageServices. As for the implementation 
> thereof, it depends. Is Nexus built around a 'push' or a 'pull' model? Which 
> side initiates schedule transfers?

It's a pull model. The client (Rivendell) initiates all transfers. I feel that 
ManageServices is where the MusicMaster stuff should go.

The library is pretty slick. We can ask for a list of song/metadata changes 
since the last time we asked.
The scheduling isn't quite as elegant. We can either ask for a date/time range 
and get elements (log events) or not, or there is a "last scheduled" date we 
can poll for and request new elements that way.

Both of these are only a problem if more than one Rivendell host is asking for 
the same information, in which case we'd have to manage syncs another way.

> 
> Cheers!
> 
> 
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
> | Handshaking protocol, n:|
> | A process employed by hostile hardware devices to initiate a terse  |
> | but civil dialogue, which, in turn, is characterized by occasional  |
> | misunderstanding, sulking and name-calling. |
> |-|
> 

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


Re: [RDD] Rivendell and MusicMaster

2019-05-14 Thread Patrick Linstruth
I have not used Replication. At this point in time, I'm mostly working on the 
RDNexus model and have some command line utilities running.

Dealing with the bi-directional library updates has been fairly 
straight-forward, as was the "as played" info once I added some playout 
notifications and timestamp data to RDNotification and RDAirplay. It is the 
scheduler that has a very specific methodology based on importing a flat file 
at the time the person wants to do the merge. The mere presence of a file turns 
the red lights green that data is available for a merge. The concept of the 
"live log" updates you mentioned doesn't seem to fit the existing architecture. 
That's why I'm asking so many questions about the logs and merging, since 
that's an area I have not spent a lot of time in.

I'm going to continue working on the RDNexus glue between Rivendell and Nexus 
using command line tools, and once that interface is ironed out, start looking 
at the actual integration.

At this point I'm leaning towards an rdnexusd daemon and a separate 
admin/configuration from Replication to handle external schedulers.

Hopefully we get more feedback on the subject.

Patrick

> On May 14, 2019, at 10:18 AM, Fred Gleason  wrote:
> 
> On Mon, 2019-05-13 at 13:12 -0700, Patrick Linstruth wrote:
>> My first thought was to have nexusd daemon just make the logs
>> directly. This was assuming external music schedulers were used to
>> generate all elements of an hour. But after talking to John, people
>> use a hybrid system, where RDLogManger clocks contain locally-
>> generated events, like legal ids, and only merge part of an hour from
>> an external scheduler.
> 
> CC'ing John and Scott into this thread ...
> 
> Actually, *both* models are popular. Facilities that lay on a lot of
> mixed programming --e.g. talk and 'ethnic' formats -- typically use the
> 'hybrid' model. However, stations that are heavily music-oriented often
> want to do *all* of their scheduling in the external music system, with
> only very minimal scheduling added in rdlogmanager(1). 
> 
> 
>> With this information, I thought, have nexusd import log events into
>> IMPORTER_LINES and merge with RDLogManager like normal. The only
>> difference is there wouldn't be a text file moved around and changes
>> to the merged log on Rivendell using RDLogEdit would be also be
>> updated in MusicMaster.
> 
> Sounds like a reasonable approach.
> 
> 
>> To facilitate MusicMaster and other schedulers with an API, RDAdmin-
>>> Manage Services "Music Data Import" would be updated to choose
>> between File, Nexus, etc, and request the appropriate information
>> based on import type.
> 
> This of course assumes that scheduling will continue to be done on a
> 'batch' basis --i.e. import a finished music schedule at some point
> prior to the target log being placed on-air. Then, after the complete
> log has been aired, generate a report and send it back to the scheduler
> system so it knows what actually aired.
> 
> The point of many 'live log' type setups however is to go beyond that,
> allowing a PD to make changes to a music schedule in that scheduler's
> native UI and then have the change show up automatically in realtime on
> the automation log. Likewise, 'as-played' data from the automation
> shows up in the scheduler's native UI synchronously as the events are
> actually played on air. Does MusicMaster support such capabilities?
> 
> 
>> On a positive note, I do have a prototype running that is syncing
>> RDLibrary and MusicMaster Library changes with each other.
> 
> Cool! Did you do that through the generic 'Replication' framework in
> Rivendell, or was some other approach required?
> 
> 
>> Scheduling is a whole different animal, which is why I was reaching
>> out the list for more education and ideas.
> 
> Yup. We're going 'where no man has gone before' here as far as
> Rivendell is concerned. Don't hesitate to include John and Scott (or
> even the Rivendell community at Rivendell-devel) in these design
> discussions. Those are the guys that live with these workflows every
> day, and can provide a lot more insight into what will and will not
> work than I in my ivory tower.
> 
> Cheers!
> 
> 
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
> | Research is what I'm doing when I don't know what I'm doing.|
> | |
> |   -- Werner von Braun   |
> |-|
> 

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


[RDD] Rivendell and MusicMaster

2019-05-13 Thread Patrick Linstruth
I am currently working on integrating Rivendell with MusicMaster's Nexus 
interface.

https://www.musicmaster.com/nexus.php

For those of you currently using Rivendell with MusicMaster, do you have any 
suggestions on how you'd like to see this interface work?

For starters, we need to be able to keep the two libraries in sync. Should 
MusicMaster require standard/specific field names for cart number, artist, 
title, etc or should Rivendell provide for a translation table so that, for 
example, the Rivendell cart number can be defined in MusicMaster's library 
fields as anything such as "Cart#", "CartNo", "Cart Number", or "XYZZY"?

Should merging remain the same through RDLogManager(1) but have the MusicMaster 
events come directly from MusicMaster rather than through a flat file.

Any feedback would be appreciated.

Patrick

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


[RDD] Changing RDLibrary minimum window width

2019-05-09 Thread Patrick Linstruth
I submitted a PR to the Rivendell 3.0 master branch that adds a second 
scheduler code filter and cart count to RDLibrary. This update required 
increasing the minimum width from 850 to 975.

Does anyone see any problem with increasing the minimum width?

Patrick

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


[RDD] Bug in RDLogManager rename event (3.0)

2019-04-21 Thread Patrick
I just broke some clocks on my production server (running 3.0 beta) by renaming 
an event in RDLogManager. If you're running 3.0, you may want to refrain from 
renaming any events. I've pushed a PR that should fix it.

—
Patrick
patr...@scnv.net



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


Re: [RDD] Compiling Rivendell 3.0 rc0.0 on debian 9

2019-04-20 Thread Patrick
Clearly we need some instructions for compiling on Debian systems.

If anyone has them, maybe we can add them to the master branch.

I think in this case it’s because your non-root user path doesn’t have /sbin or 
/usr/sbin in it. As root you can “which runuser” and see where it’s at.

Add the directory that contains runuser to your path and you’ll be golden (at 
least for configure). 

Sent from my iPhone

> On Apr 20, 2019, at 11:58 AM, Tim Camp  wrote:
> 
> 
> 
> configure halts on this error
> configure: error: *** runuser(1) not found ***
> 
> The only way to get configure to not fail is to run as root.
> 
> Tim Camp
> WZEW-FM
> 
> ___
> 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] Autofill Voice Tracks

2019-03-28 Thread Patrick
Sometimes we are not able to voice track all of our slots. This leaves empty 
spots in the programming.

What do people think about the idea of adding a default cart to use if the log 
machine encounters an empty voice track? For example, it could be set to a cart 
full of bumpers or sweepers.

The configuration setting could be placed in RDAdmin->EditService under 
Voicetrack Group.

Patrick

—
Patrick
patr...@scnv.net



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


Re: [RDD] RDAirplay Colors

2019-03-25 Thread Patrick
At this time the only color we can set in RDAirplay is the color of the group.

I've often wanted the event color to carry over to RDAirplay too to be used as 
the background color instead of white.

—
Patrick
patr...@scnv.net



> On Mar 25, 2019, at 1:11 PM, Fred Gleason  wrote:
> 
> On Mon, 2019-03-25 at 14:44 -0500, Steve wrote:
>> Is there an easy way to customize the colors of events within
>> RDAirplay?  
> 
> Not particularly. The color scheme is mostly defined in the
> 'rdairplay/colors.h' header, with some additional values in 'lib/rd.h'.
> You'd need to modify those headers and then do a custom build.
> 
> Cheers!
> 
> 
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
> | A room without books is like a body without a soul. |
> | |
> | -- Cicero   |
> |-|
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] Scheduler codes time taken

2019-03-19 Thread Patrick
There have been some optimizations made to scheduler in Rivendell 3. I'm not 
aware of any issues with scheduler codes in the 2.x branch, but the stack that 
keeps track of carts for artist/title separation grows indefinitely which could 
severely slow down log generation. Rivendell 3 purges the stack during 
maintenance runs which helps to keep log generation quick.

Our Rivendell 3 beta system creates 24 hour logs in under a minute.

—
Patrick
patr...@scnv.net



> On Mar 19, 2019, at 9:22 AM, Chuck  wrote:
> 
> We're still on v2.10.3, but yes, it takes 4 hours to create one day's
> music log of 432 songs using scheduler codes to separate rock and R 
> We run 2 logs, one music only, the other stopsets and programs with
> macros to switch between them.  On the other hand, takes only about 2
> minutes to create a day's stopset log which does not use scheduler
> codes.
> 
> --Chuck W.
> 
> On Tue, 19 Mar 2019 19:37:44 +0800
> Stan Fotinos  wrote:
> 
>> Hi all
>> 
>> I have just experimented using scheduler codes to create music
>> clocks. What I am finding is that it takes approximately 5 mins to
>> create 1 hour with 20 music tracks per hour and approximately 2hrs to
>> create to create a day?s music log.
>> 
>> If I only use a group or groups with no codes it takes approximately
>> 30 seconds to create an hour clock.
>> 
>> Could some one please tell me if this is the amount it should take to
>> create 20 tracks per hour? Anyone else experienced anything similar?
>> 
>> Centos 7 Rivendell 2.19.3
>> 
>> Thank you
>> 
>> Stan
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] Generate HTTP Get

2019-03-08 Thread Patrick
How about something similar to pypad_udp that does http?

If that’s a good way to go I can submit  a PR.

Sent from my iPhone

> On Mar 8, 2019, at 8:55 AM, Fred Gleason  wrote:
> 
>> On Fri, 2019-03-08 at 00:11 -0600, Jacob Niemand wrote:
>> I was wondering if there is a way to put Rivendell Now and Next
>> metadata (actually just the now) into HTTP Get format.  Example: 
>> http://10.1.20.7:8100/?artist=%a=%t  and so on.
>> 
>> I’m guessing a RML module and some other software is needed.  I’d
>> like to be able to set the IP and port and http address string and
>> have the chosen Rivendell wildcards fill-in automatically.  However,
>> I’m not quite sure how to do it.
> 
> Yes, an RML would be the best way to do this. For an example, see the
> 'rlm_icecast2' RLM in the Rivendell 2.x sources ('rlm/rlm_icecast2.c').
> 
> Cheers!
> 
> 
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
> | A room without books is like a body without a soul. |
> | |
> | -- Cicero   |
> |-|
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] Remote Sync

2019-03-01 Thread Patrick
We do the same thing with a VPN to access the server’s SQL.

We then run rsync from cron to send new voice tracks to the server and update 
local /var/snd from the server.

It works ok.

Patrick

> On Mar 1, 2019, at 5:54 PM, Peter Claes  wrote:
> 
> Mark,
> 
> I have the same question. 
> We log in over VPN. so we can access the database on server, works pretty 
> neat.
> At the moment I am only syncing from server to client. (mounting 
> /var/snd.server, and copying that to /var/snd)
> 
> But for syncing client to server (certainly multiple clients) I am not sure 
> yet.
> I was considering something like nextcloud to handle this.
> 
> But since the question is out here, I might as well see what other solutions 
> are possible.
> 
> Regards
> Peter
> 
> 
>  
> 
> Op za 2 mrt. 2019 om 01:27 schreef Mark Murdock  <mailto:m...@celebrationradio.com>>:
> I’ve been wondering how one might go about providing a remote staff member or 
> voice tracker with a full copy of a Rivendell system featuring all of the 
> audio and other data and then synchronizing their system with the system back 
> at the radio station? Is there a fairly easy way to do this? Is anyone doing 
> such a thing?
> 
>  
> 
> Blessings,
> 
>  
> 
> Mark Murdock
> 
> Production Director
> 
> KAMB
> 
> 90 E. 16th St.
> 
> Merced, CA 95340
> 
> (209) 723-1015
> 
> www.celebrationradio.com <http://www.celebrationradio.com/>
> m...@celebrationradio.com <mailto:m...@celebrationradio.com>
>  
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org 
> <mailto:Rivendell-dev@lists.rivendellaudio.org>
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev 
> <http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] RDAirplay Log Question

2019-02-22 Thread Patrick
I believe this is fixed in Rivendell 3:

2018-11-29 Fred Gleason 
* Added a 'SERVICES.INCLUDE_IMPORT_MARKERS' field to the database.
* Added a 'LOGS.INCLUDE_IMPORT_MARKERS' field to the database.
* Incremented the database version to 301.
* Added an 'Include Import Markers in Finished Logs' checkbox to the 'Edit 
Service' dialog in rdadmin(1).

Patrick

> On Feb 22, 2019, at 3:00 PM, Alan Smith  wrote:
> 
> Is it normal for the log in RDAirplay to display the "music import" and 
> "traffic import" links?
> 
> It causes no harm, and seems to be purely cosmetic, but just wondering if 
> that is by design or if there is a way to get rid of them after the log merge 
> process (aside from manually deleting them in RDLogEdit).
> 
> Thanks,
> 
> -Alan
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] Running rddbcheck

2019-02-20 Thread Patrick
I think there may still be a bug in the 2.19 branch where voice tracks may be 
removed when running rddbcheck, so be careful with that. I know it's fixed in 
Rivendell 3.

—
Patrick
patr...@scnv.net



> On Feb 18, 2019, at 3:37 PM, Geoff Barkman  wrote:
> 
> Hi Scott.
> You should always make a backup of your database. If it crashes imagine how 
> long it would take to recreate it.
> 
> For best results stop all your rivendell processes. You find after running 
> rdbcheck your backup file will get smaller.
> Many thanks
> Geoff Barkman
> 
> On Tue, Feb 19, 2019, 12:30 PM Scott Powell  wrote:
> We have never run rddbcheck, looks pretty straight forward
> 
> Having done a dry run through with --no 'answer all questions with no' its 
> obvious we are overdue to clean things up.
> 
> The big question is.Should mysql and/or rivendell be stopped or is it 
> possible to run rddbcheck on an in-use system?
> 
> besides having a fresh backup, anything else we should consider before 
> starting the cleanup?
> 
> Thanks in advance for the advice
> scottp.
> 
> 
> 
> 
>   Virus-free. www.avast.com
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] Support for MP4V2/AAC/M4A Files

2019-02-04 Thread Patrick
What about something in the development installation script that asks if they’d 
like those repositories and packages installed "at their own risk". It may make 
it easier for people that want it.

> On Feb 4, 2019, at 8:27 AM, Fred Gleason  wrote:
> 
> On Wed, 2019-01-30 at 10:02 -0600, David Klann wrote:
>> I understand that the libraries needed to enable this are not in the
>> official CentOS or EPEL repositories, but there are well-known
>> alternative repos where the necessary libraries can be found.
>> Alternatively, would you be willing to host libfaad, libmp4v2 (and
>> friends) on your yum repo so that there would be "official" support
>> for
>> these formats?
> 
> 
> On Fri, 2019-02-01 at 18:19 -0500, Rob Landry wrote:
>> Aren't those codecs still under patent?
> 
> Yup, and that's the reason we can't include them in the yum
> repositories. Similar to what the situation was with the Lame MP3
> libraries prior to the last MP3 patent expiring.
> 
> We could certainly enable the hooks for those libraries when building
> the RPMs for CentOS, but it's generally a Really Bad Idea to enable any
> 'alternative' repo(s) on a standard CentOS Rivendell system (other than
> EPEL on CentOS 7, which comes enabled out-of-the-box). *Serious*
> version skew mayhem can (and on occasion has) ensue[d], to the point
> where the subject system can no longer even launch a desktop.
> 
> Cheers!
> 
> 
> |-|
> | Frederick F. Gleason, Jr. | Chief Developer |
> |   | Paravel Systems |
> |-|
> | A room without books is like a body without a soul. |
> | |
> | -- Cicero   |
> |-|
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


Re: [RDD] Upgrade Centos 6 to 7

2018-11-24 Thread Patrick
Fortunately, it’s fairly easy to backup and restore and Rivendell system. Back 
up /var/snd, your database, /etc/rd.conf, /home/rd, and any custom files and 
you should be good to go.

I just went from CentOS 6 to 7 on two machines last week without any issues. 

Sent from my iPhone

> On Nov 24, 2018, at 12:21 PM, Cowboy  wrote:
> 
> On Sat, 24 Nov 2018 15:39:14 +
> "Harris, Don"  wrote:
> 
>> If I could gain access to some instructions I’d appreciate it. Thanks
> 
> The short version is that there is no upgrade path from CentOS-6 to 7.
> ( nor RHEL 6 to 7 either )
> 
> It's a completely different OS.
> You basically wipe the disk and start over.
> 
> -- 
> Cowboy 
> 
> Grief is the Reminder that we Loved.
> And were Loved.
> ___
> 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] Skipping carts problem

2018-11-16 Thread Patrick
That’s what I had to do to eliminate this problem.  Up the number of streams 
and you will be in good shape. 

Patrick

Sent from my iPhone

> On Nov 16, 2018, at 4:51 PM, Fred Gleason  wrote:
> 
> The dead give-away is these messages:
> 
>> On Nov 16, 2018, at 17:36, Peter Claes  wrote:
>> 
>> caed: unable to allocate stream for card 0
>> rdairplay: finished event: Line: xxx  Cart: xx Cut: xx Card: 0  Stream: -1  
>> Port: 0
> 
> Some background: each ASI card has a certain fixed number of output streams. 
> Each cart playing (whether from a log, a SoundPanel button, from RDLibrary or 
> whatever) consumes 1 stream. When you run out available streams, you get 
> those messages shown above, and nothing plays. Not a Good Thing.
> 
> Basically, two things can cause this problem:
> 
> 1) A bug in Rivendell. (not likely in this case, assuming you are running a 
> stable Rivendell version (2.19.x)).
> 
> 2) Trying to do too much with too little sound card resources —e.g. running 
> three logs, each with segue overlaps, with a single ASI card that has a max 
> capability of four streams. (When two carts overlap in a segue, they *each* 
> use a stream —i.e. *two* streams for as long as the segue lasts)
> 
> Most ASI cards come from the factory set to use a maximum of four streams by 
> default, so you’ll see that it can actually be rather easy to hit this limit. 
> The good news is that this depressingly low limit can often be increased by 
> running the hpiinfo(8) utility and setting the card to use a different mode 
> (how many depends on the exact model of card in question). On Paravel CentOS 
> setups, you can install hpiinfo(8) by doing (as root):
> 
>   yum install hpiinfo
> 
> and then running it from the ‘System’ or ‘System Tools’ menu. (Heads up: 
> you’ll need to reboot the system after changing the card mode). If you do 
> change a card’s mode, be sure to take a look at the ‘Inputs’ and ‘Outputs’ 
> count for it in rdadmin(1) after the reboot: some modes can cause those 
> numbers to change!
> 
>  Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] CentOS 7 Cannot Start Rivendell Daemons

2018-11-04 Thread Patrick
My first concern would be:

  Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found: 
3.centos.pool.ntp.org <http://3.centos.pool.ntp.org/>

This is a valid hostname, which tells me your computer either isn't on the 
internet or your DNS resolver isn't working.

Second is this:

  Nov  4 11:20:04 rivendell caed:  Asked for sample rate 48000, got 96000
  Nov  4 11:20:04 rivendell caed:  Sample rate unsupported by device

Which leads the question, which sound card do you have in your system?

Then there's this:

  Nov  4 11:20:04 rivendell kernel: caed[3383]: segfault at 2d0 ip 
7fa458a523cb sp 7ffe7c7368e0 error 4 in 
libpthread-2.17.so[7fa458a49000+17000]

caed is crashing with a segmentation fault. This may have something to do with 
the 96000 sample rate.

So, all of your daemons are loading, but caed is crashing. Giving the caed 
source a quick glance, getting a sample rate other than 48000 is a failure, not 
a warning and I don't know what caed will do with that.

I think what you need to do is figure out how to set your sound card to a 
sample rate of 48000 and see if that changes anything.

—
Patrick
patr...@scnv.net



> On Nov 4, 2018, at 8:39 AM, Jake Litwin  wrote:
> 
> Hi Patrick,
> 
> Here is what was generated from the above command. I also checked to see if 
> MySQL was running.
> 
> [rd@rivendell ~]$ su -
> Password: 
> Last login: Sun Nov  4 09:19:09 EST 2018 on pts/0
> [root@rivendell ~]# systemctl start rivendell
> Job for rivendell.service failed because the control process exited with 
> error code. See "systemctl status rivendell.service" and "journalctl -xe" for 
> details.
> [root@rivendell ~]# systemctl status caed
> Unit caed.service could not be found.
> [root@rivendell ~]# systemctl status ripcd
> Unit ripcd.service could not be found.
> [root@rivendell ~]# systemctl status rdcatched
> Unit rdcatched.service could not be found.
> [root@rivendell ~]# 
> 
> [root@rivendell ~]# tail -50 /var/log/messages
> Nov  4 09:49:39 rivendell ntpd_intres[592]: host name not found: 
> 1.centos.pool.ntp.org <http://1.centos.pool.ntp.org/>
> Nov  4 09:49:39 rivendell ntpd_intres[592]: host name not found: 
> 2.centos.pool.ntp.org <http://2.centos.pool.ntp.org/>
> Nov  4 09:49:39 rivendell ntpd_intres[592]: host name not found: 
> 3.centos.pool.ntp.org <http://3.centos.pool.ntp.org/>
> Nov  4 10:01:02 rivendell systemd: Created slice User Slice of root.
> Nov  4 10:01:02 rivendell systemd: Starting User Slice of root.
> Nov  4 10:01:02 rivendell systemd: Started Session 2 of user root.
> Nov  4 10:01:02 rivendell systemd: Starting Session 2 of user root.
> Nov  4 10:01:23 rivendell ripcd: ran local maintenance routines
> Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found: 
> 0.centos.pool.ntp.org <http://0.centos.pool.ntp.org/>
> Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found: 
> 1.centos.pool.ntp.org <http://1.centos.pool.ntp.org/>
> Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found: 
> 2.centos.pool.ntp.org <http://2.centos.pool.ntp.org/>
> Nov  4 10:05:41 rivendell ntpd_intres[592]: host name not found: 
> 3.centos.pool.ntp.org <http://3.centos.pool.ntp.org/>
> Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found: 
> 0.centos.pool.ntp.org <http://0.centos.pool.ntp.org/>
> Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found: 
> 1.centos.pool.ntp.org <http://1.centos.pool.ntp.org/>
> Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found: 
> 2.centos.pool.ntp.org <http://2.centos.pool.ntp.org/>
> Nov  4 10:21:44 rivendell ntpd_intres[592]: host name not found: 
> 3.centos.pool.ntp.org <http://3.centos.pool.ntp.org/>
> Nov  4 10:22:47 rivendell ripcd: ran local maintenance routines
> Nov  4 10:37:46 rivendell ntpd_intres[592]: host name not found: 
> 0.centos.pool.ntp.org <http://0.centos.pool.ntp.org/>
> Nov  4 10:37:46 rivendell ntpd_intres[592]: host name not found: 
> 1.centos.pool.ntp.org <http://1.centos.pool.ntp.org/>
> Nov  4 10:37:46 rivendell ntpd_intres[592]: host name not found: 
> 2.centos.pool.ntp.org <http://2.centos.pool.ntp.org/>
> Nov  4 10:37:46 rivendell ntpd_intres[592]: host name not found: 
> 3.centos.pool.ntp.org <http://3.centos.pool.ntp.org/>
> Nov  4 10:44:10 rivendell ripcd: ran local maintenance routines
> Nov  4 10:53:49 rivendell ntpd_intres[592]: host name not found: 
> 0.centos.pool.ntp.org <http://0.centos.pool.ntp.org/>
> Nov  4 10:53:49 rivendell ntpd_intres[592]: host name not found: 
> 1.centos.pool.ntp.org <http://1.centos.pool.ntp.org/>
> Nov  4 10:53:49 rivendell ntpd_intres[592]: host name not found: 
> 2.centos.pool.ntp.org <http://2.

Re: [RDD] CentOS 7 Cannot Start Rivendell Daemons

2018-11-04 Thread Patrick
Login or change to root. 

systemctl start rivendell
tail -50 /var/log/messages

See what’s in your log. My first guess is MySQL isn’t set up. Also provide us 
any errors from the above commands. 

Patrick

Sent from my iPhone

> On Nov 4, 2018, at 6:22 AM, Jake Litwin  wrote:
> 
> Thanks for the reply Drew. The first thing I noticed if I try to do a 
> systemctl status is that I get rd is not in the sudoers file. So I did a su - 
> to root. I first checked caed in the output was Unit caed.service could not 
> be found. Same goes for ripcd and rdcatchd.
> 
>> On Sun, Nov 4, 2018 at 6:53 AM drew Roberts  wrote:
>> Try to start each daemon by hand from a different terminal. Start with caed. 
>> After that your choice, ripcd and rdcatchd.
>> 
>> Which one fails? Does the message generated give any hints?
>> 
>> all the best,
>> 
>> drew
>> 
>>> On Sun, Nov 4, 2018 at 4:33 AM Jake Litwin  wrote:
>>> Hi,
>>> 
>>> I am brand new to the group. Having a little difficulty with the CentOS 7 
>>> image. Just a short background that may help aid in an answer for me. I'm 
>>> installing on an old HP dc5750 with a 1TB hard drive I put in. 4g ram. I 
>>> downloaded the CentOS minimal from 
>>> http://centos.mirrors.tds.net/pub/linux/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso.
>>>  I followed the instructions for install thoroughly. Actually tried 3 times 
>>> to be exact. But I'm getting the cursed cannot start Daemons error. I've 
>>> googled for past threads for that error and have gone through everything 
>>> from verify the rd.conf to making sure rduser had access to the database. 
>>> Everything checks out. I've rebooted numerous times. Kept trying to open 
>>> rdadmin as suggested that it would eventually open. No luck. I'm at a dead 
>>> end lol. Can someone maybe help shed some guidance on this for me? Is my pc 
>>> too old?
>>> 
>>> -- 
>>> Jake Litwin
>>> Hit Music Central
>>> 
>>> ___
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> 
>> 
>> -- 
>> Enjoy great Bahamian Music at:
>> Bahamian Or Nuttin - http://www.bahamianornuttin.com
> 
> 
> -- 
> Jake Litwin
> Program Director
> 
> 
> ___
> 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] Backup/Restoring the DB via command line [WAS: Moving RD to another system]

2018-09-29 Thread Patrick
I’d be interested in attempting to write such an applet if someone would 
provide some brief requirements.

Patrick

> On Sep 28, 2018, at 10:16 AM, Cowboy  wrote:
> 
> On Fri, 28 Sep 2018 12:42:02 -0400
> Fred Gleason  wrote:
> 
>> I’m currently thinking along the lines of a small, stand-alone applet 
>> (similar to
>> rdalsaconfig(8)), that would provide buttons for basic DB management 
>> operations:
> 
> And the old buttons could/would link to and run the applet.
> 
> I'd go for that.
> 
> Then, the applet could incorporate Drew's suggestion separately,
> which I also like, a lot !
> 
> -- 
> Cowboy 
> 
> The only justification for our concepts and systems of concepts is that they
> serve to represent the complex of our experiences; beyond this they have
> no legitimacy.
>   -- Albert Einstein
> ___
> 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] VNC on CentOS 7

2018-09-06 Thread Patrick
Which VNC server is recommended for Rivendell on CentOS 7?

Thank you.

—
Patrick
patr...@scnv.net




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


Re: [RDD] Branch name changes at GitHub

2018-08-20 Thread Patrick

> 
> On Aug 20, 2018, at 6:58 AM, Fred Gleason  wrote:
> 
> Howdy Folks:
> 
> I finally went ahead and straightened out the rather perplexing set of branch 
> names that have been in use at Github for the past few months. As of right 
> now, the following two branches are hosting active development:
> 
> stable - The default branch, whence production releases are made. Prior to 
> today, this code was in the ‘v2.19’ branch.
> 
> master - Contains an ongoing port to Qt4, eventually to become Rivendell 3.x. 
> This is where most work is going on right now.
> 
> For reference , the prior contents of the ‘stable’ branch (containing 
> v2.19.2vlog06) have been renamed to a branch called ‘vlog’. I don’t expect to 
> see additional work happen on this branch.

I'm confused about this one. Does this mean that the following changes will, or 
will not, be incorporated into the stable branch and 2.19.3 release?

2018-05-25 Fred Gleason 
* Merged pull request #000209, "Prioritize scheduler code over
artist/title separation".
2018-05-25 Fred Gleason 
* Merged pull request #000205, "Makefile fixes".
2018-05-25 Fred Gleason 
* Merged pull request #000195, "Fixed bug where CheckOrphanedTracks()
would remove valid voice tracks".
2018-05-25 Fred Gleason 
* Merged pull request #000191, "Add RLM to update metadata on TuneIn."
* Updated the 'rlm_tunein' plug-in to support vlogs.
2018-05-25 Fred Gleason 
* Merged pull request #000194, "Fixed bug in GetStream() where
return value from HPI_OutStreamOpen was ignored".
2018-05-25 Fred Gleason 
* Merged pull request #000197, "Issue 195 rlm_filewrite filename
wildcards".
2018-05-29 Fred Gleason 
* Merged pull request #000212, "Patches for building on Ubuntu 18.04".
2018-05-30 Fred Gleason 
* Merged pull request #000200, "Set SCHEDULED_AT when adding to
the STACK".
2018-05-31 Patrick Linstruth 
* Implemented purging of STACK_* tables for RDMaint(1) in
'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.

> 
> Confused? Please feel free to ask if you have any questions.
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


[RDD] Rivendell Yum Repository

2018-08-19 Thread Patrick
Does the Rivendell Yum Repository contain builds from the current Stable branch?

Stable is currently at 2.19.2vlog06 and contains some fixes we've wanted to 
deploy. There have not been any changes to this version since July 9.

Is it possible to upgrade my systems to this version using Yum, or do I need to 
install from source?

Thank you,

Patrick

—
Patrick
patr...@scnv.net




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


[RDD] Voice Track Normalization

2018-08-16 Thread Patrick
I was playing around with the voice tracker normalization level for RDLogEdit 
in RDAdmin and it seems that no matter what I set it to, the recorded voice 
track always appears in the voice tracker waveform at the same level.

Does the normalization happen sometime after recording where it wouldn't show 
up in the waveform?

Has anyone else played around with that setting?

Patrick

—
Patrick
patr...@scnv.net




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


Re: [RDD] Substitute Voice Track If Missing

2018-07-12 Thread Patrick
Brian, I’ve been wanting the same thing. I was thinking of writing a RLM to do 
it. It would look at the next thing in the log and replace an empty voice track 
with a cart that contains liners.

I don’t know if there’s a better way to accomplish the same thing.

Patrick

Sent from my iPhone

> On Jul 12, 2018, at 9:39 AM, riv...@braingia.org wrote:
> 
> Hello,
> 
> I have a unique situation whereby we have numerous student volunteers 
> who do airshifts.  Sometimes they fail to show up for their shift, 
> leaving the Program Director to scramble.  
> 
> To alleviate some of the load on the PD, I'd like to figure out a way to 
> substitute a liner or similar content if a voicetrack is missing.  For 
> example, if we have three or four announcer breaks an hour and the jock 
> doesn't show up, I'd like the automation to pop a liner in there without 
> needing human intervention.
> 
> I'm new enough to Rivendell that I think there's a way to do it but I 
> don't quite have the knowledge to make it happen or the vocabulary to 
> adequately search for an answer either.  Maybe a macro?
> 
> Steve
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 


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


[RDD] GitHub

2018-03-26 Thread Patrick
Does anyone look at the issues and pull requests on GitHub?

I’ve posted some ideas and bug fixes but have not received any feedback. I 
suppose it could be because my ideas stink.

I’m just wondering if that’s the proper place to have discussions with people 
about bug fixes and new features or if there is a better location.

Patrick


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


Re: [RDD] Several questions Voice Track & Logs Backups

2018-02-21 Thread Patrick
There isn’t anything different the talent has to do. The magic is handled by 
the rsync scripts which run in cron.

Every 15 minutes I run an rsync script that checks if there are any new voice 
tracks to send to the server. If there are, it sends them.

Every night at midnight I have an rsync script that checks for new audio files 
(music, sweepers, etc) that have been added to the server. All new content is 
downloaded to /var/snd on the remote computer.

This is all handled behind the scenes. The talent just runs RdLogEdit like 
normal. The only thing we can’t do remotely is RdAirplay because it is too SQL 
intensive. With good internet access, RdAirplay would probably work too.

It is a hack, but we’ve been doing this for a year without any issues. We have 
2 remote studios.

Patrick

> On Feb 21, 2018, at 1:50 PM, Al Peterson <apeter...@radioamerica.com> wrote:
> 
> Good. To expand a bit, is it much of an ordeal for outside talent to connect 
> into the host system and start things up?
> 
> That is to say, what's involved in establishing that VPN connection from the 
> start, does talent necessarily need to know about the inner workings of SQL 
> and where var/snd is, and is this something that can be done remotely on the 
> talent's Windows or Mac machine?
> 
> As both a techie and a performer, simplicity of process for the benefit of a 
> good performance is highly valued.
> 
> AP
> 
> 
> 
> 
> 
> 
> On Wed, Feb 21, 2018 at 4:39 PM, Patrick <patr...@scnv.net 
> <mailto:patr...@scnv.net>> wrote:
> Other than the minimal delays (like when you hit the record button), it works 
> exactly the same as being local.
> 
> It may be better where you’re at. I live in the sticks and the Rivendell 
> server is on a 6MB/768K DSL line.
> 
> Patrick
> 
> 
>> On Feb 21, 2018, at 12:12 PM, Al Peterson <apeter...@radioamerica.com 
>> <mailto:apeter...@radioamerica.com>> wrote:
>> 
>> Patrick, how transparent / intuitive / easy  is it for talent to be able to 
>> operate it using this method?
>> 
>> Alan Peterson KJ4IVD  CBT/CEA
>> National Production Director, Radio America Network
>> Arlington VA USA
>> 
>> 
>> On Wed, Feb 21, 2018 at 3:08 PM, Patrick <patr...@scnv.net 
>> <mailto:patr...@scnv.net>> wrote:
>> We do remote voice tracking by doing the following:
>> 
>> 1) Establish a VPN from remote locations to main Rivendell server location.
>> 
>> 2) Remote Rivendell configurations use SQL server over VPN on main Rivendell 
>> server.
>> 
>> 3) Remote Rivendell configurations use their own local copy of /var/snd.
>> 
>> 4) Remote and main Rivendell server keep /var/snd in sync using “rsync” 
>> scripts over VPN.
>> 
>> The way Rivendell does SQL queries is not very efficient, so other than mild 
>> delays while RdLogEdit talks SQL over the VPN, the system works quite well.
>> 
>> Patrick
>> 
>> > On Feb 21, 2018, at 9:32 AM, Chuck <dj.chuc...@googlemail.com 
>> > <mailto:dj.chuc...@googlemail.com>> wrote:
>> >
>> >  We have not tried the following, but we do have a Telecom guy who is
>> > looking into it.  Scroll to the bottom of the page and click on the
>> > remote voice-tracking link.  Looks much simpler than a solution that
>> > involves exporting logs, recording tracks, then having someone drop them
>> > back into a log.
>> >
>> > http://www.radiotools.uk/rivendell/ <http://www.radiotools.uk/rivendell/>
>> >
>> > --Chuck W.
>> >
>> > On Wed, 21 Feb 2018 03:06:29 -0500
>> > ija...@jamcorbroadcast.com <mailto:ija...@jamcorbroadcast.com> wrote:
>> >> Subject: [RDD] Several questions Voice Track & Logs Backups
>> >
>> >>  1.)I would like to know if anyone has a solution for voice tracking. I
>> >> am thinking to have a couple people voice track for us There are several
>> >> ways to do it but the easiest is to have the record the Tracks and send
>> >> them Thru a Drop Box acount.  We look in to having them log in to the
>> >> computer Thru Like a log me in account but we don't feel Comfortable
>> >> doing that. Do anyone have any solutions on this.
>> >>  2.) We area also Looking at trying to get the logs out of rivendell.
>> >> Its a tedious process. You have to convert ever log in a text file. the
>> >> send it over the netorn to another machine. How can  you get access to
>> >> the logs Does anyone have a better solution.
>> >> 3.) Does any on know if there is a way to display the lo

Re: [RDD] Several questions Voice Track & Logs Backups

2018-02-21 Thread Patrick
Other than the minimal delays (like when you hit the record button), it works 
exactly the same as being local.

It may be better where you’re at. I live in the sticks and the Rivendell server 
is on a 6MB/768K DSL line.

Patrick

> On Feb 21, 2018, at 12:12 PM, Al Peterson <apeter...@radioamerica.com> wrote:
> 
> Patrick, how transparent / intuitive / easy  is it for talent to be able to 
> operate it using this method?
> 
> Alan Peterson KJ4IVD  CBT/CEA
> National Production Director, Radio America Network
> Arlington VA USA
> 
> 
> On Wed, Feb 21, 2018 at 3:08 PM, Patrick <patr...@scnv.net 
> <mailto:patr...@scnv.net>> wrote:
> We do remote voice tracking by doing the following:
> 
> 1) Establish a VPN from remote locations to main Rivendell server location.
> 
> 2) Remote Rivendell configurations use SQL server over VPN on main Rivendell 
> server.
> 
> 3) Remote Rivendell configurations use their own local copy of /var/snd.
> 
> 4) Remote and main Rivendell server keep /var/snd in sync using “rsync” 
> scripts over VPN.
> 
> The way Rivendell does SQL queries is not very efficient, so other than mild 
> delays while RdLogEdit talks SQL over the VPN, the system works quite well.
> 
> Patrick
> 
> > On Feb 21, 2018, at 9:32 AM, Chuck <dj.chuc...@googlemail.com 
> > <mailto:dj.chuc...@googlemail.com>> wrote:
> >
> >  We have not tried the following, but we do have a Telecom guy who is
> > looking into it.  Scroll to the bottom of the page and click on the
> > remote voice-tracking link.  Looks much simpler than a solution that
> > involves exporting logs, recording tracks, then having someone drop them
> > back into a log.
> >
> > http://www.radiotools.uk/rivendell/ <http://www.radiotools.uk/rivendell/>
> >
> > --Chuck W.
> >
> > On Wed, 21 Feb 2018 03:06:29 -0500
> > ija...@jamcorbroadcast.com <mailto:ija...@jamcorbroadcast.com> wrote:
> >> Subject: [RDD] Several questions Voice Track & Logs Backups
> >
> >>  1.)I would like to know if anyone has a solution for voice tracking. I
> >> am thinking to have a couple people voice track for us There are several
> >> ways to do it but the easiest is to have the record the Tracks and send
> >> them Thru a Drop Box acount.  We look in to having them log in to the
> >> computer Thru Like a log me in account but we don't feel Comfortable
> >> doing that. Do anyone have any solutions on this.
> >>  2.) We area also Looking at trying to get the logs out of rivendell.
> >> Its a tedious process. You have to convert ever log in a text file. the
> >> send it over the netorn to another machine. How can  you get access to
> >> the logs Does anyone have a better solution.
> >> 3.) Does any on know if there is a way to display the log in a web Page
> >> format Like running a web server.
> >> 4.) Has anyone tried loading PHPMYADMIN On CENOS6.
> >> 5. Backing Up Database and Music Library Does anyone have a easy way to
> >> do this. I would like to Make backups Of both and mysql data Base. I
> >> prefer GUI Solution
> >>
> >> Thanks
> >
> >
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org 
> > <mailto:Rivendell-dev@lists.rivendellaudio.org>
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev 
> > <http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev>
> >
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org 
> <mailto:Rivendell-dev@lists.rivendellaudio.org>
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev 
> <http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev>
> 

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


Re: [RDD] Several questions Voice Track & Logs Backups

2018-02-21 Thread Patrick
We do remote voice tracking by doing the following:

1) Establish a VPN from remote locations to main Rivendell server location.

2) Remote Rivendell configurations use SQL server over VPN on main Rivendell 
server.

3) Remote Rivendell configurations use their own local copy of /var/snd.

4) Remote and main Rivendell server keep /var/snd in sync using “rsync” scripts 
over VPN.

The way Rivendell does SQL queries is not very efficient, so other than mild 
delays while RdLogEdit talks SQL over the VPN, the system works quite well.

Patrick

> On Feb 21, 2018, at 9:32 AM, Chuck <dj.chuc...@googlemail.com> wrote:
> 
>  We have not tried the following, but we do have a Telecom guy who is
> looking into it.  Scroll to the bottom of the page and click on the
> remote voice-tracking link.  Looks much simpler than a solution that
> involves exporting logs, recording tracks, then having someone drop them
> back into a log.
> 
> http://www.radiotools.uk/rivendell/
> 
> --Chuck W.
> 
> On Wed, 21 Feb 2018 03:06:29 -0500
> ija...@jamcorbroadcast.com wrote:
>> Subject: [RDD] Several questions Voice Track & Logs Backups
> 
>>  1.)I would like to know if anyone has a solution for voice tracking. I 
>> am thinking to have a couple people voice track for us There are several 
>> ways to do it but the easiest is to have the record the Tracks and send 
>> them Thru a Drop Box acount.  We look in to having them log in to the 
>> computer Thru Like a log me in account but we don't feel Comfortable 
>> doing that. Do anyone have any solutions on this.
>>  2.) We area also Looking at trying to get the logs out of rivendell. 
>> Its a tedious process. You have to convert ever log in a text file. the 
>> send it over the netorn to another machine. How can  you get access to 
>> the logs Does anyone have a better solution.
>> 3.) Does any on know if there is a way to display the log in a web Page 
>> format Like running a web server.
>> 4.) Has anyone tried loading PHPMYADMIN On CENOS6.
>> 5. Backing Up Database and Music Library Does anyone have a easy way to 
>> do this. I would like to Make backups Of both and mysql data Base. I 
>> prefer GUI Solution
>> 
>> Thanks
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 


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


Re: [RDD] Guidance on remote machine access

2018-02-05 Thread Patrick
Another thumbs up for pfSense. I've been using it for many years with 7 current 
installs and VPNs running between them all using OpenVPN.
When I have to VPN to a third party it's IPSec.

For remote access from our Macs, we use Viscosity.

—
Patrick
patr...@scnv.net



> On Feb 5, 2018, at 7:47 AM, Bill Putney <bi...@wwpc.com> wrote:
> 
> We use PFSense software on PC hardware. PFSense implements several different 
> VPN arrangements but we are using IP/SEC since it is one of the very few that 
> hasn't been hacked. Some one I know was looking at Ubiquiti Cloud Key remote 
> and I did a search for exploits and it has been listed as having "Critical" 
> level hacks. Not sure about their edge routers but you should search for 
> exploits for whatever equipment you use that interfaces the Internet. 
> Bill Putney - WB6RFW
> 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 2/5/18 3:48 AM, Andy Higginson wrote:
>> This is probably going off at a slight tangent but
>> 
>> I was looking at Ubiquiti EdgeRouters over the weekend.  They might be an 
>> interesting option for getting things up and running for VPN work.  It is 
>> often said that you should keep your office network and music network 
>> separate.  However, if you are trying to access the Rivendell machines 
>> remotely, you need to have internet access to them, even if it is through a 
>> VPN.  The Edgerouters (even the cheapest model the lite) have multiple 
>> subnets and routing on them.  The lite comes with 3 ports - eth0 for the 
>> WAN, eth1 for LAN 192.168.101.x and eth2 for LAN 192.168.102.x.  Now I don't 
>> know what routing it does between ports eth1 and eth2 but it does seem to me 
>> that you could use this to allow both of the station networks to access the 
>> internet via this router.  It also has the ability to run a VPN as well so 
>> you should be able to access the Music network from the outside world.  How 
>> well they run and how they would perform in this context is not something 
>> that I would know.  However I would be interested if anyone has some input.
>> 
>> https://www.ubnt.com/edgemax/edgerouter-lite/ 
>> <https://www.ubnt.com/edgemax/edgerouter-lite/>
>> https://www.smallnetbuilder.com/lanwan/lanwan-reviews/33111-ubiquiti-edgerouter-lite-revisited
>>  
>> <https://www.smallnetbuilder.com/lanwan/lanwan-reviews/33111-ubiquiti-edgerouter-lite-revisited>
>> 
>> Of course, one of the things with getting a VPN up and running is that you 
>> could use this for storing a remote off site backup with a NAS drive.  
>> That's something for another discussion.
>> 
>> Andy
>> 
>> 
>> 
>>  On Mon, 05 Feb 2018 10:06:45 + James Greenlee <ja...@madsonics.com> 
>> <mailto:ja...@madsonics.com> wrote 
>> 
>> Isn't this what the Server/Client model is all about?
>> 
>> In our deployment, our main studio is located in another town from the owner 
>> and myself. There's a "server" at the main studio (which is also the active 
>> RDAirPlay host), and workstations at both my location and the owners 
>> location. All of our networks (two home locations, the main studio, and 
>> translator sites), are linked together with VPNs across the internet.
>> 
>> The good:
>> 
>> We don't have to drive 30 miles to the main studio to make schedule changes 
>> or add/remove content from the Rivendell system.
>> 
>> The bad:
>> 
>> It's painfully slow doing anything in Rivendell that's not on a local LAN.
>> 
>> 
>> 
>> There are no issues with all of the Rivendell systems running at the same 
>> time provided you don't work on the same thing from two different locations. 
>> Even if you do though, the last change would win. With the remote 
>> workstations, we're able to maintain content, create and edit clocks/logs, 
>> pull reports...Pretty much everything you can do locally with Rivendell, 
>> it's just slower. The speed penalty is due to network latency. Two things we 
>> use to make this easier for us: a NAS (with NFS mounts for the Rivendell 
>> Server), and an IP KVM (from Avocent) that gives us a remote console to the 
>> Rivendell box for operating it as if we were right there in the studio.
>> 
>> The "glue" that makes this all happen is the VPN. There are volumes written 
>> on VPNs, network security, remote access technologies and they go far beyond 
>> 

Re: [RDD] length_played with rdairplay loadable module

2018-02-02 Thread Patrick
Mircea, I put the pull request on GitHub to allow the filename to contain 
date/time wildcards:

https://github.com/ElvishArtisan/rivendell/pull/197 
<https://github.com/ElvishArtisan/rivendell/pull/197>

I created an issue for millisecond/second problem to get some feedback:

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

Hopefully we will get some feedback.

Patrick

—
Patrick
patr...@scnv.net



> On Jan 31, 2018, at 6:49 AM, Mircea Paun <mircea.p...@gmail.com> wrote:
> 
> Sounds good! 
> I think it will be difficult to get that (played) time in the naw & next 
> module ...
> Tell me if you succeed.
> I wish you inspiration and thank you very much!
> mIRCea
> 
> On Wed, Jan 31, 2018 at 1:07 AM, Patrick <patr...@scnv.net 
> <mailto:patr...@scnv.net>> wrote:
> I'll start looking at this. I'll hopefully have something early next week.
> 
> Patrick
> 
> —
> Patrick
> patr...@scnv.net <mailto:patr...@scnv.net>
> 
> 
> 
>> On Jan 30, 2018, at 3:02 AM, Mircea Paun <mircea.p...@gmail.com 
>> <mailto:mircea.p...@gmail.com>> wrote:
>> 
>> Hi Patrick!
>> Programmers makes the World go round and round :-) !
>> So the rlm...
>> With rlm_filewrite.conf I can have almost all.
>> But not the played time and the date stamp on filename log.
>> These two options I need additionally on rlm_filewrite module.
>> This new module can be named "rlm_stirlitz.
>> Will certainly appreciated by other users in the future and will appear even 
>> at Stirlitz page 
>> as Rivendell supports integration with Stirlitz.
>> So I think it's a good thing.
>> ps 
>> played time must be in seconds with 1, 2 or 3 digits after the separator.
>> (for example: 6.1 6.12 6.124). 
>> Milliseconds alone are not supported.
>> 
>> On Tue, Jan 30, 2018 at 3:03 AM, Patrick <patr...@scnv.net 
>> <mailto:patr...@scnv.net>> wrote:
>> What is the format string you're using now? Or would you mind sending me 
>> your rlm_filewrite.conf file?
>> 
>> I've been a programmer for many years. I'm a firefighter now, but I still 
>> like to tinker with programming in my spare time.
>> Rivendell is written in C and C++. I know C quite well and fake it in C++. 
>> For me, the most difficult part of contributing
>> to the Rivendell open source project is getting familiar with Github and Git.
>> 
>> I started off building a development environment in a VM on my Mac. I now 
>> have a standalone computer with an
>> ASI card in it and have submitted a few pull requests in the past couple of 
>> weeks, mostly bug fixes.
>> 
>> I've only written one RLM, which was to send now/next data to TuneIn. There 
>> I just copied and modified the rlm_icecast
>> plugin.
>> 
>> Based on what I've seen so far, we need to add some tags, like "%a" for 
>> artist, to provide the information you need.
>> That is handled by lib/rdnownext.cpp which is part of Rivendell's core 
>> library.
>> 
>> Patrick
>> 
>> —
>> Patrick
>> patr...@scnv.net <mailto:patr...@scnv.net>
>> 
>> 
>> 
>>> On Jan 29, 2018, at 2:57 PM, Mircea Paun <mircea.p...@gmail.com 
>>> <mailto:mircea.p...@gmail.com>> wrote:
>>> 
>>> Hi Patrick!
>>> GREAT !
>>> 
>>> Filename example: 20180130.log, something like %Y%m%d.log
>>> And the from the cart field is Artist, Title, and all other ...Album, 
>>> Compose 
>>> The exact content is :
>>> 
>>> starttime;length_played;title;artist;group
>>> Example:
>>> 01:31:22;222;LET'S DANCE;DAVID BOWIE;Music
>>>
>>> in my example running play is in seconds.
>>> but I think there is no problem if is miliseconds.
>>> I obtained some results with mysql querry fro ("Service"_SRT.TITLE, 
>>> CART.FORCED_LENGTH) :
>>> "14:34:06";"5216";"Who You Are";"Mihail";"Who You Are";"214700";"Music"
>>> 
>>> if it's not too much and too hard to explain, maybe you can tell me two 
>>> words about how you did.
>>> I have idea but I want to learn something from that.
>>> Thanks!
>>> 
>>> M I R C E A   P A U N
>>> ra...@radiocafe.ro <mailto:mircea.p...@radiocafe.ro>
>>> mircea.p...@gmail.com <mailto:mircea.p...@gmail.com>
>>> 
>>> 
>>> 
>>> 
>>>> On 29 Jan 2018, at 22:53, Patrick <patr...@scnv.net 
>>>> <mailto:patr.

Re: [RDD] Filepath wildcards

2018-02-02 Thread Patrick
I think I found it... 

—
Patrick
patr...@scnv.net



> On Feb 2, 2018, at 10:14 AM, Patrick <patr...@scnv.net> wrote:
> 
> Can someone tell me where the Filepath Wildcards are done?
> 
> I assume there's a function somewhere, but I've looked all over the source 
> code and cannot find it.
> 
> I'm referring to Appendix C of the operational guide.
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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


[RDD] Filepath wildcards

2018-02-02 Thread Patrick
Can someone tell me where the Filepath Wildcards are done?

I assume there's a function somewhere, but I've looked all over the source code 
and cannot find it.

I'm referring to Appendix C of the operational guide.

—
Patrick
patr...@scnv.net




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


Re: [RDD] Rivendell Website and Wiki

2018-01-29 Thread Patrick
When I started using Rivendell about a year ago, I found the Wiki very 
frustrating due to all of the outdated information.

As I learned more, I wanted to be able to make changes so the next person 
wouldn't have to go through the same vetting
process I did. I never received a response to my offer to help with the Wiki.

Rivendell is amazing. The amount of time and effort that has been put into it 
is stunning. I do wish the Wiki was open to the
Rivendell community for updates much like the source code on Github. It is very 
gratifying getting a email that a pull request
has been incorporated into a Rivendell release.

—
Patrick
My997.org
patr...@scnv.net


> On Jan 29, 2018, at 3:36 PM, Andy Higginson <a...@higgles.co.uk> wrote:
> 
> Hi,
> 
> Just over a year ago, we were discussing here on the mailing list the subject 
> of the Rivendell website and Wiki.  As a response to this I knocked together 
> a possible idea for a replacement site using Wordpress 
> http://test.higgles.co.uk/ <http://test.higgles.co.uk/>  This is something 
> that is probably worth having another bash at getting off the ground.  Is 
> there any interest in getting this moving?
> 
> Also, the Wiki is looking rather dated.  There are a number of dead and dated 
> links within the even the first few paragraphs of the wiki.  For example,  
> under Evaluating Rivendell, the link to the Broadcast Appliance is dead, as 
> is the outdated OpenSuse 11.2 link.  Also, RRAbunti is totally out of date by 
> a number of versions of both Ubuntu and Rivendell.  This is something that 
> should really be addressed so that Rivendell is not seen as being a dead 
> project by somebody just browsing the site for the first time.
> 
> How we go about all of this I don’t know.  However I do think it could be 
> time for the Wiki to be rebuilt from scratch - this possibly being easier 
> than trying to edit all of the articles to make them up to date.
> 
> I’m sorry if I have come over as being very negative.  I hope this will be 
> point of starting to get things updated.
> 
> Andy  
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


[RDD] HPI Errors when using Stream 0

2018-01-24 Thread Patrick
I just built a Centos 7 / Rivendell 2.18.2 system for development. I'm using an 
AudioScience 5611 (4 output / 2 input streams).

When I try and play audio, I get the following error:

Jan 24 12:12:14 rdtest rdairplay: loaded log 'Production-0124' in Main Log
Jan 24 12:12:18 rdtest caed: HPI Error: #105 - OBJ_ALREADY_OPEN
Jan 24 12:12:18 rdtest caed: LoadPlayback  Card: 0  Stream: 0  Name: 
/var/snd/060001_001.wav  Handle: 0
Jan 24 12:12:18 rdtest caed: HPI Error: #111 - INVALID_HANDLE
Jan 24 12:12:18 rdtest caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 0  
Handle: 0
Jan 24 12:12:18 rdtest caed: Play - 1
Jan 24 12:12:18 rdtest caed: HPI Error: #111 - INVALID_HANDLE
Jan 24 12:12:18 rdtest rdairplay: started audio cart: Line: 0  Cart: 60001  
Cut: 1 Pos: 0  Card: 0  Stream: 0  Port: 0

If I then tell RDAirPlay to play the next item, it plays find using Stream 1.

It seems that Stream 0 always creates and error, even using RDLibrary or 
RDLogEdit.

Any suggestions?

—
Patrick
patr...@scnv.net




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


[RDD] RDAirPlay and Remote SQL

2018-01-22 Thread Patrick
We have a Rivendell server at a private school where the broadcast studio is.

We also have 2 remote Rivendell systems.

Each of the remote Rivendell system access the main MySQL running at the school 
over a VPN. Using rsync scripts, the remote systems keep their own local copy 
of /var/snd and send local updates to the main Rivendell server.

This works fairly well for RDLogManager, RDLogEdit and RDLibrary.

What I cannot get to work is RDAirPlay. RDAirPlay is constantly running MySQL 
queries, even when not playing anything:

select CART.TYPE,CART.GROUP_NAME,CART.TITLE, 
CART.ARTIST,CART.ALBUM,CART.YEAR,CART.ISRC, 
CART.LABEL,CART.CLIENT,CART.AGENCY, 
CART.USER_DEFINED,CART.CONDUCTOR,CART.SONG_ID, 
CART.FORCED_LENGTH, 
CART.CUT_QUANTITY,CART.LAST_CUT_PLAYED, 
CART.PLAY_ORDER,CART.START_DATETIME, 
CART.END_DATETIME,CART.ENFORCE_LENGTH, 
CART.PRESERVE_PITCH,GROUPS.ENABLE_NOW_NEXT, 
CART.ASYNCRONOUS,CART.PUBLISHER, 
CART.COMPOSER,CART.USAGE_CODE, 
CART.AVERAGE_SEGUE_LENGTH,CART.NOTES, 
GROUPS.COLOR  from CART left join GROUPS on 
CART.GROUP_NAME=GROUPS.NAME 
 where (CART.NUMBER=10996)
select `NUMBER` from `CART` where `NUMBER`=10996
select `NUMBER` from `CART` where `NUMBER`=10996
select `TYPE` from `CART` where `NUMBER`=10996
select `USE_WEIGHTING` from `CART` where `NUMBER`=10996
select CUT_NAME,PLAY_ORDER,WEIGHT,LOCAL_COUNTER,LAST_PLAY_DATETIME from CUTS  
where (((START_DATETIME<=\"2018-01-22 20:12:17\")&&(END_DATETIME>=\"2018-01-22 
20:12:17\"))||(START_DATETIME is 
null))&&(((START_DAYPART<=\"20:12:17\")&&(END_DAYPART>=\"20:12:17\")||START_DAYPART
 is null))&&(MON=\"Y\")&&(CART_NUMBER=10996)&&(EVERGREEN=\"N\")&&(LENGTH>0) 
order by LOCAL_COUNTER ASC, ISNULL(END_DATETIME), END_DATETIME ASC, 
 LAST_PLAY_DATETIME ASC ...
select `USE_WEIGHTING` from `CART` where `NUMBER`=10996
select 
LENGTH,START_POINT,END_POINT,SEGUE_START_POINT,SEGUE_END_POINT,SEGUE_GAIN,TALK_START_POINT,TALK_END_POINT,HOOK_START_POINT,HOOK_END_POINT,OUTCUE,ISRC,ISCI,DESCRIPTION
 from CUTS where CUT_NAME=\"010996_001\"

Then it starts over with the next cart

select CART.TYPE,CART.GROUP_NAME,CART.TITLE, 
CART.ARTIST,CART.ALBUM,CART.YEAR,CART.ISRC, 
CART.LABEL,CART.CLIENT,CART.AGENCY, 
CART.USER_DEFINED,CART.CONDUCTOR,CART.SONG_ID, 
CART.FORCED_LENGTH, 
CART.CUT_QUANTITY,CART.LAST_CUT_PLAYED, 
CART.PLAY_ORDER,CART.START_DATETIME, 
CART.END_DATETIME,CART.ENFORCE_LENGTH, 
CART.PRESERVE_PITCH,GROUPS.ENABLE_NOW_NEXT, 
CART.ASYNCRONOUS,CART.PUBLISHER, 
CART.COMPOSER,CART.USAGE_CODE, 
CART.AVERAGE_SEGUE_LENGTH,CART.NOTES, 
GROUPS.COLOR  from CART left join GROUPS on 
CART.GROUP_NAME=GROUPS.NAME 
 where (CART.NUMBER=10720)

This seems to continue over and over again, with every cart, forever.

This bogs RDAirPlay down so much, the clock updates about every 20 seconds and 
RDAirPlay is mostly unresponsive.

Does anyone know what RDAirPlay is actually doing and why it continually does 
this? I have not dug into the source code yet, hoping someone knew how 
RDAirPlay works.

We are in the sticks and crappy DSL is about all we can get, so these SQL 
queries take a long time.

Patrick
My99.7



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


[RDD] Orphand

2018-01-11 Thread Patrick
I noticed there were a lot of old voice track files in /var/snd so I ran 
"rddbcheck" for the first time.

It gave a whole bunch of things like:

Checking voice tracks...
  Found orphaned track 70026 - "Voice Track".  Delete? (y/N) y
  Found orphaned track 70469 - "Voice Track".  Delete? (y/N) y
  Found orphaned track 70039 - "Voice Track".  Delete? (y/N) y
  Found orphaned track 70033 - "Voice Track".  Delete? (y/N) y
  Found orphaned track 70467 - "Voice Track".  Delete? (y/N) y
  ...
done.

When I was done, all of the old voice track files I was trying to get rid of 
are still there and all the voice tracks in existing logs got deleted.

Did I do something wrong? What exactly is an "orphaned track"?

 —
Patrick
patr...@scnv.net




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


[RDD] Switch Controller

2017-12-02 Thread Patrick
I am looking for a device (inexpensive) that is compatible with Rivendell that 
can be used to turn faders on/off on my Auditronics 200 console.

It has a simple open/close to ground mechanism.

Thank you,

Patrick

—
Patrick
patr...@scnv.net




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


[RDD] Using Jack with 2.17.0

2017-10-19 Thread Patrick
I have been trying to figure out how to use Jack with 2.17.0 which was 
originally installed using the appliance CD.

There are so many different web pages out there on how to do this, I don’t know 
which is the correct one.

I believe the current (recommended) method is to:

1) Enable “Start JACK Server” and enter a JACK Command Line in RDAdmin->Manage 
Hosts->Jack Settings
2) Create a Macro to make all the Jack connections using the “JC” command. Set 
this cart as Startup Cart.

I’ve done this and Jack never starts.

Does Jack information still need to be placed in rd.conf?

Does Pulseaudio need to be removed?

Anything else?

Is there current documentation on getting Jack working on the Debian version 
included with the appliance CD?

Thank you.


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


[RDD] Log Locking

2017-06-22 Thread Patrick
Today someone was voice tracking and another person went into the log editor 
accessing the same
log. I believe the way the log editor works is the entire log is loaded in and 
then written back when
done, causing any voice tracks recorded during that time to be overwritten.

If this is true, would it be a good idea to place some kind of lock on the 
database when someone
is voice tracking that prevents the log editor from opening the same log, at 
least without some kind
of warning message?

Patrick



smime.p7s
Description: S/MIME cryptographic signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] M-Audio Delta 44 +4 / -10

2017-05-29 Thread Patrick
Robert, thank you, I have alsactl working!

Now if someone can help with changing the M-Audio Delta 44 from -10 to +4, that 
would be great!

Patrick

> On May 29, 2017, at 4:56 PM, Robert Jeffares <jeffares.rob...@gmail.com> 
> wrote:
> 
> Hi Patrick,
> 
> 
> On 30/05/17 10:52, Patrick wrote:
>> Second, I have failed miserably trying to get alsactl to save and restore 
>> the current sounds card settings set
>> with alsamixer. The M-Audio Delta 44 defaults to all input/output levels at 0
> use alsamixer to set levels
> esc out of Alsamixer
> #alsactrl store  < this may say it can't find the store directory which 
> you have to create and re do
> on restart you need a script that runs alsactrl restore. See below.
> Bit of a glitch in the centos/alsa system. Older versions used to remember 
> OK. I think it's an alsa issue or more correctly something in Centos which 
> also plays with pulse.
> 
> My scripts for remote sites also wait for RD to start and hit the button to 
> start audio
> 
> #! /bin/bash
> #this makes sure that the sound card settings are restored from the saved file
> # for some reason alsa does not read these on boot
> date > /home/rd/soundset.log
> alsactl restore
> cat /home/rd/soundset.log |mail -s "sound set on anatoly in whakatu" 
> jeffares.rob...@gmail.com
> exit 0
> 
> 
> 
> regards
> 
> Robert
> 



smime.p7s
Description: S/MIME cryptographic signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] M-Audio Delta 44 +4 / -10

2017-05-29 Thread Patrick
I am attempting to use an M-Audio Delta 44 with Rivendell.

The Delta 44 manual says that the card supports +4dBu or -10dBV signal level 
analog inputs and outputs that is
software selectable.

Nowhere does the documentation say which one the default is and I cannot find 
anywhere to change that setting
in alsamixer.

Based on the levels I'm seeing, it looks like it is configured for -10dBV.

Do anyone know how to change this card from -10dBV to +4dBu on Centos 6 (the 
Rivendell Appliance)?

Second, I have failed miserably trying to get alsactl to save and restore the 
current sounds card settings set
with alsamixer. The M-Audio Delta 44 defaults to all input/output levels at 0.

Thank you,

Patrick

—
Patrick
patr...@scnv.net




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


[RDD] Default Voice Track Cart

2017-05-21 Thread Patrick
Is there a way to set a default voice track cart so if a voice track is not 
done it plays a default cart instead?

—
Patrick
patr...@scnv.net




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


Re: [RDD] Quotation Marks in Edit Now & Next Data RML

2017-04-27 Thread Patrick
I decided to create a RLM to send Now information to TuneIn. I put 
rlm_tunein.rlm on github.
 
—
Patrick
patr...@scnv.net



> On Apr 26, 2017, at 6:56 PM, Rob Landry <41001...@interpring.com> wrote:
> 
> 
> You'll need to put the command in a shell script and invoke the script with 
> the RN command.
> 
> 
> Rob
> 
> -- 
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.
> 
> On Wed, 26 Apr 2017, Patrick wrote:
> 
>> I am trying to enter the following RML in the Now and Next Data for the 
>> Master Log:
>> 
>> RN curl -G "http://air.radiotime.com/Playing.ashx; --data 
>> "partnerId=myPartnerId=myKey=myId" --data-urlencode 
>> "title=$TITLE" --data-urlencode "artist=$ARTIST"!
>> 
>> RdAdmin will not accept quotation marks. When I enter " on the keyboard, 
>> nothing show up in the field.
>> 
>> Any ideas on how to do this?
>> 
>> —
>> Patrick
>> patr...@scnv.net
>> 
>> 
>> 
>> 
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


[RDD] Quotation Marks in Edit Now & Next Data RML

2017-04-26 Thread Patrick
I am trying to enter the following RML in the Now and Next Data for the Master 
Log:

RN curl -G "http://air.radiotime.com/Playing.ashx; --data 
"partnerId=myPartnerId=myKey=myId" --data-urlencode 
"title=$TITLE" --data-urlencode "artist=$ARTIST"!

RdAdmin will not accept quotation marks. When I enter " on the keyboard, 
nothing show up in the field.

Any ideas on how to do this?

—
Patrick
patr...@scnv.net




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


Re: [RDD] Setting ASI Input Level

2017-04-11 Thread Patrick
It's an ASI6514 that says Input Level -10 to +24dBu in 0.5dBu steps.

Is that what you're referring to?

—
Patrick
patr...@scnv.net



> On Apr 11, 2017, at 7:08 PM, Fred Gleason <fr...@paravelsystems.com> wrote:
> 
> On Apr 11, 2017, at 20:56, Patrick <patr...@scnv.net 
> <mailto:patr...@scnv.net>> wrote:
> 
>> I've always been confused about dB, dBu, dBm, dBFS and possibly others.
> 
> ‘dB’ is short for decibel.  It’s merely a ratio between two different power 
> (or sometimes voltage) levels, expressed logarithmically. For the long 
> explanation, see:
> 
>   https://en.wikipedia.org/wiki/Decibel 
> <https://en.wikipedia.org/wiki/Decibel>
> 
> Since ‘dB’ all by itself is merely a ratio, to be meaningful it has to be 
> expressed in terms of some sort of standard signal.  A couple of the common 
> ones used in audio engineering are:
> 
>   dBm - Ratio against a 1 milliwatt signal into a 600 ohm load.
>   dBFS - “Full Scale” —e.g. the maximum level that a particular PCM 
> digital encoding can represent —e.g. +32768 / -32767 for PCM16.
> 
> The first has meaning only in analog contexts, while the second is meaningful 
> only in the digital realm.  If you play Rivendell's standard reference tone, 
> it will show a ‘zero’ level on the meters, which corresponds to -16 dBFS, or 
> approximately 15.8 % of the full-scale amplitude of the digital signal (about 
> +/-5177 at the peaks).  Likewise, on a properly operating analog ASI card 
> with the trim controls set to ‘zero’, that same tone should give you an 
> analog output level of +4 dBm (a common analog ‘reference’ level used by 
> pro/broadcast audio gear), while putting a signal of that amplitude into an 
> analog input should give a ‘zero’ indication on Rivendell’s meters.
> 
>> 
>> When I go to RDAdmin->ManageHost->AudioPorts I get options to set the Input 
>> and
>> Output reference levels, which are all currently at 0 dB.
>> 
>> Is that the trim you're talking about? If so, would increasing the input 
>> reference level make
>> the input more or less sensitive?
> 
> Yes.  Increasing the reference level will have the affect of making inputs 
> less sensitive while increasing the average level of outputs.  Bear in mind 
> that these trims controls are not supported on all ASI cards, and where they 
> are they often have a very limited range.  The spec sheet for the particular 
> card (most of them available at http://www.audioscience.com 
> <http://www.audioscience.com/>) should have the details.
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

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


[RDD] Setting ASI Input Level

2017-04-10 Thread Patrick
Is it possible to set the level of an input and output channels on an ASI card? 
With ALSA
I used "alsamixer", but I cannot find anything similar for the ASI cards and 
HPI driver.

The default input seems to be at 100% which is too sensitive for my broadcast 
console.

—
Patrick
patr...@scnv.net




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


Re: [RDD] Interesting RDAirplay Problem

2017-04-04 Thread Patrick
Another piece of information... I'm using an ASI6514 card. I'm not sure what 
the error message is really saying.
I don't know if it's a file handle problem or something else. Maybe I cannot 
run 3 stereo channels on the card at the same time?

—
Patrick
patr...@scnv.net



> On Apr 4, 2017, at 8:44 PM, Patrick <patr...@scnv.net> wrote:
> 
> Am I the only person on the planet that has seen this problem?
> 
> It happened again this evening. I was voice tracking for Friday and RDAirplay 
> skipped right over about 90
> minutes of music.
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
>> On Mar 28, 2017, at 9:46 PM, Patrick <patr...@scnv.net> wrote:
>> 
>> Has anyone else seen this?
>> 
>> I don't know exactly what causes it, and I can't reproduce at will, but it 
>> seems to have something to do with
>> voice tracking the current log with auto refresh enabled.
>> 
>> RDAirplay says it has a problem opening files and flies through the log. It 
>> will run through about 2-3 hours
>> of log and then start playing from there.
>> 
>> Mysql and /var/snd are on the same computer. This is running 2.15.3 and was 
>> installed from the Rivendell
>> Appliance ISO.
>> 
>> Mar 28 20:56:08 rdhost rdxport.cgi: unlink(/var/snd/070157_001.wav): Success
>> Mar 28 20:56:10 rdhost caed: card: 0  coding: 0
>> Mar 28 20:56:10 rdhost caed: LoadRecord - Card: 0  Stream: 0  Coding: 0  
>> Chans: 2  SampRate: 48000  BitRate: 0  Name: /var/snd/070157_001.wav
>> Mar 28 20:56:10 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
>> /var/snd/010332_001.wav  Handle: 65
>> Mar 28 20:56:10 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 
>> 209800  Handle: 65
>> Mar 28 20:56:10 rdhost caed: Play - 1
>> Mar 28 20:56:10 rdhost caed: Play - Card: 0  Stream: 0  Handle: 65  Length: 
>> 2506  Speed: 10  Pitch: 0
>> Mar 28 20:56:11 rdhost caed: Record - Card: 0  Stream: 0  Length: 0  Thres: 0
>> Mar 28 20:56:12 rdhost caed: LoadPlayback  Card: 0  Stream: 2  Name: 
>> /var/snd/010990_001.wav  Handle: 66
>> Mar 28 20:56:12 rdhost caed: PlaybackPosition - Card: 0  Stream: 2  Pos: 24  
>> Handle: 66
>> Mar 28 20:56:12 rdhost caed: Play - 1
>> Mar 28 20:56:12 rdhost caed: Play - Card: 0  Stream: 2  Handle: 66  Length: 
>> 206138  Speed: 10  Pitch: 0
>> Mar 28 20:56:12 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 65
>> Mar 28 20:56:27 rdhost caed: StopRecord - Card: 0  Stream: 0
>> Mar 28 20:56:27 rdhost caed: StopPlayback - Card: 0  Stream: 2  Handle: 66
>> Mar 28 20:56:27 rdhost caed: UnloadRecord - Card: 0  Stream: 0, Length: 
>> 765979
>> Mar 28 20:56:27 rdhost caed: UnloadPlayback - Card: 0  Stream: 2  Handle: 66
>> Mar 28 20:56:31 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
>> /var/snd/010332_001.wav  Handle: 67
>> Mar 28 20:56:31 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 
>> 209317  Handle: 67
>> Mar 28 20:56:31 rdhost caed: Play - 1
>> Mar 28 20:56:31 rdhost caed: Play - Card: 0  Stream: 0  Handle: 67  Length: 
>> 2989  Speed: 10  Pitch: 0
>> Mar 28 20:56:33 rdhost caed: LoadPlayback  Card: 0  Stream: 2  Name: 
>> /var/snd/070157_001.wav  Handle: 68
>> Mar 28 20:56:33 rdhost caed: PlaybackPosition - Card: 0  Stream: 2  Pos: 0  
>> Handle: 68
>> Mar 28 20:56:33 rdhost caed: Play - 1
>> Mar 28 20:56:33 rdhost caed: Play - Card: 0  Stream: 2  Handle: 68  Length: 
>> 15957  Speed: 10  Pitch: 0
>> Mar 28 20:56:34 rdhost caed: LoadPlayback  Card: 0  Stream: 3  Name: 
>> /var/snd/010990_001.wav  Handle: 69
>> Mar 28 20:56:34 rdhost caed: PlaybackPosition - Card: 0  Stream: 3  Pos: 24  
>> Handle: 69
>> Mar 28 20:56:34 rdhost caed: Play - 1
>> Mar 28 20:56:34 rdhost caed: Play - Card: 0  Stream: 3  Handle: 69  Length: 
>> 206138  Speed: 10  Pitch: 0
>> Mar 28 20:56:34 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 67
>> Mar 28 20:56:34 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 67
>> Mar 28 20:56:43 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
>> /var/snd/060802_001.wav  Handle: 70
>> Mar 28 20:56:43 rdhost rdairplay: started audio cart: Line: 637  Cart: 60802 
>>  Cut: 1 Pos: 0  Card: 0  Stream: 0  Port: 1
>> Mar 28 20:56:43 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 0  
>> Handle: 70
>> Mar 28 20:56:43 rdhost caed: Play - 1
>> Mar 28 20:56:43 rdhost caed: Play - Card: 0  Stream: 0  Handle: 70  Length: 
>> 2762  Speed: 10  Pitch: 0
>> Mar 28 20:56:45 rdhost caed: Error: hpiLoadPlayback(/var/snd/011275_001.wav) 
>>   openWave() failed to open

Re: [RDD] Interesting RDAirplay Problem

2017-04-04 Thread Patrick
Am I the only person on the planet that has seen this problem?

It happened again this evening. I was voice tracking for Friday and RDAirplay 
skipped right over about 90
minutes of music.

—
Patrick
patr...@scnv.net



> On Mar 28, 2017, at 9:46 PM, Patrick <patr...@scnv.net> wrote:
> 
> Has anyone else seen this?
> 
> I don't know exactly what causes it, and I can't reproduce at will, but it 
> seems to have something to do with
> voice tracking the current log with auto refresh enabled.
> 
> RDAirplay says it has a problem opening files and flies through the log. It 
> will run through about 2-3 hours
> of log and then start playing from there.
> 
> Mysql and /var/snd are on the same computer. This is running 2.15.3 and was 
> installed from the Rivendell
> Appliance ISO.
> 
> Mar 28 20:56:08 rdhost rdxport.cgi: unlink(/var/snd/070157_001.wav): Success
> Mar 28 20:56:10 rdhost caed: card: 0  coding: 0
> Mar 28 20:56:10 rdhost caed: LoadRecord - Card: 0  Stream: 0  Coding: 0  
> Chans: 2  SampRate: 48000  BitRate: 0  Name: /var/snd/070157_001.wav
> Mar 28 20:56:10 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
> /var/snd/010332_001.wav  Handle: 65
> Mar 28 20:56:10 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 
> 209800  Handle: 65
> Mar 28 20:56:10 rdhost caed: Play - 1
> Mar 28 20:56:10 rdhost caed: Play - Card: 0  Stream: 0  Handle: 65  Length: 
> 2506  Speed: 10  Pitch: 0
> Mar 28 20:56:11 rdhost caed: Record - Card: 0  Stream: 0  Length: 0  Thres: 0
> Mar 28 20:56:12 rdhost caed: LoadPlayback  Card: 0  Stream: 2  Name: 
> /var/snd/010990_001.wav  Handle: 66
> Mar 28 20:56:12 rdhost caed: PlaybackPosition - Card: 0  Stream: 2  Pos: 24  
> Handle: 66
> Mar 28 20:56:12 rdhost caed: Play - 1
> Mar 28 20:56:12 rdhost caed: Play - Card: 0  Stream: 2  Handle: 66  Length: 
> 206138  Speed: 10  Pitch: 0
> Mar 28 20:56:12 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 65
> Mar 28 20:56:27 rdhost caed: StopRecord - Card: 0  Stream: 0
> Mar 28 20:56:27 rdhost caed: StopPlayback - Card: 0  Stream: 2  Handle: 66
> Mar 28 20:56:27 rdhost caed: UnloadRecord - Card: 0  Stream: 0, Length: 765979
> Mar 28 20:56:27 rdhost caed: UnloadPlayback - Card: 0  Stream: 2  Handle: 66
> Mar 28 20:56:31 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
> /var/snd/010332_001.wav  Handle: 67
> Mar 28 20:56:31 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 
> 209317  Handle: 67
> Mar 28 20:56:31 rdhost caed: Play - 1
> Mar 28 20:56:31 rdhost caed: Play - Card: 0  Stream: 0  Handle: 67  Length: 
> 2989  Speed: 10  Pitch: 0
> Mar 28 20:56:33 rdhost caed: LoadPlayback  Card: 0  Stream: 2  Name: 
> /var/snd/070157_001.wav  Handle: 68
> Mar 28 20:56:33 rdhost caed: PlaybackPosition - Card: 0  Stream: 2  Pos: 0  
> Handle: 68
> Mar 28 20:56:33 rdhost caed: Play - 1
> Mar 28 20:56:33 rdhost caed: Play - Card: 0  Stream: 2  Handle: 68  Length: 
> 15957  Speed: 10  Pitch: 0
> Mar 28 20:56:34 rdhost caed: LoadPlayback  Card: 0  Stream: 3  Name: 
> /var/snd/010990_001.wav  Handle: 69
> Mar 28 20:56:34 rdhost caed: PlaybackPosition - Card: 0  Stream: 3  Pos: 24  
> Handle: 69
> Mar 28 20:56:34 rdhost caed: Play - 1
> Mar 28 20:56:34 rdhost caed: Play - Card: 0  Stream: 3  Handle: 69  Length: 
> 206138  Speed: 10  Pitch: 0
> Mar 28 20:56:34 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 67
> Mar 28 20:56:34 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 67
> Mar 28 20:56:43 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
> /var/snd/060802_001.wav  Handle: 70
> Mar 28 20:56:43 rdhost rdairplay: started audio cart: Line: 637  Cart: 60802  
> Cut: 1 Pos: 0  Card: 0  Stream: 0  Port: 1
> Mar 28 20:56:43 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 0  
> Handle: 70
> Mar 28 20:56:43 rdhost caed: Play - 1
> Mar 28 20:56:43 rdhost caed: Play - Card: 0  Stream: 0  Handle: 70  Length: 
> 2762  Speed: 10  Pitch: 0
> Mar 28 20:56:45 rdhost caed: Error: hpiLoadPlayback(/var/snd/011275_001.wav)  
>  openWave() failed to open file
> Mar 28 20:56:45 rdhost caed: unable to allocate stream for card 0
> Mar 28 20:56:45 rdhost rdairplay: finished event: Line: 638  Cart: 11275  
> Cut: 1 Card: 0  Stream: -1  Port: 0
> Mar 28 20:56:45 rdhost caed: Error: hpiLoadPlayback(/var/snd/010218_001.wav)  
>  openWave() failed to open file
> Mar 28 20:56:45 rdhost caed: unable to allocate stream for card 0
> Mar 28 20:56:45 rdhost rdairplay: finished event: Line: 639  Cart: 10218  
> Cut: 1 Card: 0  Stream: -1  Port: 1
> Mar 28 20:56:45 rdhost caed: Error: hpiLoadPlayback(/var/snd/011235_001.wav)  
>  openWave() failed to open file
> Mar 28 20:56:45 rdhost caed: unable to allocate stream for card 0
> M

[RDD] Advice on pre-recorded show

2017-03-29 Thread Patrick
We have a show segment titled “Celebrate the Music”. The show is about 45 
minutes long and plays
3 times a week.

Right now, we make one big WAV file using Audition with all the music and voice 
tracks and load it into a cart.

What I’d like to do is make a log with the all the music and voice track 
markers and then play that log at the
specified times. I can see that I can load a log at a specified time, but I’m 
not sure how to get to the original
log at the correct spot.

Is there a good way to do this, or is the single WAV the way to go?

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


[RDD] Interesting RDAirplay Problem

2017-03-28 Thread Patrick
::StartEvent(): no audio,CUT=010164_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010159_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=080101_002
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=040002_002
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010079_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010134_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=060802_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=011028_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=011032_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=070136_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=011249_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=060101_002
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010167_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010173_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=080301_006
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=040001_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010208_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010437_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=060802_002
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=060501_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=060008_002
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=011235_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=010218_001
Mar 28 20:56:50 rdhost rdairplay: LogPlay::StartEvent(): no audio,CUT=011275_001
Mar 28 20:56:50 rdhost rdairplay: finished event: Line: 637  Cart: 60802  Cut: 
1 Card: 0  Stream: 0  Port: 1
Mar 28 20:56:50 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 70
Mar 28 20:56:51 rdhost rdairplay: finished event: Line: 636  Cart: 10591  Cut: 
1 Card: 0  Stream: 1  Port: 0
Mar 28 20:56:51 rdhost caed: UnloadPlayback - Card: 0  Stream: 1  Handle: 52
Mar 28 20:56:51 rdhost caed: StopPlayback - Card: 0  Stream: 3  Handle: 69
Mar 28 20:56:51 rdhost caed: UnloadPlayback - Card: 0  Stream: 3  Handle: 69
Mar 28 20:57:05 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
/var/snd/010844_001.wav  Handle: 72
Mar 28 20:57:05 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 223000 
 Handle: 72
Mar 28 20:57:05 rdhost caed: Play - 1
Mar 28 20:57:05 rdhost caed: Play - Card: 0  Stream: 0  Handle: 72  Length: 
11770  Speed: 10  Pitch: 0
—
Patrick
patr...@scnv.net




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


Re: [RDD] Dropbox Problem

2017-03-27 Thread Patrick
Ok, I'm really hosed. A reboot didn't fix the problem.

There must be a database problem somewhere. Since RDLibrary just hangs, I'm not 
sure where to look.

—
Patrick
patr...@scnv.net



> On Mar 27, 2017, at 3:41 PM, Patrick <patr...@scnv.net> wrote:
> 
> I tried closing RDAirPlay and restarting Rivendell with 
> "/etc/init.d/rivendell restart".
> 
> RDAirPlay reloaded and works fine, but RDLibrary still hangs and must be 
> force quit.
> 
> I cannot find any error messages in any of the logs.
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
>> On Mar 27, 2017, at 3:30 PM, Patrick <patr...@scnv.net> wrote:
>> 
>> I have a dropbox problem that I cannot figure out how to resolve.
>> 
>> Dropboxes were working fine. I thought I'd try using the metadata so I set a 
>> single dropbox's metadata
>> to "%a_%t_%y.".
>> 
>> I then uploading a file into that dropbox's folder. What I got was an 
>> "Invalid URL, skipping" error in the dropbox log.
>> I went and deleted the metadata and tried again. Same error. Now all of the 
>> dropboxes are reporting that error.
>> 
>> Any idea why this is happening and how to fix without a reboot?
>> 
>> 
>> 
>> 03-27-2017 - 10:55:20 :  Deleting cuts from cart 060501
>> 03-27-2017 - 10:55:20 :  Importing file "1490634602272539ZJw0wMos4W.mp3" to 
>> cart 060501 ... done.
>> 03-27-2017 - 10:55:21 :  Deleted file "1490634602272539ZJw0wMos4W.mp3"
>> 03-27-2017 - 11:55:21 :  Deleting cuts from cart 060501
>> 03-27-2017 - 11:55:21 :  Importing file "1490638202975470563gBv64aX.mp3" to 
>> cart 060501 ... done.
>> 03-27-2017 - 11:55:22 :  Deleted file "1490638202975470563gBv64aX.mp3"
>> 03-27-2017 - 12:55:22 :  Deleting cuts from cart 060501
>> 03-27-2017 - 12:55:22 :  Importing file "149064180312716e2BAf0wfnj.mp3" to 
>> cart 060501 ... done.
>> 03-27-2017 - 12:55:23 :  Deleted file "149064180312716e2BAf0wfnj.mp3"
>> 03-27-2017 - 13:55:24 :  Deleting cuts from cart 060501
>> 03-27-2017 - 13:55:24 :  Importing file "1490645402875429vnJerVI4et.mp3" to 
>> cart 060501 ... done.
>> 03-27-2017 - 13:55:25 :  Deleted file "1490645402875429vnJerVI4et.mp3"
>> 03-27-2017 - 14:36:46 : rdimport stopped
>> 03-27-2017 - 14:36:46 : rdimport stopped
>> 
>> 03-27-2017 - 14:36:46 : rdimport started
>> RDImport v2.15.3
>> Log mode is ON
>> Normalization level = -11 dB
>> AutoTrim is OFF
>> Destination cart is AUTO
>> Single cart mode is OFF
>> Delete source mode is ON
>> Delete cuts mode is OFF
>> DropBox mode is ON
>> Start Date Offset = 0 days
>> End Date Offset = 0 days
>> Broken format workarounds are DISABLED
>> Import Create Dates mode is OFF
>> Persistent DropBox ID = 5
>> Files to process:
>>  "/home/rd/music_import/Legal IDs/*.mp3"
>> 
>> 
>> 03-27-2017 - 14:36:46 : rdimport started
>> RDImport v2.15.3
>> Log mode is ON
>> Normalization level = -6 dB
>> AutoTrim level = -20 dB
>> Destination cart is 060501
>> Single cart mode is ON
>> Delete source mode is ON
>> Delete cuts mode is ON
>> DropBox mode is ON
>> Adding Scheduler Code(s): SRNTOH
>> Start Date Offset = 0 days
>> End Date Offset = 0 days
>> Broken format workarounds are DISABLED
>> Import Create Dates mode is OFF
>> Persistent DropBox ID = 7
>> Files to process:
>>  "/dropbox/podcasts/SRN/TopHour/*.mp3"
>> 
>> 03-27-2017 - 14:55:21 :  Deleting cuts from cart 060501
>> 03-27-2017 - 14:56:17 : rdimport stopped
>> 
>> 03-27-2017 - 14:56:18 : rdimport started
>> RDImport v2.15.3
>> Log mode is ON
>> Normalization level = -11 dB
>> AutoTrim is OFF
>> Destination cart is AUTO
>> Single cart mode is OFF
>> Delete source mode is ON
>> Delete cuts mode is OFF
>> DropBox mode is ON
>> Start Date Offset = 0 days
>> End Date Offset = 0 days
>> Broken format workarounds are DISABLED
>> Import Create Dates mode is OFF
>> Persistent DropBox ID = 5
>> Files to process:
>>  "/home/rd/music_import/Legal IDs/*.mp3"
>> 
>> 
>> 03-27-2017 - 14:56:18 : rdimport started
>> RDImport v2.15.3
>> Log mode is ON
>> Normalization level = -6 dB
>> AutoTrim level = -20 dB
>> Destination cart is 060501
>> Single cart mode is ON
>> Delete source mode is ON
>> Delete cuts mode is ON
>> DropBox mode is ON
>> Adding Scheduler Code(s): SRNTOH

Re: [RDD] Dropbox Problem

2017-03-27 Thread Patrick
I tried closing RDAirPlay and restarting Rivendell with "/etc/init.d/rivendell 
restart".

RDAirPlay reloaded and works fine, but RDLibrary still hangs and must be force 
quit.

I cannot find any error messages in any of the logs.

—
Patrick
patr...@scnv.net



> On Mar 27, 2017, at 3:30 PM, Patrick <patr...@scnv.net> wrote:
> 
> I have a dropbox problem that I cannot figure out how to resolve.
> 
> Dropboxes were working fine. I thought I'd try using the metadata so I set a 
> single dropbox's metadata
> to "%a_%t_%y.".
> 
> I then uploading a file into that dropbox's folder. What I got was an 
> "Invalid URL, skipping" error in the dropbox log.
> I went and deleted the metadata and tried again. Same error. Now all of the 
> dropboxes are reporting that error.
> 
> Any idea why this is happening and how to fix without a reboot?
> 
> 
> 
> 03-27-2017 - 10:55:20 :  Deleting cuts from cart 060501
> 03-27-2017 - 10:55:20 :  Importing file "1490634602272539ZJw0wMos4W.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 10:55:21 :  Deleted file "1490634602272539ZJw0wMos4W.mp3"
> 03-27-2017 - 11:55:21 :  Deleting cuts from cart 060501
> 03-27-2017 - 11:55:21 :  Importing file "1490638202975470563gBv64aX.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 11:55:22 :  Deleted file "1490638202975470563gBv64aX.mp3"
> 03-27-2017 - 12:55:22 :  Deleting cuts from cart 060501
> 03-27-2017 - 12:55:22 :  Importing file "149064180312716e2BAf0wfnj.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 12:55:23 :  Deleted file "149064180312716e2BAf0wfnj.mp3"
> 03-27-2017 - 13:55:24 :  Deleting cuts from cart 060501
> 03-27-2017 - 13:55:24 :  Importing file "1490645402875429vnJerVI4et.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 13:55:25 :  Deleted file "1490645402875429vnJerVI4et.mp3"
> 03-27-2017 - 14:36:46 : rdimport stopped
> 03-27-2017 - 14:36:46 : rdimport stopped
> 
> 03-27-2017 - 14:36:46 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -11 dB
> AutoTrim is OFF
> Destination cart is AUTO
> Single cart mode is OFF
> Delete source mode is ON
> Delete cuts mode is OFF
> DropBox mode is ON
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 5
> Files to process:
>   "/home/rd/music_import/Legal IDs/*.mp3"
> 
> 
> 03-27-2017 - 14:36:46 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -6 dB
> AutoTrim level = -20 dB
> Destination cart is 060501
> Single cart mode is ON
> Delete source mode is ON
> Delete cuts mode is ON
> DropBox mode is ON
> Adding Scheduler Code(s): SRNTOH
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 7
> Files to process:
>   "/dropbox/podcasts/SRN/TopHour/*.mp3"
> 
> 03-27-2017 - 14:55:21 :  Deleting cuts from cart 060501
> 03-27-2017 - 14:56:17 : rdimport stopped
> 
> 03-27-2017 - 14:56:18 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -11 dB
> AutoTrim is OFF
> Destination cart is AUTO
> Single cart mode is OFF
> Delete source mode is ON
> Delete cuts mode is OFF
> DropBox mode is ON
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 5
> Files to process:
>   "/home/rd/music_import/Legal IDs/*.mp3"
> 
> 
> 03-27-2017 - 14:56:18 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -6 dB
> AutoTrim level = -20 dB
> Destination cart is 060501
> Single cart mode is ON
> Delete source mode is ON
> Delete cuts mode is ON
> DropBox mode is ON
> Adding Scheduler Code(s): SRNTOH
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 7
> Files to process:
>   "/dropbox/podcasts/SRN/TopHour/*.mp3"
> 
> 03-27-2017 - 14:56:24 :  Importing file "1490649003182299sDXTqoyRp8.mp3" to 
> cart 060501 ... 03-27-2017 - 14:56:33 :  Deleting cuts from cart 060501
> 03-27-2017 - 14:57:27 :  Invalid URL, skipping 
> /dropbox/podcasts/SRN/TopHour/1490649003182299sDXTqoyRp8.mp3...
> 03-27-2017 - 14:57:36 :  Importing file "1490649003182299sDXTqoyRp8.mp3" to 
> cart 060501 ... 03-27-2017 - 14:58:39 :  Invalid URL, skipping 
> /dropbox/podcasts/SRN/TopHour/1490649003182299sDXTqoyRp8.mp3...
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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


Re: [RDD] Dropbox Problem

2017-03-27 Thread Patrick
A little more information...

RDLibrary no longer works. It loads, but then the app becomes unresponsive and 
must be closed with force quit.

—
Patrick
patr...@scnv.net



> On Mar 27, 2017, at 3:30 PM, Patrick <patr...@scnv.net> wrote:
> 
> I have a dropbox problem that I cannot figure out how to resolve.
> 
> Dropboxes were working fine. I thought I'd try using the metadata so I set a 
> single dropbox's metadata
> to "%a_%t_%y.".
> 
> I then uploading a file into that dropbox's folder. What I got was an 
> "Invalid URL, skipping" error in the dropbox log.
> I went and deleted the metadata and tried again. Same error. Now all of the 
> dropboxes are reporting that error.
> 
> Any idea why this is happening and how to fix without a reboot?
> 
> 
> 
> 03-27-2017 - 10:55:20 :  Deleting cuts from cart 060501
> 03-27-2017 - 10:55:20 :  Importing file "1490634602272539ZJw0wMos4W.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 10:55:21 :  Deleted file "1490634602272539ZJw0wMos4W.mp3"
> 03-27-2017 - 11:55:21 :  Deleting cuts from cart 060501
> 03-27-2017 - 11:55:21 :  Importing file "1490638202975470563gBv64aX.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 11:55:22 :  Deleted file "1490638202975470563gBv64aX.mp3"
> 03-27-2017 - 12:55:22 :  Deleting cuts from cart 060501
> 03-27-2017 - 12:55:22 :  Importing file "149064180312716e2BAf0wfnj.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 12:55:23 :  Deleted file "149064180312716e2BAf0wfnj.mp3"
> 03-27-2017 - 13:55:24 :  Deleting cuts from cart 060501
> 03-27-2017 - 13:55:24 :  Importing file "1490645402875429vnJerVI4et.mp3" to 
> cart 060501 ... done.
> 03-27-2017 - 13:55:25 :  Deleted file "1490645402875429vnJerVI4et.mp3"
> 03-27-2017 - 14:36:46 : rdimport stopped
> 03-27-2017 - 14:36:46 : rdimport stopped
> 
> 03-27-2017 - 14:36:46 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -11 dB
> AutoTrim is OFF
> Destination cart is AUTO
> Single cart mode is OFF
> Delete source mode is ON
> Delete cuts mode is OFF
> DropBox mode is ON
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 5
> Files to process:
>   "/home/rd/music_import/Legal IDs/*.mp3"
> 
> 
> 03-27-2017 - 14:36:46 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -6 dB
> AutoTrim level = -20 dB
> Destination cart is 060501
> Single cart mode is ON
> Delete source mode is ON
> Delete cuts mode is ON
> DropBox mode is ON
> Adding Scheduler Code(s): SRNTOH
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 7
> Files to process:
>   "/dropbox/podcasts/SRN/TopHour/*.mp3"
> 
> 03-27-2017 - 14:55:21 :  Deleting cuts from cart 060501
> 03-27-2017 - 14:56:17 : rdimport stopped
> 
> 03-27-2017 - 14:56:18 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -11 dB
> AutoTrim is OFF
> Destination cart is AUTO
> Single cart mode is OFF
> Delete source mode is ON
> Delete cuts mode is OFF
> DropBox mode is ON
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 5
> Files to process:
>   "/home/rd/music_import/Legal IDs/*.mp3"
> 
> 
> 03-27-2017 - 14:56:18 : rdimport started
> RDImport v2.15.3
> Log mode is ON
> Normalization level = -6 dB
> AutoTrim level = -20 dB
> Destination cart is 060501
> Single cart mode is ON
> Delete source mode is ON
> Delete cuts mode is ON
> DropBox mode is ON
> Adding Scheduler Code(s): SRNTOH
> Start Date Offset = 0 days
> End Date Offset = 0 days
> Broken format workarounds are DISABLED
> Import Create Dates mode is OFF
> Persistent DropBox ID = 7
> Files to process:
>   "/dropbox/podcasts/SRN/TopHour/*.mp3"
> 
> 03-27-2017 - 14:56:24 :  Importing file "1490649003182299sDXTqoyRp8.mp3" to 
> cart 060501 ... 03-27-2017 - 14:56:33 :  Deleting cuts from cart 060501
> 03-27-2017 - 14:57:27 :  Invalid URL, skipping 
> /dropbox/podcasts/SRN/TopHour/1490649003182299sDXTqoyRp8.mp3...
> 03-27-2017 - 14:57:36 :  Importing file "1490649003182299sDXTqoyRp8.mp3" to 
> cart 060501 ... 03-27-2017 - 14:58:39 :  Invalid URL, skipping 
> /dropbox/podcasts/SRN/TopHour/1490649003182299sDXTqoyRp8.mp3...
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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


[RDD] Dropbox Problem

2017-03-27 Thread Patrick
I have a dropbox problem that I cannot figure out how to resolve.

Dropboxes were working fine. I thought I'd try using the metadata so I set a 
single dropbox's metadata
to "%a_%t_%y.".

I then uploading a file into that dropbox's folder. What I got was an "Invalid 
URL, skipping" error in the dropbox log.
I went and deleted the metadata and tried again. Same error. Now all of the 
dropboxes are reporting that error.

Any idea why this is happening and how to fix without a reboot?



03-27-2017 - 10:55:20 :  Deleting cuts from cart 060501
03-27-2017 - 10:55:20 :  Importing file "1490634602272539ZJw0wMos4W.mp3" to 
cart 060501 ... done.
03-27-2017 - 10:55:21 :  Deleted file "1490634602272539ZJw0wMos4W.mp3"
03-27-2017 - 11:55:21 :  Deleting cuts from cart 060501
03-27-2017 - 11:55:21 :  Importing file "1490638202975470563gBv64aX.mp3" to 
cart 060501 ... done.
03-27-2017 - 11:55:22 :  Deleted file "1490638202975470563gBv64aX.mp3"
03-27-2017 - 12:55:22 :  Deleting cuts from cart 060501
03-27-2017 - 12:55:22 :  Importing file "149064180312716e2BAf0wfnj.mp3" to cart 
060501 ... done.
03-27-2017 - 12:55:23 :  Deleted file "149064180312716e2BAf0wfnj.mp3"
03-27-2017 - 13:55:24 :  Deleting cuts from cart 060501
03-27-2017 - 13:55:24 :  Importing file "1490645402875429vnJerVI4et.mp3" to 
cart 060501 ... done.
03-27-2017 - 13:55:25 :  Deleted file "1490645402875429vnJerVI4et.mp3"
03-27-2017 - 14:36:46 : rdimport stopped
03-27-2017 - 14:36:46 : rdimport stopped

03-27-2017 - 14:36:46 : rdimport started
RDImport v2.15.3
 Log mode is ON
 Normalization level = -11 dB
 AutoTrim is OFF
 Destination cart is AUTO
 Single cart mode is OFF
 Delete source mode is ON
 Delete cuts mode is OFF
 DropBox mode is ON
 Start Date Offset = 0 days
 End Date Offset = 0 days
 Broken format workarounds are DISABLED
 Import Create Dates mode is OFF
 Persistent DropBox ID = 5
 Files to process:
   "/home/rd/music_import/Legal IDs/*.mp3"


03-27-2017 - 14:36:46 : rdimport started
RDImport v2.15.3
 Log mode is ON
 Normalization level = -6 dB
 AutoTrim level = -20 dB
 Destination cart is 060501
 Single cart mode is ON
 Delete source mode is ON
 Delete cuts mode is ON
 DropBox mode is ON
 Adding Scheduler Code(s): SRNTOH
 Start Date Offset = 0 days
 End Date Offset = 0 days
 Broken format workarounds are DISABLED
 Import Create Dates mode is OFF
 Persistent DropBox ID = 7
 Files to process:
   "/dropbox/podcasts/SRN/TopHour/*.mp3"

03-27-2017 - 14:55:21 :  Deleting cuts from cart 060501
03-27-2017 - 14:56:17 : rdimport stopped

03-27-2017 - 14:56:18 : rdimport started
RDImport v2.15.3
 Log mode is ON
 Normalization level = -11 dB
 AutoTrim is OFF
 Destination cart is AUTO
 Single cart mode is OFF
 Delete source mode is ON
 Delete cuts mode is OFF
 DropBox mode is ON
 Start Date Offset = 0 days
 End Date Offset = 0 days
 Broken format workarounds are DISABLED
 Import Create Dates mode is OFF
 Persistent DropBox ID = 5
 Files to process:
   "/home/rd/music_import/Legal IDs/*.mp3"


03-27-2017 - 14:56:18 : rdimport started
RDImport v2.15.3
 Log mode is ON
 Normalization level = -6 dB
 AutoTrim level = -20 dB
 Destination cart is 060501
 Single cart mode is ON
 Delete source mode is ON
 Delete cuts mode is ON
 DropBox mode is ON
 Adding Scheduler Code(s): SRNTOH
 Start Date Offset = 0 days
 End Date Offset = 0 days
 Broken format workarounds are DISABLED
 Import Create Dates mode is OFF
 Persistent DropBox ID = 7
 Files to process:
   "/dropbox/podcasts/SRN/TopHour/*.mp3"

03-27-2017 - 14:56:24 :  Importing file "1490649003182299sDXTqoyRp8.mp3" to 
cart 060501 ... 03-27-2017 - 14:56:33 :  Deleting cuts from cart 060501
03-27-2017 - 14:57:27 :  Invalid URL, skipping 
/dropbox/podcasts/SRN/TopHour/1490649003182299sDXTqoyRp8.mp3...
03-27-2017 - 14:57:36 :  Importing file "1490649003182299sDXTqoyRp8.mp3" to 
cart 060501 ... 03-27-2017 - 14:58:39 :  Invalid URL, skipping 
/dropbox/podcasts/SRN/TopHour/1490649003182299sDXTqoyRp8.mp3...

 —
Patrick
patr...@scnv.net




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


[RDD] Timed Events and Post-Imported Carts

2017-02-26 Thread Patrick
I am using "Post-Imported Carts" to add voice tracks to the log.

If I have "Use hard start time" selected, it sets the imported cart and the 
voice track as timed events essentially dropping
the imported cart and keeping the voice track if there isn't enough room for 
the imported cart.

Should a post-imported cart also be set as timed or should only the imported 
cart (Select from: Music) be timed and the
post-imported cart should just play next?

I'm also wondering what the "Len:" option does on Pre and Post imported carts.

--
Patrick
patr...@scnv.net




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


Re: [RDD] Compiling Rivendell

2017-02-22 Thread Patrick
Now that I have patch to submit, what is the preferred method?

—
Patrick
patr...@scnv.net



> On Feb 22, 2017, at 2:53 PM, Patrick <patr...@scnv.net> wrote:
> 
> Found it in ".libs"
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
>> On Feb 22, 2017, at 2:46 PM, Patrick <patr...@scnv.net> wrote:
>> 
>> I have a question about compiling rivendell from source.
>> 
>> I found a bug in "rdlibrary/audio_cart.cpp" and got the source installed 
>> with git and changed:
>> 
>> diff --git a/rdlibrary/audio_cart.cpp b/rdlibrary/audio_cart.cpp
>> index b5cb40f..8514b1f 100644
>> --- a/rdlibrary/audio_cart.cpp
>> +++ b/rdlibrary/audio_cart.cpp
>> @@ -796,7 +796,7 @@ void AudioCart::RefreshList()
>>  l->setText(8,tr("None"));
>>}
>>if(!q->value(15).isNull()) {
>> -  l->setText(9,q->value(15).toTime().toString("hh:mm:ss"));
>> +  l->setText(9,q->value(14).toTime().toString("hh:mm:ss"));
>>  l->setText(10,q->value(15).toTime().toString("hh:mm:ss"));
>>}
>>else {
>> 
>> The problem is I cannot seem to get "rdlibrary" to compile with static 
>> libraries. When I look at "rdlibrary" after compiling
>> it looks like this:
>> 
>> #! /bin/sh
>> 
>> # rdlibrary - temporary wrapper script for .libs/rdlibrary
>> # Generated by libtool (GNU libtool) 2.4.2
>> #
>> # The rdlibrary program cannot be directly executed until all the libtool
>> # libraries that it depends on are installed.
>> #
>> # This wrapper script should never be moved out of the build directory.
>> # If it is, it will not operate correctly.
>> 
>> Is it possible to have rdlibrary built the same as /usr/bin/rdlibrary on the 
>> appliance cd?
>> 
>> —
>> Patrick
>> patr...@scnv.net
>> 
>> 
>> 
>> 
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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


Re: [RDD] Compiling Rivendell

2017-02-22 Thread Patrick
Found it in ".libs"

—
Patrick
patr...@scnv.net



> On Feb 22, 2017, at 2:46 PM, Patrick <patr...@scnv.net> wrote:
> 
> I have a question about compiling rivendell from source.
> 
> I found a bug in "rdlibrary/audio_cart.cpp" and got the source installed with 
> git and changed:
> 
> diff --git a/rdlibrary/audio_cart.cpp b/rdlibrary/audio_cart.cpp
> index b5cb40f..8514b1f 100644
> --- a/rdlibrary/audio_cart.cpp
> +++ b/rdlibrary/audio_cart.cpp
> @@ -796,7 +796,7 @@ void AudioCart::RefreshList()
>   l->setText(8,tr("None"));
> }
> if(!q->value(15).isNull()) {
> -  l->setText(9,q->value(15).toTime().toString("hh:mm:ss"));
> +  l->setText(9,q->value(14).toTime().toString("hh:mm:ss"));
>   l->setText(10,q->value(15).toTime().toString("hh:mm:ss"));
> }
> else {
> 
> The problem is I cannot seem to get "rdlibrary" to compile with static 
> libraries. When I look at "rdlibrary" after compiling
> it looks like this:
> 
> #! /bin/sh
> 
> # rdlibrary - temporary wrapper script for .libs/rdlibrary
> # Generated by libtool (GNU libtool) 2.4.2
> #
> # The rdlibrary program cannot be directly executed until all the libtool
> # libraries that it depends on are installed.
> #
> # This wrapper script should never be moved out of the build directory.
> # If it is, it will not operate correctly.
> 
> Is it possible to have rdlibrary built the same as /usr/bin/rdlibrary on the 
> appliance cd?
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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


[RDD] Compiling Rivendell

2017-02-22 Thread Patrick
I have a question about compiling rivendell from source.

I found a bug in "rdlibrary/audio_cart.cpp" and got the source installed with 
git and changed:

diff --git a/rdlibrary/audio_cart.cpp b/rdlibrary/audio_cart.cpp
index b5cb40f..8514b1f 100644
--- a/rdlibrary/audio_cart.cpp
+++ b/rdlibrary/audio_cart.cpp
@@ -796,7 +796,7 @@ void AudioCart::RefreshList()
   l->setText(8,tr("None"));
 }
 if(!q->value(15).isNull()) {
-  l->setText(9,q->value(15).toTime().toString("hh:mm:ss"));
+  l->setText(9,q->value(14).toTime().toString("hh:mm:ss"));
   l->setText(10,q->value(15).toTime().toString("hh:mm:ss"));
 }
 else {

The problem is I cannot seem to get "rdlibrary" to compile with static 
libraries. When I look at "rdlibrary" after compiling
it looks like this:

#! /bin/sh

# rdlibrary - temporary wrapper script for .libs/rdlibrary
# Generated by libtool (GNU libtool) 2.4.2
#
# The rdlibrary program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.

Is it possible to have rdlibrary built the same as /usr/bin/rdlibrary on the 
appliance cd?

—
Patrick
patr...@scnv.net




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


Re: [RDD] Problem with log chain

2017-02-22 Thread Patrick
Brilliant!

Thank you.

—
Patrick
patr...@scnv.net



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


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


[RDD] Problem with log chain

2017-02-20 Thread Patrick
I'm having an intermittent problem with chaining to the next day's log. 
Sometimes it works, sometimes it doesn't.

Last night it just started the February 19 log over again.

I think this may have something to do with a timed event at the beginning of 
the log happening before the log clears
and hits the chain.

My first question, is it possible to make the automatic log chain a timed event 
so it dumps everything out at midnight?

Here's what my /var/log/messages looks like from last night:

Feb 19 23:58:53 rdhost caed: Play - 1
Feb 19 23:58:53 rdhost rdairplay: started audio cart: Line: 818  Cart: 11261  
Cut: 1 Pos: 0  Card: 0  Stream: 0  Port: 0
Feb 19 23:58:53 rdhost caed: Play - Card: 0  Stream: 0  Handle: 22  Length: 
223874  Speed: 10  Pitch: 0
Feb 19 23:58:54 rdhost rdairplay: finished event: Line: 817  Cart: 11187  Cut: 
1 Card: 0  Stream: 1  Port: 1
Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 21
Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 21
Feb 19 23:58:54 rdhost caed: UnloadPlayback - Card: 0  Stream: 1  Handle: 21
Feb 20 00:02:36 rdhost caed: LoadPlayback  Card: 0  Stream: 1  Name: 
/var/snd/011232_001.wav  Handle: 23
Feb 20 00:02:36 rdhost rdairplay: started audio cart: Line: 819  Cart: 11232  
Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 1
Feb 20 00:02:36 rdhost caed: PlaybackPosition - Card: 0  Stream: 1  Pos: 168  
Handle: 23
Feb 20 00:02:36 rdhost caed: Play - 1
Feb 20 00:02:36 rdhost caed: Play - Card: 0  Stream: 1  Handle: 23  Length: 
227210  Speed: 10  Pitch: 0
Feb 20 00:02:37 rdhost rdairplay: finished event: Line: 818  Cart: 11261  Cut: 
1 Card: 0  Stream: 0  Port: 0
Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 22
Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 22
Feb 20 00:02:37 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 22
Feb 20 00:06:15 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
/var/snd/060101_002.wav  Handle: 24
Feb 20 00:06:15 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 120  
Handle: 24
Feb 20 00:06:15 rdhost caed: Play - 1
Feb 20 00:06:15 rdhost rdairplay: started audio cart: Line: 2  Cart: 60101  
Cut: 2 Pos: 0  Card: 0  Stream: 0  Port: 0
Feb 20 00:06:15 rdhost caed: Play - Card: 0  Stream: 0  Handle: 24  Length: 
4344  Speed: 10  Pitch: 0
Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:19 rdhost caed: LoadPlayback  Card: 0  Stream: 2  Name: 
/var/snd/010583_001.wav  Handle: 25
Feb 20 00:06:19 rdhost rdairplay: started audio cart: Line: 3  Cart: 10583  
Cut: 1 Pos: 0  Card: 0  Stream: 2  Port: 1
Feb 20 00:06:19 rdhost caed: PlaybackPosition - Card: 0  Stream: 2  Pos: 2496  
Handle: 25
Feb 20 00:06:19 rdhost caed: Play - 1
Feb 20 00:06:19 rdhost rdairplay: finished event: Line: 2  Cart: 60101  Cut: 2 
Card: 0  Stream: 0  Port: 0
Feb 20 00:06:19 rdhost caed: Play - Card: 0  Stream: 2  Handle: 25  Length: 
193994  Speed: 10  Pitch: 0
Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:19 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:23 rdhost rdairplay: finished event: Line: 819  Cart: 11232  Cut: 
1 Card: 0  Stream: 1  Port: 1
Feb 20 00:06:23 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 23
Feb 20 00:06:23 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 23

—
Patrick
patr...@scnv.net




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


[RDD] Remote Voice Tracking

2017-02-16 Thread Patrick
I've been working on remote voice tracking and have something that sort of 
works, but have run into a problem I wasn't expecting.

When I started out I thought the problem was going to be dealing with massive 
.WAV files. This was solved by keeping a local copy
of /var/snd on the remote computer and using rsync to keep /var/snd in sync 
with the host (new songs are downloaded from the
host and voice track carts are uploaded to the host).

What I wasn't anticipating was MySQL connectivity being an issue.

I loaded a voice track, just clicked "start", "record", "start", "save" and 
that generated 9 pages of SQL queries.

For example, getting 15 fields from CUTS is 15 queries, not just a single query.

Does anyone see any unintended consequences of optimizing the SQL queries for 
the voice tracking module
and possibly pre-loading some of the information rather than doing it in 
realtime while playing cuts and recording?

Other than the annoying pauses caused by these queries, the remote voice 
tracking works quite well using rsync
for all of the heavy lifting.

I'm sure smarter heads have already looked at this so I'm reaching out to the 
list.

—
Patrick
patr...@scnv.net




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


Re: [RDD] Problem with USB Headset

2017-01-29 Thread Patrick
I got around my problem by using Jack and routing the single mono channel to 
Rivendell Left and Right channels.

I'm still not sure why the USB headset doesn't "just work", but Jack is a 
reasonable solution.

—
Patrick
patr...@scnv.net



> On Jan 27, 2017, at 4:42 PM, Patrick <patr...@scnv.net> wrote:
> 
> Something else interesting. This is what the audio information says:
> 
> AUDIO ADAPTERS
>  Card 0: Logitech USB Headset ...
>  Driver: ALSA
>  Inputs: 0
>  Outputs: 1
> 
> I'm not sure why it shows 0 inputs. Could it be because it is mono and no 
> stereo?
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
>> On Jan 27, 2017, at 3:51 PM, Patrick <patr...@scnv.net> wrote:
>> 
>> I have tried a couple of different USB headsets and have the same problem.
>> 
>> When recording in RDLibrary the level meters move correctly, but when done 
>> recording, the only thing
>> recorded is a "click" sound and the .WAV is about 700 bytes.
>> 
>> The headset works fine in Audacity.
>> 
>> Does anyone have any ideas how to get it to work with Rivendell?
>> 
>> Thank you.
>> 
>> —
>> Patrick
>> patr...@scnv.net
>> 
>> 
>> 
>> 
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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


Re: [RDD] Problem with USB Headset

2017-01-27 Thread Patrick
Something else interesting. This is what the audio information says:

AUDIO ADAPTERS
  Card 0: Logitech USB Headset ...
  Driver: ALSA
  Inputs: 0
  Outputs: 1

I'm not sure why it shows 0 inputs. Could it be because it is mono and no 
stereo?

—
Patrick
patr...@scnv.net



> On Jan 27, 2017, at 3:51 PM, Patrick <patr...@scnv.net> wrote:
> 
> I have tried a couple of different USB headsets and have the same problem.
> 
> When recording in RDLibrary the level meters move correctly, but when done 
> recording, the only thing
> recorded is a "click" sound and the .WAV is about 700 bytes.
> 
> The headset works fine in Audacity.
> 
> Does anyone have any ideas how to get it to work with Rivendell?
> 
> Thank you.
> 
> —
> Patrick
> patr...@scnv.net
> 
> 
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


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


[RDD] Problem with USB Headset

2017-01-27 Thread Patrick
I have tried a couple of different USB headsets and have the same problem.

When recording in RDLibrary the level meters move correctly, but when done 
recording, the only thing
recorded is a "click" sound and the .WAV is about 700 bytes.

The headset works fine in Audacity.

Does anyone have any ideas how to get it to work with Rivendell?

Thank you.

—
Patrick
patr...@scnv.net




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


[RDD] Insert  note marker with RML

2017-01-25 Thread Patrick
Is it possible to insert meta events into the log machine using the PX or other 
RML command?

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

Patrick


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


Re: [RDD] Drop boxes and MP3 ID3 information

2017-01-15 Thread Patrick
Never mind… I believe these are all M4A converted to MP3 with ffmgpeg and that 
is where the ID3
tags are being lost.

> On Jan 15, 2017, at 9:11 PM, Patrick <patr...@scnv.net> wrote:
> 
> I set up some drop boxes to move MP3 files from RadioDJ to Rivendell.
> 
> It looks like when the MP3 is converted to PCM and the new cart is added to 
> the database, the MP3’s ID3
> tags are not being used to get the Artist and Title. The title ends up being 
> “Imported from X”.
> 
> Am I doing something wrong or does the drop box conversion process not do 
> this?
> 
> 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


[RDD] Drop boxes and MP3 ID3 information

2017-01-15 Thread Patrick
I set up some drop boxes to move MP3 files from RadioDJ to Rivendell.

It looks like when the MP3 is converted to PCM and the new cart is added to the 
database, the MP3’s ID3
tags are not being used to get the Artist and Title. The title ends up being 
“Imported from X”.

Am I doing something wrong or does the drop box conversion process not do this?

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


[RDD] *_STACK Grows Indefinitely

2017-01-11 Thread Patrick
Is it correct that the *_STACK table for each service will grow indefinitely 
when generating logs?

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

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

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

—
Patrick
patr...@scnv.net




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


[RDD] AudioScience HPI Drivers

2017-01-11 Thread Patrick
First of all, I'm seeing if I can post to this list.

Second, I'm setting up a development environment to start making changes to 
Rivendell and I noticed that
the audio appliance live CD ia using AudioScience HPI driver version 4.10.09. 
The version on the AudioScience
web site is 4.18.03.

Can the most current driver be used with Rivendell. If not, is there a link to 
the source for 4.10.09?

Patrick

—
Patrick
patr...@scnv.net




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


[RDD] Best way to keep music logs on time

2014-02-12 Thread Patrick Schmalstig / WRRJ Radio
Hello!

I'm wondering what would be the best method for setting up logs so that the
music would stay roughly on time... especially if a bad estimate of music
length is given in the clocks (I have some tracks that are up to 5X+ the
length of most others). Would there be a way to accomplish this? And if so,
how would it be?

In addition, say if I have a power outage from 3am to 4am... is there a way
Rivendell can skip all music from 3am to 4am upon Rivendell recovery?

Thank you for your help.

-- 
Signed,
Patrick Schmalstig
CEO/Founder of WRRJ Radio
http://www.wrrj.org

please remember: some of my emails are delayed 24 hours before I send them
out in order to give me time to check the content of my emails. Please call
me at 937-490-9775 if you need a faster reply.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] rmlsend not sending commands to rdairplay

2013-06-09 Thread Patrick Schmalstig / WRRJ Radio
Greetings all!

I am running rivendell 2.5.1 on Ubuntu Studio 12.04 with the JACK Audio
connection kit on 3 ports connected to JACK Mixer and being streamed from
JACK mixer out to a darkice stream.

All audio works, database is fine, but the issue is that when trying to
execute rmlsend commands triggered by php scripts via. the RN command in
macros, rmlsend doesn't work; rdairplay doesn't change logs as appropriate.

Yes, I do have php client installed. /media/snd is chmod 0777 and owned by
rivendell:rivendell. Those users are specified in /etc/rd.conf. There is a
symlink to link /var/snd to /media/snd since it's its own partition.
Rivendell and rduser users are part of rduser and rivendell groups, and
have access to audio. So does my own username have access to audio. Hosts
file correctly points to my computer name on 127.0.1.1 and localhost on
127.0.0.1. Also, the rivendell system is set on 127.0.0.1. I tried
127.0.1.1 too and it didn't work.

This used to work fine until I had to re-install my operating system due to
a hard drive corruption. Now I cannot get rmlsend to work.

Help would greatly be appreciated!


-- 
Signed,
Patrick Schmalstig
Founder/Administrator of WRRJ Radio
https://www.wrrj.org

please remember: some of my emails are delayed 24 hours before I send them
out in order to give me time to check the content of my emails. Please call
me at 937-490-9775 if you need a faster reply.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDairplay Stops

2012-12-07 Thread Patrick Schmalstig / WRRJ Radio
...actually I think he upgraded to 12.04 Ubuntu. But same principle. Kill
and keep off Pulseaudio! It is Rivendell's worst enemy.

I happen to be one of the lucky ones who have Pulseaudio and Rivendell
working and not conflicting thanks to JACK and JACK Mixer, as well as a
custom asound.conf.

Anyway, check to make sure that there isn't a RAM problem as said before.
Also check your hard drive's read access. Sometimes if my hard drive stops
reading for whatever reason, it crashes Rivendell or Rivendell will be up
but not playing anything.

I have frequent crashes of RDAirplay myself, most likely caused by macros.
Thus I created a PHP file that executes every minute via. Cron Job that
does a pgrep of rdairplay... and if rdairplay isn't running, the PHP will
open up rdairplay (then waits until it loads and it gets a process ID when
pgrepping) and then uses rmlsend to trigger a recovery log to make
rdairplay playing again.

This may not work for you (using a recovery log) if you use Rivendell in
its intended way. I don't. My Rivendell is based off of logs (but not
pre-generated or temporary logs. These are permanent) that are triggered by
either RDCatch or a PHP script firing rmlsend (and logs inside Rivendell
contain macros to fire off php scripts).

Hope this helps for you. If you are interested in the PHP RDAirplay
auto-recovery code, I can send it to you in this mailing list. It isn't
that long. Simply copy and then paste into Gedit or something, save as a
php file, then set up a cron to run this script by php
/path/to/php/file.php.

NOTE YOU MUST HAVE PHP CLIENT INSTALLED FOR THE SCRIPT TO WORK if you wish
for me to send it.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Tryphon packages with rlm_icecast2

2012-10-26 Thread Patrick Schmalstig / WRRJ Radio
They aren't included in the package I don't think.

I have uploaded both the module and the configuration file to the
category https://www.wrrj.org/downloads/category.php?id=17

Please download both. Configure the conf file BEFORE you begin using the module.

Go to rdadmin and login. Click manage hosts and then your host. Click
RDAirPlay. Click configure now  next parameters. Add a loadable
module. Browse to the .rlm module file. Then in the argument field,
type the FULL PATH to the conf file. Save everything and restart
rivendell.

On Fri, Oct 26, 2012 at 3:06 AM,  al...@tryphon.eu wrote:
 Oups ... We will check why rml files are not included in the debian/ubuntu
 package.
 ---
 Alban Peignier - al...@tryphon.eu

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




-- 
Signed,
Patrick Schmalstig
Founder/Administrator of WRRJ Radio
https://www.wrrj.org

please remember: some of my emails are delayed 24 hours before I send
them out in order to give me time to check the content of my emails.
Please call me at 937-490-9775 if you need a faster reply.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


[RDD] Rdairplay 2.2.0-1 frequent crashes

2012-10-24 Thread Patrick Schmalstig
 Hello Im having trouble with Rivendell 2.2.0-1 on Xubuntu 12.04 (installed by 
 tryphon repositories).

I just upgraded it yesterday and first thing I ran rdadmin to upgrade database. 
Rdairplay almost never crashed before I upgraded. Now its crashing with SIGABRT 
in raise()

Permissions should be fine. I didnt change any permissions since upgrade and I 
always make sure to chmod 077 the /var/run/rivendell directory before starting 
rivendell.

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


Re: [RDD] Rdairplay 2.2.0-1 frequent crashes

2012-10-24 Thread Patrick Schmalstig / WRRJ Radio
I'm not sure which version of Rivendell... the only version number I
can find is in the backups which reads database version 205.

On Wed, Oct 24, 2012 at 1:30 PM, Fred Gleason fr...@paravelsystems.com wrote:
 On Oct 24, 2012, at 10:37 01, Patrick Schmalstig wrote:

 I just upgraded it yesterday and first thing I ran rdadmin to upgrade 
 database. Rdairplay almost never crashed before I upgraded. Now its crashing 
 with SIGABRT in raise()

 What version were you upgrading *from*?

 Cheers!


 |-|
 | Frederick F. Gleason, Jr. |   Chief Developer   |
 |   |   Paravel Systems   |
 |-|
 | Logic is a way to go wrong with confidence. |
 |   --Robert Heinlein |
 |   The Notebooks of Lazarus Long   |
 |-|

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



-- 
Signed,
Patrick Schmalstig
Founder/Administrator of WRRJ Radio
https://www.wrrj.org

please remember: some of my emails are delayed 24 hours before I send
them out in order to give me time to check the content of my emails.
Please call me at 937-490-9775 if you need a faster reply.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Ogg/vorbis truncated in import ?

2012-10-12 Thread Patrick Schmalstig / WRRJ Radio
I was just now having this problem on XUbuntu 12.04 (but it was with
the repositories) with the web uploader. It imports a couple seconds
of the ogg and nothing else, even though Rivendell logged the full
length of the ogg instead of the length that was imported.

My suggestion is to use FFMPEG (in Ubuntu, there's a program called
WinFF). Convert all ogg files into wav... and then I don't know if
after doing that you can convert to flac or mp3 without errors... I'll
have to try. If conversion doesn't work (you get errors), then one
tedious method you could try is Audacity... import each file one at a
time and export it in a different format. When I've had broken audio
files and such, Audacity almost always came in handy.

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


Re: [RDD] Ogg/vorbis truncated in import ?

2012-10-12 Thread Patrick Schmalstig / WRRJ Radio
It looks like SOX can do ogg from their website... but I've had no
experience with it. I've only had experience with FFMPEG, LAME, and
Audacity. You could try it and let us know how it works!


 On Fri, Oct 12, 2012 at 4:51 PM, Cowboy c...@cwf1.com wrote:

 On Friday 12 October 2012 03:53:32 pm Patrick Schmalstig / WRRJ Radio
 wrote:
  one
  tedious method you could try is Audacity...

  Does SOX do ogg ?

 --
 Cowboy

 http://cowboy.cwf1.com

 Hartley's First Law:
 You can lead a horse to water, but if you can get him to float
 on his back, you've got something.

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




 --

 ~~
   Democracy is not a spectator sport

 Ithaca Community Radio -- 88.1 FM in Ithaca
 WRFI 91.9 FM in Watkins Glen
  WINO 89.9 FM in Odessa

 News, Culture  Information from our Neighborhoods and the World

 Phone: 607.319.5445
 Email:  progr...@ithacaradio.org
 Web:http://ithacaradio.org/


 Mailing address:
 The Clinton House
 103 West Seneca St.
 Suite 305
 Ithaca, N.Y, 14850






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




-- 
please remember: some of my emails are delayed 24 hours before I send
them out in order to give me time to check the content of my emails.
Please call me at 937-490-9775 if you need a faster reply.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Unable to create destination file (RDLibrary)

2012-07-03 Thread Patrick Schmalstig
I hate to sound rude but please stop spamming the mailing list by repeatedly 
posting in short periods of time. It is annoying and an inconvenience. The 
Rivendell system is open source so support is offered as a volunteer basis (in 
other words people don't have to help you and if they do they don't have to as 
quick as you want). If you want professional support and get quicker answers 
you will have to go elsewhere and pay money. In the meantime please stop 
repeatedly posting. It is flooding people's email.

Thank you.

On Jul 3, 2012, at 10:05 AM, ICR Programs progr...@ithacaradio.org wrote:

 Marcelo,
 
 I've seen posts from you on here ... do you think that perhaps the replies 
 are going into your Spam folder?  
 
 Or, maybe a setting in your email program is sending the replies somewhere 
 you don't realize?
 
 If you use an email program (e.g. Thunderbird, etc.), may I suggest, if you 
 can, that you log into your email via webmail, perhaps you'll see the replies 
 then. 
 
 I hope that helps!
 
 suerte!
 Rene
 
 
 On Tue, Jul 3, 2012 at 9:59 AM, Marcelo Acuña aleph_nu...@yahoo.com.ar 
 wrote:
 Matt Hart matt.hart@... writes:
 
 
  I had this same problem once, and yes, it was Apache. I think I added the
 apache user to the rivendell group and
  made sure the audio folder was g+w (group writeable).
 
 
  (I posted this 10 times and not appear and my time for put in production
 rivendell or go back to windows/zara is near to zero :-(
 
  Apache user in my system is www-data.
  I add it to rivendell and audio group but the problem remain.
  /var/snd have 777 permissions.
  I can't import mp3 files to a cut and can't delete carts.
  Is a apache o mysql problem?
 
  Marcelo
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 
 
 -- 
 
 ~~
   Democracy is not a spectator sport
 
 Ithaca Community Radio -- 88.1 FM in Ithaca
 WRFI 91.9 FM in Watkins Glen
  WINO 89.9 FM in Odessa
 
 News, Culture  Information from our Neighborhoods and the World
 
 Phone: 607.319.5445
 Email:  progr...@ithacaradio.org
 Web:http://ithacaradio.org/
 
 
 Mailing address: 
 The Clinton House
 103 West Seneca St.
 Suite 305
 Ithaca, N.Y, 14850
 
 
 
  
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Mysql syntax

2012-05-09 Thread Patrick Schmalstig / WRRJ Radio
Hey hang on I have a query I actually use myself that does just
that... although not specific group but specific scheduling code.

On Wed, May 9, 2012 at 7:39 PM, Jimmy Stinson jstin...@lwrn.org wrote:
 My mysql script writing abilities are limited.  I found the script to
 set the PLAY_COUNTER to 0 and would like to expand on it to set the
 counter to 0 only in one GROUP or by using a key in one of the CART values.

 Thanks for any help,
 Jimmy
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Mysql syntax

2012-05-09 Thread Patrick Schmalstig / WRRJ Radio
NOTE this is a php script... I do not know how to do this purely by
mysql... so you need to install php5 on your Linux system, save the
following script in a .php file located at /this/path/you/choose.php
and then in a terminal execute php /this/path/you/choose.php
(without quotes... replace /this/path/you/choose.php to the path of
your saved php file)

?php
$cutnames = array();
$cutprefix = array();
$cutsuffix = array();
$cartnumbers = array();
$cutquantities = array();
$cutnamesO = array();
$prop = array();
$sqlconnection = mysql_connect(your mysql host, your username,
your password) or die(mysql_error());
$result = mysql_query(SELECT `Rivendell`.`CART`.`NUMBER` FROM
`Rivendell`. `CART` WHERE  `GROUP_NAME` LIKE  'YOUR GROUP TITLE';)
or die(mysql_error());
$count = 0;
while($row = mysql_fetch_assoc($result))
{
  $cartnumbers[$count] = $row['NUMBER'];

  // increment counter
  $count++;
}
sleep(3);
for($i = 0, $size = sizeof($cartnumbers); $i  $size; ++$i)
{
$result2 = mysql_query(SELECT * FROM  `Rivendell`.`CUTS` WHERE
`CART_NUMBER` =  ' . $cartnumbers[$i] . ';)
or die(mysql_error());
$count = 0;
while($row2 = mysql_fetch_assoc($result2))
{
  $cutnames[$count] = $row2['CUT_NAME'];
  $cutnamesO[$count] = $cutnames[$count];

  // increment counter
  $count++;
}
for($i2 = 0, $size2 = sizeof($cutnames); $i2  $size2; ++$i2)
{
$result2 = mysql_query(UPDATE  `Rivendell`.`CUTS` SET `PLAY_COUNTER`
= '0' WHERE  `Rivendell`.`CUTS`.`CUT_NAME` =  ' . $cutnamesO[$i2] .
';)
or die(mysql_error());
}
$cutnames = array();
$cutnamesO = array();
}
sleep(5);
mysql_close($sqlconnection);
?

Please let me know how this works. This script was not tested... I had
to edit it on the fly from the one I use. If you get any errors please
let me know.

On Wed, May 9, 2012 at 7:43 PM, Patrick Schmalstig / WRRJ Radio
xana...@gmail.com wrote:
 Hey hang on I have a query I actually use myself that does just
 that... although not specific group but specific scheduling code.

 On Wed, May 9, 2012 at 7:39 PM, Jimmy Stinson jstin...@lwrn.org wrote:
 My mysql script writing abilities are limited.  I found the script to
 set the PLAY_COUNTER to 0 and would like to expand on it to set the
 counter to 0 only in one GROUP or by using a key in one of the CART values.

 Thanks for any help,
 Jimmy
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Mysql syntax

2012-05-09 Thread Patrick Schmalstig / WRRJ Radio
One more thing
IN THE SCRIPT, edit before you save/run:

Your host, user, and pass in:
$sqlconnection = mysql_connect(your mysql host, your username,
your password) or die(mysql_error());

YOUR GROUP TITLE in:
$result = mysql_query(SELECT `Rivendell`.`CART`.`NUMBER` FROM
`Rivendell`. `CART` WHERE  `GROUP_NAME` LIKE  'YOUR GROUP TITLE';)
or die(mysql_error());
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Remote upload, web interface

2012-04-10 Thread Patrick Schmalstig / WRRJ Radio
Unfortunately I have not ever heard of library management from the web for
Rivendell.

What I do for remote uploading on WRRJ Radio is I integrated the HTML code
from the pages in rd-bin within my website. An example is at
https://www.wrrj.org/admin/add-audio-to-station . I could tell you how to
do it but you would need WordPress system or some other system with a rich
text editor capable of HTML code insertion.

On Tue, Apr 10, 2012 at 10:26 AM, James Harrison
ja...@talkunafraid.co.ukwrote:

 Personally we're using a system I cooked up called IRIS to import into
 our playout system (not Rivendell, sadly, but it can import into
 Rivendell) - https://github.com/JamesHarrison/iris if you want to take a
 stab at it, but it is very complex and quite nasty to set up. If I end
 up unemployed once I'm past all these upcoming exams at uni I'll tidy it
 up and apply some polish.

 That said it's not really what you're looking for, I suspect. It'll make
 song uploads really easy from the studio or anywhere with an internet
 connection but it's not really geared for library management.

 Cheers,
 James Harrison


 On 10/04/2012 14:58, al davis wrote:
  I am wondering what others are doing for remote  upload ..  We
  want to be able to upload to Rivendell from outside with a web
  interface.
 
  Ideally, it would look like rdlibrary, but through a web
  browser.
 
  al.
  ___
  Rivendell-dev mailing list
  Rivendell-dev@lists.rivendellaudio.org
  http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

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


Re: [RDD] VNC options

2012-04-10 Thread Patrick Schmalstig / WRRJ Radio
No compiz doesn't even exist on my setup.

On Tue, Apr 10, 2012 at 8:33 PM, Geoff Barkman countryra...@gmail.comwrote:

 Thats true... when I made up the original RRAbuntu ... I removed
 compiz out of the cd image... Who really needs wobbly or exploding
 windows in a radio studio environment.

 On Wed, Apr 11, 2012 at 11:57 AM, Benjamin D. Fillmore
 benja...@fillmoretechnical.com wrote:
  You need to make sure compiz is not enabled
 
  VNC will display a blank screen if it is.
 
 
  On 4/10/2012 6:02 PM, Patrick Schmalstig / WRRJ Radio wrote:
 
  I use the MeshCentral website, however the remote desktop control doesn't
  fully work on Ubuntu. It may work the first time you install it and then
  after you can't see the screen when you connect. I'm going to try xrdp.
  Anyone tried xrdp before? How is it?
 
  On Tue, Apr 10, 2012 at 5:28 PM, Fred Gleason fr...@paravelsystems.com
  wrote:
 
  On Apr 10, 2012, at 16:39 06, Rob Landry wrote:
 
   Are any of y'all using VNC to control a Rivendell system?
  
   If so, how are you doing it?
 
  I've found x11vnc to be extremely capable.  In addition to being able to
  share a local desktop to multiple remote clients, it can do things like
  'reverse' connections (where the viewed system initiates the connection
 to
  the viewer) and encrypt connections with both ssh and ssl.  You can
 find it
  (along with lots of other nifty tools for VNC) at:
 
 http://www.karlrunge.com/x11vnc/
 
  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://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 
 
 
  ___
  Rivendell-dev mailing list
  Rivendell-dev@lists.rivendellaudio.org
  http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 
  ___
  Rivendell-dev mailing list
  Rivendell-dev@lists.rivendellaudio.org
  http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
 
 ___
 Rivendell-dev mailing list
 Rivendell-dev@lists.rivendellaudio.org
 http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

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


[RDD] Mp2 audio files do not pause properly. Workaround?

2012-03-25 Thread Patrick Schmalstig / WRRJ Radio
Hello.

I am in a set up requiring I have some sort of compressed audio. I use
mp2... saved as wav. Problem is though even if I have sound panel buttons
set to allow for pause, the audio itself starts over when I resume the
button.

Say if a button has 30 second audio clip. I pause it at 3 seconds left. I
click the button to resume. It appears as though it plays from where it
left off... but it instead plays the beginning of the audio file... and
only for the 3 remaining seconds. It should not start from the beginning of
the audio track... it should play the remaining 3 seconds of it. It worked
fine as regular wav but I have to have compressed audio on my set up...
bandwidth won't permit wav uncompressed.

Suggestions? Workarounds? Is this a bug in the program?
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] How to use mp2 as music library in Rivendell?

2012-03-20 Thread Patrick Schmalstig / WRRJ Radio
It does... that's basically what I did. ...and sorry I didn't say my
previous note correctly.

What I meant to say is mp2 doesn't support 256k when saving as a wav... it
must be saved as .mp2 and then renamed to .wav.

On Tue, Mar 20, 2012 at 4:26 PM, John Anderson j...@adjconsultingonline.com
 wrote:

 if memory serves me, and i am not near a rivendell computer right now, try
 and rename a mp2 file to wav...i think Rivendell, and most programs read
 it, cartchunk and all

   --
 *From:* Patrick Schmalstig / WRRJ Radio xana...@gmail.com
 *To:* User discussion about the Rivendell Radio Automation System 
 rivendell-dev@lists.rivendellaudio.org
 *Sent:* Tuesday, March 20, 2012 4:12 PM
 *Subject:* Re: [RDD] How to use mp2 as music library in Rivendell?

 Hello thanks for all the tips... I figured out how to use ffmpeg to
 convert the PCM wav to MP2 wav on 256kbps when it originally was saying
 that mp2 doesn't support 256k bitrate. It only supports that bitrate when
 the mp2 audio is saved as a wav. Weird.

 On Tue, Mar 20, 2012 at 9:51 AM, Fernando Della Torre cont...@fdts.com.br
  wrote:

 Hello All,

 WAV is not a format, wav is a conteiner as Fred said, what we call wav is
 in fact PCM.
 WAV files can carry almost any format, such as ADPCM flavors, MP3, MP2,
 GSM, etc.

 Thank of wav being a box that you can fill with any format depending on
 wich codec you use.


 Regards,

 Fernando Della Torre

 (16) 8137-1240
 (16) 9137-2886





 2012/3/19 Cowboy c...@gwis.com

 On Monday 19 March 2012 05:18:13 pm Fred Gleason wrote:
  It's both.  It's MPEG I Layer 2 data (popularly, and misleadingly, known
 as 'MP2'), in a Broadcast Wave File container.
  WAV is a file container format, not an audio encoding scheme.

  If memory serves, WAV was originally nothing more than Sun AU format,
  with some extra unnecessary crap tacked on, to make it ( at the time )
  Microsoft proprietary, then deliberately misleadingly called a format
  by Microsoft.

 --
 Cowboy

 http://cowboy.cwf1.com

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



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



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



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


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


[RDD] How to use dynamic IP address in Rivendell Hosts?

2012-03-19 Thread Patrick Schmalstig / WRRJ Radio
Hello!

I run a Rivendell server on the domain www.wrrj.org but unfortunately it is
a domain with a dynamic (changing) IP address. Is there any way I can use
wrrj.org in my hosts settings in rdadmin instead of constantly trying to
change the IP address to the correct one? ...or at least have a different
way to work this out?

I can do it now since my client Rivendell computer is on the same
network... but I'll be moving away to a different location next week and I
do not believe I'll be able to do that anymore for the client computer will
no longer reside on the same network as the server computer.

I appreciate your help!
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] How to use dynamic IP address in Rivendell Hosts?

2012-03-19 Thread Patrick Schmalstig / WRRJ Radio
I am moving to a college campus so in no way can I host Rivendell on my
campus computer, which was my original intention. Their policies forbid
that. So the setup is like this:

Computer #1 located off-campus with a dynamic IP registered as
wrrj.org(and updated with an update client): This is the server. It
hosts the
Rivendell database and music library. It also runs rdairplay most of the
time. It send the audio from rivendell to an internet stream via. JACK and
darkice.

Computer #2 located on the college campus has a dynamic IP and is
registered with the domain wright.edu. This is a client computer which I
will use to access the rivendell server to manipulate the music library and
to control rdairplay for live shows (by using rmlsend to stop rdairplay on
the server and then using rdairplay on the client computer. This set up is
actually interesting because even though the two rdairplays do not match
each other with logs, whatever I play on the client rdairplay also plays on
the server rdairplay... audio only that is so I can't control the logs on
the server rdairplay.)

The music library on the server computer has an nfs filesystem which will
allow the client computer to mount it on the client computer to manipulate.

The server computer does not have a sound card, neither does my streaming
provider support more than one source at the same time... therefore when I
do live shows I will have two skype accounts, and the client and server
will be in a call with each other, and the audio on the server skype will
go through the internet stream... and the audio from Rivendell (playing
live) on the server will go through skype to the client computer.

On Mon, Mar 19, 2012 at 2:01 PM, James Harrison ja...@talkunafraid.co.ukwrote:

  If you're hosting this from a residential ISP then you should probably
 consider if it's really suitable for remotely running Rivendell over,
 particularly if you plan to move audio about. Even if you don't,
 MySQL/Rivendell prefers low-latency conditions and reliable connectivity
 (no to low packet loss etc). These are not typically attributes found with
 residential ISPs. Business tier ISPs will provide static IP addresses on
 request if not by default.

 What exactly are you trying to achieve in terms of functionality? What
 does your setup look like?

 Cheers,
 James Harrison


 On 19/03/2012 17:57, Patrick Schmalstig / WRRJ Radio wrote:

 I do not have the ability to use static IP... my internet service provider
 does not permit that.

 On Mon, Mar 19, 2012 at 1:55 PM, James Harrison 
 ja...@talkunafraid.co.ukwrote:

  If your domain is pointing at a dynamic IP that's your real problem. In
 this day and age there is absolutely zero reason for this to be the case -
 static IP addresses are standard on any host in the entire world, and have
 been for decades.

 Not only Rivendell will be encounting problems if you're hosting from a
 dynamic IP. Fix that, and Rivendell will work just fine and you'll have no
 issue.

 I don't know of any way to make Rivendell work with any machines on
 dynamic IP addresses.

 Cheers,
 James Harrison


 On 19/03/2012 17:49, Patrick Schmalstig / WRRJ Radio wrote:

  Hello!

  I run a Rivendell server on the domain www.wrrj.org but unfortunately
 it is a domain with a dynamic (changing) IP address. Is there any way I can
 use wrrj.org in my hosts settings in rdadmin instead of constantly
 trying to change the IP address to the correct one? ...or at least have a
 different way to work this out?

  I can do it now since my client Rivendell computer is on the same
 network... but I'll be moving away to a different location next week and I
 do not believe I'll be able to do that anymore for the client computer will
 no longer reside on the same network as the server computer.

  I appreciate your help!


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


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




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


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


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


Re: [RDD] How to use dynamic IP address in Rivendell Hosts?

2012-03-19 Thread Patrick Schmalstig / WRRJ Radio
What latency are you referring to exactly? If you're referring to latency
caused by live audio going from the client to the rivendell server, that
will not be an issue for I'll be using Skype for live shows.

I'll see what I can do but how exactly would I set up a tunnel system on a
dynamic IP server?

On Mon, Mar 19, 2012 at 2:27 PM, Fred Gleason fr...@paravelsystems.comwrote:

 On Mar 19, 2012, at 14:01 01, James Harrison wrote:

  If you're hosting this from a residential ISP then you should probably
 consider if it's really suitable for remotely running Rivendell over,
 particularly if you plan to move audio about. Even if you don't,
 MySQL/Rivendell prefers low-latency conditions and reliable connectivity
 (no to low packet loss etc).

 Correct.  In addition to the dynamic addressing issue already referenced,
 using 'best effort' public Internet connectivity between RD hosts will be
 likely to cause you problems due to dropped UDP packets.

 If provisioning a business-class network is not an option, then your best
 bet may be to employ a TCP-based tunnel between the two systems across the
 unreliable network.  This will make overall latency somewhat worse, but
 will at least solve the dynamic addressing and dropped packet problems.

 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://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

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


  1   2   >