<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=98.90.20.163</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=98.90.20.163"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/98.90.20.163"/>
	<updated>2026-04-22T13:56:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=ALARMED_Commands_List&amp;diff=534</id>
		<title>ALARMED Commands List</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=ALARMED_Commands_List&amp;diff=534"/>
		<updated>2011-07-01T23:16:45Z</updated>

		<summary type="html">&lt;p&gt;98.90.20.163: Added commands for internet radio via KMPlayer, &amp;amp; for setting speaker volume&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this article is to collect a list of [http://maemo.org/packages/view/alarmed/ Alarmed] codes for beginners to use. The idea came from a [http://talk.maemo.org/showthread.php?t=64519 talk.maemo org thread] which contained the instructions for setting up an [[#Radio1 Alarm Clock|Internet radio alarm clock]]&lt;br /&gt;
&lt;br /&gt;
They should be put in the following format:&lt;br /&gt;
&lt;br /&gt;
* Name&lt;br /&gt;
* Description&lt;br /&gt;
* Code&lt;br /&gt;
&lt;br /&gt;
Which should be all the information we need.&lt;br /&gt;
&lt;br /&gt;
==List of Phone Control commands==&lt;br /&gt;
&lt;br /&gt;
A comprehensive list of commands for Phone Control that work as commands from Alarmed can be found in the [[phone control]] article.&lt;br /&gt;
&lt;br /&gt;
==Radio1 Alarm Clock==&lt;br /&gt;
&lt;br /&gt;
This code will make your phone startup the [[Nokia N900|N900]] stock media player and connect to Radio 1 (UK station) using your wi-fi (wi-fi is recommended for connection to be made). It is a good idea to set up a regular alarm clock for 5 mins after just in case there is an internet connection error ... wouldn&#039;t want you to be late for work.&lt;br /&gt;
&lt;br /&gt;
 dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:http://www.bbc.co.uk/radio/listen/live/r1.asx &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
==Internet Radio Alarm Clock using KMPlayer==&lt;br /&gt;
&lt;br /&gt;
If you have KMPlayer installed, you may find it less prone to halting from buffering issues than the stock Media Player.  Add this as a Command Execution string in Alarmed to play an internet radio stream&#039;s URL (in this case, the stream for WCLV):&lt;br /&gt;
&lt;br /&gt;
 /opt/kmplayer/bin/kmplayer http://auggie.wclv.com/wclvmp3&lt;br /&gt;
&lt;br /&gt;
==Set Speaker Volume==&lt;br /&gt;
&lt;br /&gt;
You may want to set the speaker volume to a certain level before starting an internet radio station.  50 in the command below sets the volume level to 50%, replace 50 with whatever % volume is desired (0 - 99).&lt;br /&gt;
&lt;br /&gt;
 dbus-send --type=method_call --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.extension.set_extension_property string:volume variant:uint32:50&lt;br /&gt;
&lt;br /&gt;
==Play a sound file==&lt;br /&gt;
&lt;br /&gt;
This uses the play-sound command to play a sound file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important note:  play-sound always plays a sound file at full volume, regardless of the volume set by command or by use of the volume rocker.&#039;&#039;&#039;  Therefore it is essential when calling a file with play-sound to be sure the file is recorded at the volume that is desired for playback.  Typical sound files will be at the level of 0 or -3 dB attenuation, which can blow speakers at full volume.  If you call a sound file with play-sound, it&#039;s best to make a new copy of the file at much lower volume using sound editing software such as GoldWave (or audacity on Linux+Mac+Windows, or &#039;sox&#039; on the command line for any of those systems with &amp;quot;-v &amp;lt;ratio&amp;gt;&amp;quot; option)&lt;br /&gt;
 play-sound &#039;&#039;/path/filename.wav&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Beginners]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>98.90.20.163</name></author>
	</entry>
</feed>