diff options
-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> + + |