<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.rivendellaudio.org/index.php?action=history&amp;feed=atom&amp;title=Auto-Recovery_After_a_Power_Failure</id>
		<title>Auto-Recovery After a Power Failure - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.rivendellaudio.org/index.php?action=history&amp;feed=atom&amp;title=Auto-Recovery_After_a_Power_Failure"/>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Auto-Recovery_After_a_Power_Failure&amp;action=history"/>
		<updated>2026-05-01T21:11:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.4</generator>

	<entry>
		<id>http://wiki.rivendellaudio.org/index.php?title=Auto-Recovery_After_a_Power_Failure&amp;diff=638&amp;oldid=prev</id>
		<title>DKlann: Mention removal of .rdairplaylock.</title>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Auto-Recovery_After_a_Power_Failure&amp;diff=638&amp;oldid=prev"/>
				<updated>2023-03-22T16:33:00Z</updated>
		
		<summary type="html">&lt;p&gt;Mention removal of .rdairplaylock.&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:33, 22 March 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Place a shortcut that calls RDAirplay in the startup folder in KDE (or whichever desktop manager is used).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#Place a shortcut that calls RDAirplay in the startup folder in KDE (or whichever desktop manager is used).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#In the shortcut (script, etc.), use the appropriate command-line switches for 'rdairplay' to load a log automatically.&amp;#160; The usual variables (month, day, year, etc.) work as in Rivendell, since RD uses the standard variables used in the 'date' program in Linux. (See below.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#In the shortcut (script, etc.), use the appropriate command-line switches for 'rdairplay' to load a log automatically.&amp;#160; The usual variables (month, day, year, etc.) work as in Rivendell, since RD uses the standard variables used in the 'date' program in Linux. (See below.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;You may need to remove RDAirplay's lock file if RDAirplay complains with:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:Multiple-instances-not-allowed.png|400px|thumb|center|Multiple Instances Not Allowed]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and if you are ''certain'' no other instance is running, you should remove the file &amp;lt;tt&amp;gt;~/.rdairplaylock&amp;lt;/tt&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It may be that RDAirplay can not be made to start up in the middle of a long-form cart that should be playing.&amp;#160; If the log consists primarily of carts that are all designed to have a non-hard-timed PLAY or SEGUE transition, you might have a problem getting the log to start back up, so you might consider putting in at least one hard-timed event per hour if the log allows it.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It may be that RDAirplay can not be made to start up in the middle of a long-form cart that should be playing.&amp;#160; If the log consists primarily of carts that are all designed to have a non-hard-timed PLAY or SEGUE transition, you might have a problem getting the log to start back up, so you might consider putting in at least one hard-timed event per hour if the log allows it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DKlann</name></author>	</entry>

	<entry>
		<id>http://wiki.rivendellaudio.org/index.php?title=Auto-Recovery_After_a_Power_Failure&amp;diff=636&amp;oldid=prev</id>
		<title>DKlann: Change the path of file rdairplay.desktop</title>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Auto-Recovery_After_a_Power_Failure&amp;diff=636&amp;oldid=prev"/>
				<updated>2023-03-22T16:15:35Z</updated>
		
		<summary type="html">&lt;p&gt;Change the path of file rdairplay.desktop&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:15, 22 March 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot; &gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also note the &amp;quot;Icon&amp;quot; entry:&amp;#160; It will have to point to the location of your icons and RDUSER changed to the name of the user you run Rivendell as.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also note the &amp;quot;Icon&amp;quot; entry:&amp;#160; It will have to point to the location of your icons and RDUSER changed to the name of the user you run Rivendell as.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;gt; cat ~/.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;kde&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Autostart&lt;/del&gt;/rdairplay.desktop&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;gt; cat ~/.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;config&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;autostart&lt;/ins&gt;/rdairplay.desktop&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; [Desktop Entry]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; [Desktop Entry]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DKlann</name></author>	</entry>

	<entry>
		<id>http://wiki.rivendellaudio.org/index.php?title=Auto-Recovery_After_a_Power_Failure&amp;diff=119&amp;oldid=prev</id>
		<title>Higgles: Created page with &quot;==Configuring the server==  Your server should be protected against power outages, but not everyone has the luxury of a generator backup.  At the least a good UPS should provi...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Auto-Recovery_After_a_Power_Failure&amp;diff=119&amp;oldid=prev"/>
				<updated>2018-03-12T16:07:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Configuring the server==  Your server should be protected against power outages, but not everyone has the luxury of a generator backup.  At the least a good UPS should provi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Configuring the server==&lt;br /&gt;
