[RDD] RDLogedit and Multiple Copies of a Log

2012-03-06 Thread Todd Baker
Hi All:

I looked around in the archives but did not see anything about this in my 
emails.  

Is there any enhancements in the works to control logfiles so that a user would 
know when someone else has changed the Log that they are attempting to save?  

Currently we have seen broadcasters create a logfile on their desktop machine, 
then go to the studio and add the CARTS they want to the log and save it there. 
 They tell the control room it's ready to air, but go back to their desk, click 
OK, and lose the changes they made in the studio.  It would be nice if they 
were warned that they were overwriting a log which is no longer current.

Not currently running the latest version (2.0) of Rivendell but dont think this 
is a feature in the current system. Any plans to address this in the future? 

Thanks for any information you can provide on this.

Todd Baker
Radio Free Asia - Washington D.C.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


[RDD] Microwave Signal Fade

2012-03-06 Thread Alan Peterson
If that STL is starting to sound a little ragged, you might want to check under 
the hood:

http://www.youtube.com/watch?v=cZkAP-CQlhA
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] RDImport issue only just appeared

2012-03-06 Thread Guy Curtis
I get the exact same error when running the commands manually. It is on every 
single use of rdimport. I have no other information other than what i have 
given to you



Cheers,

Guy Curtis
Broadcast Engineer
A.K.A. TechnoBear
www.wazufm.org/cavederave


 From: Rob Landry 41001...@interpring.com
To: Guy Curtis guy.curt...@btinternet.com; User discussion about the 
Rivendell Radio Automation System rivendell-...@caspian.paravelsystems.com 
Sent: Monday, 5 March 2012, 22:57
Subject: Re: [RDD] RDImport issue only just appeared
 

Do you get the error if you run the command manually?

What if you change the file name? The cut number?

Invalid URL? I don't like error messages that aren't complete. File not 
found: /blah/blah/whatever.wav is a lot more helpful than just File not 
found. But I suppose YMMV.


Rob

On Mon, 5 Mar 2012, Guy Curtis wrote:

 ok so i have bash scripts to do my imports which i configure to run at
 certain times using crontab. Using the following bash script it was
 previously importing the files without issue:
 
 # !/bin/bash
 ESDAY=`date +%d`
 ESYEAR=`date +%y`
 ESMONTH=`date +%m`
 
 rdimport --delete-cuts --to-cart=030504 --delete-source ENVIROMENT
 /home/wazu/radiodropbox/EarthSky/${ESDAY}_${ESYEAR}${ESMONTH}*.mp3 2
 /home/wazu/Error/error-esimport.txt
 
 However now i am getting this error reported:
 
  Invalid URL, skipping
 /home/wazu/radiodropbox/EarthSky/05_1203Killer_Whales-90.mp3...
 
 The file exists the path is correct. I cannot work out why it cannot find
 it. Even made sure cart exists which it does
 


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


Re: [RDD] RDLogedit and Multiple Copies of a Log

2012-03-06 Thread Jorge Soto
I think there was something similar to this on the Deltaflex traffic system. 
When someone tried to access the log and someone was already logged in it would 
warn the new user about it.




 From: James Harrison ja...@talkunafraid.co.uk
To: c...@gwis.com; User discussion about the Rivendell Radio Automation System 
rivendell-dev@lists.rivendellaudio.org 
Sent: Tuesday, March 6, 2012 2:28 PM
Subject: Re: [RDD] RDLogedit and Multiple Copies of a Log
 
