Hi,
So I thought about this a bit more. I found out that PLS files have a time attribute in them.
SO for example:
An administrator (web author) uploads a file at 12:56 and clicks sync.
A user logs on at 5:56 and downloads the playlist.
5:56 - 12 :56 = 6 hrs.
SO a playlist PLS time line all the length attributes = 6 hrs SO the playlist will begin playing from the beginning (first song).
Say the PLS file was two hours and 5 minutes long. If a user then clicked at 5:56 the playlist would start playing 15 minutes in to the playlist (somewhere in the third song).
make sense?
SO we would output playlist data as defined by sync.
We could store sync data in a text file.
I was thinking there would be four files. A sync.txt, sync.php, login.php, and currentsong.php
There would have to some code in login.php that says
if get server time OK
else get time via users computer
login.php has link in it to pls file
SO it would look for sync.txt file
does math
outputs current song to currentsong.php
plays files with variables.
I was brainstorming last night and this is what I came up with.
Thanks. God Bless.
Aaron.