&lt;br /&gt;
Your server should be protected against power outages, but not everyone has the luxury of a generator backup.  At the least a good UPS should provide for a clean shutdown.  When power is restored, the following will automatically start RDAirplay and load the appropriate log:&lt;br /&gt;
 &lt;br /&gt;
#Set the BIOS to automatically power the computer on after a power failure.&lt;br /&gt;
#Set up the Linux workstation to automatically log in all the way straight to the desktop (i.e. don't require or else automatically provide the user credentials so that there is no logon prompt when the computer is powered up).  This could be considered a security risk in some environments: a password protected screen saver may help mitigate the exposure.&lt;br /&gt;
#Place a shortcut that calls RDAirplay in the startup folder in KDE (or whichever desktop manager is used).&lt;br /&gt;
#In the shortcut (script, etc.), use the appropriate command-line switches for 'rdairplay' to load a log automatically.  The usual variables (month, day, year, etc.) work as in Rivendell, since RD uses the standard variables used in the 'date' program in Linux. (See below.)&lt;br /&gt;
&lt;br /&gt;
It may be that RDAirplay can not be made to start up in the middle of a long-form cart that should be playing.  If the log consists primarily of carts that are all designed to have a non-hard-timed PLAY or SEGUE transition, you might have a problem getting the log to start back up, so you might consider putting in at least one hard-timed event per hour if the log allows it.&lt;br /&gt;
&lt;br /&gt;
==Example of the shortcut placed in the autostart directory==&lt;br /&gt;
&lt;br /&gt;
For reference, here's a shortcut that should be put into the &amp;lt;homedir&amp;gt;/.kde/Autostart/ directory on a Rivendell system that is designed to autostart RDAirplay after a power failure.  &lt;br /&gt;
It will display as an icon in a graphical environment, but this is what will display when you cat the file itself from the command line.  (The shortcut is actually just a text file containing appropriate entries.)&lt;br /&gt;
&lt;br /&gt;
Note particularly the &amp;quot;Exec&amp;quot; line below.  The Rivendell log name is called &amp;quot;fri&amp;quot; and what the &amp;quot;|sed ...&amp;quot; stuff does is change all the upper-case characters to lower-case.  (Of course, one could simply rename the logs, but that would be too easy.)  Adapt the line to match your naming convention as necessary.&lt;br /&gt;
&lt;br /&gt;
Also note the &amp;quot;Icon&amp;quot; entry:  It will have to point to the location of your icons and RDUSER changed to the name of the user you run Rivendell as.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; cat ~/.kde/Autostart/rdairplay.desktop&lt;br /&gt;
&lt;br /&gt;
 [Desktop Entry]&lt;br /&gt;
 BinaryPattern=&lt;br /&gt;
 Categories=Qt&lt;br /&gt;
 Comment=&lt;br /&gt;
 Comment[en_US]=&lt;br /&gt;
 Encoding=UTF-8&lt;br /&gt;
 Exec=rdairplay  --log1=`date +%a|sed y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/`:+&lt;br /&gt;
 GenericName=Rivendell On-Air Playout&lt;br /&gt;
 GenericName[en_US]=Rivendell On-Air Playout&lt;br /&gt;
 Icon=/home/RDUSER/cvs/rivendell/icons/rivendell-32x32.xpm&lt;br /&gt;
 MimeType=&lt;br /&gt;
 Name=RDAirPlay&lt;br /&gt;
 Path=&lt;br /&gt;
 StartupNotify=true&lt;br /&gt;
 Terminal=false&lt;br /&gt;
 TerminalOptions=&lt;br /&gt;
 Type=Application&lt;br /&gt;
 X-DCOP-ServiceType=&lt;br /&gt;
 X-KDE-SubstituteUID=false&lt;br /&gt;
 X-KDE-Username=&lt;br /&gt;
&lt;br /&gt;
-------------&lt;br /&gt;
(Many thanks to Sherrod Munday for the above procedure.)&lt;/div&gt;</summary>
		<author><name>Higgles</name></author>	</entry>

	</feed>