Nothing was decided on, afaik (other than It's damn difficult!).

However, I don't think there'd be any issue with displaying current 
editors using the following (and this is just how I'd do it as a system):

We have a table of edit flags. Each flag has a host ID, user ID, log ID 
and a timestamp, plus a version number which is by default zero if no 
other flags exist, otherwise the value of the greatest existing flag for 
this log ID. There is also an 'open' boolean field.

* Open log inserts new editing flag in a table. Check the flags table 
and warn the user if an open flag already exists for this log ID.
* Upon saving, flags table is checked- if any open flags exist for this 
log ID, someone else is currently editing this log. Display a warning 
message before saving, allow user to abort. If any closed flags exist 
with a larger version number than the currently open version, warn 
loudly, since this -will- overwrite someone else's changes
* If the user saves, set the version number to the current version 
number plus one, set the flag 'open' field to false, and save the flag, 
then save the log.

Similar behaviour can encompass all the UI buttons in rdairplay 
(add/del/move buttons just go through the open-save motions as above).

The timestamps would let a maintainence job cull all flags older than, 
say, a week to avoid a pileup. This system should let people 
intelligently notice when collisions might occur, warn people _before_ 
they do an overwrite of a log edit, but would never block users in the 
event of flags not being un-set properly etc. It'd be a massive 
improvement on the current system, but not massively complex to 
implement (assuming you speak C!).

Anyone see any big glaring holes in this one?

Cheers,
James Harrison


On 06/03/2012 21:18, Cowboy wrote:
 On Tuesday 06 March 2012 11:14:50 am Todd Baker wrote:
 I looked around in the archives but did not see anything about this in my 
 emails.
   It's there.
   Discussed at some length, and not too too long ago, but I don't
   remember the subject heading.

 Is there any enhancements in the works to control logfiles so that a user 
 would know when someone else has changed the Log that they are attempting to 
 save?
   It's a challenge.
   Not sure we resolved an approach ?
   ( memory, and age )

___
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] RDLogedit and Multiple Copies of a Log

2012-03-06 Thread Fred Gleason
On Mar 6, 2012, at 17:28 29, James Harrison wrote:

 Nothing was decided on, afaik (other than It's damn difficult!).

Not particularly difficult, but it does require some inter-host notification 
infrastructure that we don't have as yet so as to allow stale locks to be 
broken (otherwise you risk being semi-permanently locked out of logs that are 
being edited on hosts that go offline unexpectedly).

I do plan to implement this in the next major version of Rivendell.  I foresee 
two modes operation (settable on a per-service basis):

1) Strict -- Don't allow concurrent editing of logs at all.

2) Permissive -- Warn the user when about to open a log that is already open 
elsewhere, but allow them to override the warning.

Any other use cases we need to consider?

Cheers!


|-|
| Frederick F. Gleason, Jr. |   Chief Developer   |
|   |   Paravel Systems   |
|-|
| Do not try to think outside of the box.  That's impossible.  Instead,   |
| realise the truth. There is no box. |
|   --Quoted by larsmjoh on GrokLaw.net | 
|-|

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


Re: [RDD] RDLogedit and Multiple Copies of a Log

2012-03-06 Thread Cowboy
On Tuesday 06 March 2012 08:36:55 pm Fred Gleason wrote:
 Not particularly difficult, but it does require some inter-host notification 
 infrastructure that we don't have as yet so as to allow stale locks to be 
 broken (otherwise you risk being semi-permanently locked out of logs that are 
 being edited on hosts that go offline unexpectedly).

 I can see a multi-part interaction.

 A flag in the database, set by an editor opening a log for edit.
 Code in the editor to recognize that a flag is set, and behave appropriately.
 A cron job to periodically query the editor setting the flag to see if it's 
still valid,
 and clear the flag in the event the editor fails to confirm the flag valid.

-- 
Cowboy

http://cowboy.cwf1.com

Q:  How many Martians does it take to screw in a lightbulb?
A:  One and a half.

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


[RDD] New Rivendell User

2012-03-06 Thread Scott Greene
I am new to Rivendell, trying to learn it and see if it's right for us. I am 
trying to log into rdadmin but logging in with 'user' gives me the message 
'This account has insufficient priviledges for this operation.' Any suggestions?

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


Re: [RDD] New Rivendell User

2012-03-06 Thread Sharkie
Try using account 'admin' with no password.
 On Mar 7, 2012 2:07 PM, Scott Greene buster...@yahoo.com wrote:

 I am new to Rivendell, trying to learn it and see if it's right for us. I
 am trying to log into rdadmin but logging in with 'user' gives me the
 message 'This account has insufficient priviledges for this operation.' Any
 suggestions?

 Thanks,
 Scott


 ___
 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] Event title separation

2012-03-06 Thread Warren Mead
Hi all,

Need some clarification please.

Does the title separation number (in the Event dialog) refer to minutes or 
songs?

In the Rivendell Wiki the Brett Blog says minutes, and the Managing Scheduler 
Rules article talks about songs.

Thanks

Warren Mead
 Gold MX___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev