Hi, welcome to the LocalAudioFiles DB!

Quickstart-Guide


1) the Modules 'LocalAudioFiles' and 'MarkupSimpleNavigation' must be installed

2) go to ADMIN->SETUP->LocalAudioFiles and set the config (one or more pathes to directory with mp3 files)

3) go to the ShellImporterScript, open it and set the config:

     $PATH2PWindex = './index.php';
     $PWuser = 'myusername';
     $PWpass = 'my0secret0pass';

   after that you can run it!

   ( first you have to make it executable, or when on Windows you may use the
     mp3_import_starter4win.cmd to start it. Open the mp3_import_starter4win.cmd
     with a Editor and set the 2 path-variables, save it and run )

4) Now you (hopefully) should have some Audiofiles listed in your PageTree!  :)

Horst

Usage


1) if you have imported some audio files, you can get a short overview of what your DB contains here: DB-INFOS

2) or you may use one of these BranchesRootLinks: GENRES, ARTISTS, ALBUMS, SONGS

3) the two mainTemplates are in files: local-audio-files.php & local-audio-files_single.php!

4) some interesting DEMOS are available too.
   They show how to use the FrontEndHandler and also there are some docu. (So, not much, but more than nothing)

5) want to add more directories to scan, or want to bypass the Cache for a short testing/debugging period?
   Go here: Setup (Admin)!





some Players:


The Yahoo Webplayer can be embedded with a single line of code. It's perfect for lazy coders. On the other hand, what data do they send?

I have captured some packets when starting a page with it embedded and starting a song. Seems that there are 'only' some small parts of each file will be send to an analytics-server.


GET /fpc.pl?v=5.1.0.14.js&a=1000255860556&dpid=2316371183&fpc=ZVOD7UcK%7CLvTWyj0Maa%7Cfses1000255860556%3D%7CLvTWyj0Maa%7CZVOD7UcK%7Cfvis1000255860556%3D%7C8M0HoM1HoH%7C8M0HoM1HoH%7C8M0HoM1HoH%7C8%7C8M0HoM1HoH%7C8M0HoM1HoH&ittidx=1&f=http%3A%2F%2Fpw5.kawobi.local%2Fsong%2Fa-hard-days-night%2F&b=A%20Hard%20Days%20Night%20%3A%3A%20SONGS%20%3A%3A%20LocalAudioFiles-DB&enc=UTF-8&e=http%3A%2F%2Fpw5.kawobi.local%2Fsong%2F&x=2&cf21=PAGE_MEDIA_CLICK&cf22=flashengine&cf23=false&cf17=http%3A%2F%2Fpw5.kawobi.local%2Fstream%2F51708%2Fsong.mp3&cf18=http%3A%2F%2Fpw5.kawobi.local%2Fstream%2F51708%2Fsong.mp3&cf19=play%3A%20A%20Hard%20Days%20Night&cf20=AUDIO&ca=true HTTP/1.1
Host: o.analytics.yahoo.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:20.1) Gecko/20100101 Firefox/20.1
Accept: */*
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Referer: http://pw5.kawobi.local/song/a-hard-days-night/
Cookie: B=1te8io58of118&b=3&s=a9; itsc=LvTWyj0Maa|ZVOD7UcK|fvis1000255860556=|H|H|H|T|8M0HoM1H7T|H

HTTP/1.1 200 OK
Date: Mon, 06 May 2013 10:23:15 GMT
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
Set-Cookie: itsc=LvTWyj0Maa|ZVOD7UcK|fvis1000255860556=|H|H|H|1|8M0HoM1H71|H; path=/; domain=.analytics.yahoo.com
TS: 0 192 onodc1-ac4
Pragma: no-cache
Expires: Mon, 06 May 2013 10:23:16 GMT
Cache-Control: no-cache, private, must-revalidate
Content-Length: 48
Accept-Ranges: bytes
Tracking-Status: fpc site tracked
Vary: Accept-Encoding
Connection: close
Content-Type: application/x-javascript

// First Party Cookies
// TS: 0 192 onodc1-ac4