Re: [RDD] 2.1.1 - sending Now/Next multiple times per song

2011-12-15 Thread Fred Gleason
On Dec 15, 2011, at 02:50 36, Keith Thelen wrote:

 I'm using Rivendell's built-in facility for sending Now/Next info over UDP.

Gotcha.

That 'built-in' facility is deprecated and hasn't been actively developed for 
years.  I'd strongly recommend moving to the Rivendell Loadable Module (RLM) 
facility.  This is much more powerful in that plug-ins can be developed to 
interface to just about any device out there.  A basic set of plug-ins come 
with the system, including one called 'rlm-udp' that can be used to send 
updates via UDP to an arbitrary number of destinations.  You configure it in 
RDAdmin-ManageHosts-RDAirPlay-Configure NowNext, in the 'Loadable Modules' 
section.  The 'Argument' parameter should be the path to the plug-in's 
configuration file.  A heavily commented example configuration can be found in 
the 'rlm_udp.conf' file, shipped with the Rivendell sources.  You can also 
develop your own plug-ins; see 'lib/rlm.h' in the Rivendell sources for 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://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev


Re: [RDD] Upgrading a Rivendell 'Download' from an old Windows PC

2011-12-15 Thread Cowboy
On Thursday 15 December 2011 05:11:35 am James Laurence wrote:
 Plus another share from the same Rivendell PC pops up in the WinXp workgroup, 
 but not the 'rdtransfer' one.

 The quick and dirty way to solve this would be to link your
 rdtransfer directory to something under one of the
 shares that does show up.

 But the sharing of that folder gave me problems, even when logged in as root.
  Basically when I press the button saying 'Configure File Sharing', it greys
 out for 3 secs (as if it's doing something) but then comes back exactly as
 before and looks at me.  No further dialog whatsoever. 
 It would appear that it hasn't shared a thing because 'rdtransfer' doesn't
 appear under the workgroup in the WinXp machine.  So there's no folder to try
 to map in WinXp. 

 Press the button ?
 I've no idea what that might be, but at lower level

 You should have a smb.conf in /etc/samba
 In that file, find a block for a share that *does* work.
 It should look something like...
[src]
comment = SourceFiles
path = /usr/src
valid users = curt
guest ok = Yes
max connections = 2
hide dot files = No
fstype = ext3

 ( this is an example from one of my systems )

 Copy that block, then in the copy change only the relevant
 lines to be what you need them to be.
 You may have more or fewer lines.

 Now, restart samba ! ( smbd )
 You may also need to restart the name daemon separately
 depending on your OS. ( nmbd )
 
 Now, the share may still not appear. That's a windows-ism.
 Windows does not query the server to show the shares.
 It queries the windows master browser cache, which doesn't
 query the server except at log-on, or at a forced refresh.
 You can do a forced refresh by typing the url for the share
 in a windows explorer ( not the web browser ) path line, such as
 //server/newshare
 If that fails ( it also queries the master browser ) then you're
 left with the start search thingy in windows.
 That *does* query the target server, and *may* add the result
 to the master browser cache, or it may not, in which
 case the windows universal fix ( reboot ) might be your only
 option. It may take a while, as it also first queries the windows
 master browser cache before querying the target machine.
 Note that you MUST have restarted nmbd on the *nix machine
 before any of the convoluted windows stuff.

-- 
Cowboy

http://cowboy.cwf1.com

He flung himself on his horse and rode madly off in all directions

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


Re: [RDD] 2.1.1 - sending Now/Next multiple times per song

2011-12-15 Thread Fred Gleason
On Dec 15, 2011, at 10:28 33, Bill Putney wrote:

 I didn't get any compile errors but after I added it RDAirPlay stopped 
 advancing through logs when in Automatic.

Sounds like the plug-in is hanging up somewhere.  Try actually moving the 
plug-in binary itself to a different location.  You might also check the syslog 
-- RDAirPlay will enumerate each plug-in it loads at startup in there.

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


Re: [RDD] 2.1.1 - sending Now/Next multiple times per song

2011-12-15 Thread Bill Putney
Fred,

Thanks for the reply. Yeah, I thought of that. I renamed the module to 
something unrecognizable. Could it be that Rivendell has the handle 
number now and is using that instead of the file name? I did a cold 
restarte of the machine but that didn't seem to help either. sigh

Bill

On 12/15/11 7:35 AM, Fred Gleason wrote:
 On Dec 15, 2011, at 10:28 33, Bill Putney wrote:

 I didn't get any compile errors but after I added it RDAirPlay stopped
 advancing through logs when in Automatic.
 Sounds like the plug-in is hanging up somewhere.  Try actually moving the 
 plug-in binary itself to a different location.  You might also check the 
 syslog -- RDAirPlay will enumerate each plug-in it loads at startup in there.

 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


Re: [RDD] 2.1.1 - sending Now/Next multiple times per song

2011-12-15 Thread Fred Gleason
On Dec 15, 2011, at 10:45 27, Bill Putney wrote:

 Could it be that Rivendell has the handle number now and is using that 
 instead of the file name?

None of that stuff gets cached.  At each startup, RDAirPlay tries to open each 
configured plug-in with dlopen(3).  If that fails (e.g. because the binary 
isn't there), then that plug-in's entire configuration is skipped.

I suspect that your breakage is something entirely unrelated, the relation to 
changes in your RLM setup being just coincidental.

Cheers!


|-|
| Frederick F. Gleason, Jr. |   Chief Developer   |
|   |   Paravel Systems   |
|-|
|  If I traveled to the end of the rainbow|
|  As Dame Fortune did intend,|
|  Murphy would be there to tell me   |
|  The pot's at the *other* end.  |
|  -- Bert Whitney|
|-|

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


Re: [RDD] 2.1.1 - sending Now/Next multiple times per song

2011-12-15 Thread Bill Putney
I was afraid of that. I think the short cut is to just reload the 
station from the Live CD then restore the /etc directory from backup. 
The sound files and database are on a separate server.

Bill

On 12/15/11 8:02 AM, Fred Gleason wrote:
 On Dec 15, 2011, at 10:45 27, Bill Putney wrote:

 Could it be that Rivendell has the handle number now and is using that 
 instead of the file name?
 None of that stuff gets cached.  At each startup, RDAirPlay tries to open 
 each configured plug-in with dlopen(3).  If that fails (e.g. because the 
 binary isn't there), then that plug-in's entire configuration is skipped.

 I suspect that your breakage is something entirely unrelated, the relation to 
 changes in your RLM setup being just coincidental.

 Cheers!


 |-|
 | Frederick F. Gleason, Jr. |   Chief Developer   |
 |   |   Paravel Systems   |
 |-|
 |  If I traveled to the end of the rainbow|
 |  As Dame Fortune did intend,|
 |  Murphy would be there to tell me   |
 |  The pot's at the *other* end.  |
 |  -- Bert Whitney|
 |-|

 ___
 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