Changeset 21 for mymrc

Show
Ignore:
Timestamp:
07/04/07 04:43:23 (5 years ago)
Author:
ciro
Message:

Added <canvas> definition to the data.txt
Added "Favourites" playlist to the db_creates.sql statements

Location:
mymrc/trunk/mymrc/temp
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • mymrc/trunk/mymrc/temp/data.txt

    r8 r21  
    44list: 
    55----- 
     6opcode: 0910 
    67 
    78<list title="title of the playlist"> 
     
    1920form: 
    2021----- 
     22opcode: 0911 
    2123 
    2224<form title="title of the form"> 
     
    4446 
    4547 
     48 
     49canvas:  (temporary) 
     50------- 
     51opcode: 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 
     57There's only a "PlaybackCanvas" so far to consider, it's gonna be generated 
     58automatically and all - it basically just needs opcodes for some certain types 
     59and mappings to keys. 
     60 
     61I'm not quite sure about the song id, if it's necessary - I could send it with 
     62the command opcodes then, so there wouldn't be much code to be changed on the 
     63server side. However, if it wouldn't matter for you, we can ommit it. 
     64 
     65command type: play, stop, last, previous, backward, forward, volup, voldown 
     66              -> mapped directly to canvas elements 
     67              options, back 
     68              -> behaviour like the others 
     69 
     70key code: I only consider "0" - "9" 
     71 
     72note: - the keycode is optional 
     73      - if command type is not "options" or "back", the label is ignored 
    4674 
    4775------------------------ 
  • mymrc/trunk/mymrc/temp/db_creates.sql

    r17 r21  
    182182INSERT INTO audio_genre(id, name) VALUES(125, 'Dance Hall'); 
    183183 
    184  
     184INSERT INTO audio_playlist(name) VALUES('Favourites'); 
    185185 
    186186 
  • mymrc/trunk/mymrc/temp/db_creates.sql.html

    r17 r21  
    190190<font color="#ffff00"><b>INSERT</b></font>&nbsp;<font color="#ff6060"><b>INTO</b></font>&nbsp;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> 
    191191<br> 
    192 <br> 
     192<font color="#ffff00"><b>INSERT</b></font>&nbsp;<font color="#ff6060"><b>INTO</b></font>&nbsp;audio_playlist(name) <font color="#ff6060"><b>VALUES</b></font>(<font color="#ff40ff"><b>'Favourites'</b></font>);<br> 
    193193<br> 
    194194<br>