diff options
author | Alib <aliboba@free.fr> | 2010-02-24 12:15:50 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-24 12:15:50 +0100 |
commit | a822e921f9cca4696333fa3ac630852453135e40 (patch) | |
tree | 9d2b5c89bca6857a1cdb56abd24cb1cc19f8f969 | |
parent | 4703e91adada95b89ebd3de7086ebc8588f8424f (diff) | |
download | istreamdev-a822e921f9cca4696333fa3ac630852453135e40.tar.gz istreamdev-a822e921f9cca4696333fa3ac630852453135e40.tar.bz2 |
explication mp3stream.txt pour developpement music
-rw-r--r-- | includes/inc_mp3.php | 2 | ||||
-rw-r--r-- | mp3stream.txt | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/includes/inc_mp3.php b/includes/inc_mp3.php index 78da942..ad84162 100644 --- a/includes/inc_mp3.php +++ b/includes/inc_mp3.php @@ -1,5 +1,5 @@ <?php -print "<body class=\"ipodlist\" onorientationchange=\"updateOrientation();\" onload=\"updateOrientation();\">\r\n"; +print "<body class=\"ipodlist\">\r\n"; print "<div id=\"topbar\" class=\"transparent\">\r\n"; print "<div id=\"leftnav\">\r\n"; print " <a href=\"javascript:sendForm('getback')\">Back</a></div>\r\n"; diff --git a/mp3stream.txt b/mp3stream.txt new file mode 100644 index 0000000..1361452 --- /dev/null +++ b/mp3stream.txt @@ -0,0 +1,30 @@ +en tête du menu, sous la ligne Current path: + +<li class="menu"><a href="index.php?action=playdir&dir=/mnt/media/Music/Albums/113 - Dans L + +urgence/"><img src="images/pictos/playlist.png" /><span class="name">Play directory</span><span + +class="arrow"></span></a></li> + + + +et pour les titres uniques listés: + +génère la page playlist avec les morceaux du rep,mais joue directement le morceau demandé ( dans + +l'exemple ici le 3eme en partant du haut ( file=3 ) ) : + +si param $file existe , alors ajoute dans la balise body: + +print "<body class=\"ipodlist\" onload=\"javascript:document.s3.Play()\">\r\n"; + + +Les fichiers mp3 listés en mode navigation ( non playlist ): + +<li class="menu"><a href="index.php?action=playdir&dir=/mnt/media/Music/Albums/113 - Dans L + +urgence/&file=3"><img src="images/pictos/audio.png" /><span class="name">01-113- + +a_lechelle_du_monde-mvp.mp3</span><span class="arrow"></span></a></li> + + |