- Timestamp:
- 07/04/07 04:43:23 (5 years ago)
- Location:
- mymrc/trunk/mymrc/temp
- Files:
-
- 3 modified
-
data.txt (modified) (3 diffs)
-
db_creates.sql (modified) (1 diff)
-
db_creates.sql.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mymrc/trunk/mymrc/temp/data.txt
r8 r21 4 4 list: 5 5 ----- 6 opcode: 0910 6 7 7 8 <list title="title of the playlist"> … … 19 20 form: 20 21 ----- 22 opcode: 0911 21 23 22 24 <form title="title of the form"> … … 44 46 45 47 48 49 canvas: (temporary) 50 ------- 51 opcode: 0912 52 53 <canvas id="song id" title="song title" length="length of the song in seconds"> 54 <command type="command type" label="text" key="key code" opcode="opcode"/> 55 </canvas> 56 57 There's only a "PlaybackCanvas" so far to consider, it's gonna be generated 58 automatically and all - it basically just needs opcodes for some certain types 59 and mappings to keys. 60 61 I'm not quite sure about the song id, if it's necessary - I could send it with 62 the command opcodes then, so there wouldn't be much code to be changed on the 63 server side. However, if it wouldn't matter for you, we can ommit it. 64 65 command type: play, stop, last, previous, backward, forward, volup, voldown 66 -> mapped directly to canvas elements 67 options, back 68 -> behaviour like the others 69 70 key code: I only consider "0" - "9" 71 72 note: - the keycode is optional 73 - if command type is not "options" or "back", the label is ignored 46 74 47 75 ------------------------ -
mymrc/trunk/mymrc/temp/db_creates.sql
r17 r21 182 182 INSERT INTO audio_genre(id, name) VALUES(125, 'Dance Hall'); 183 183 184 184 INSERT INTO audio_playlist(name) VALUES('Favourites'); 185 185 186 186 -
mymrc/trunk/mymrc/temp/db_creates.sql.html
r17 r21 190 190 <font color="#ffff00"><b>INSERT</b></font> <font color="#ff6060"><b>INTO</b></font> audio_genre(id, name) <font color="#ff6060"><b>VALUES</b></font>(<font color="#ff40ff"><b>125</b></font>, <font color="#ff40ff"><b>'Dance Hall'</b></font>);<br> 191 191 <br> 192 < br>192 <font color="#ffff00"><b>INSERT</b></font> <font color="#ff6060"><b>INTO</b></font> audio_playlist(name) <font color="#ff6060"><b>VALUES</b></font>(<font color="#ff40ff"><b>'Favourites'</b></font>);<br> 193 193 <br> 194 194 <br>
