kPlaylist with flash player support

Announcements and description of general changes in kPlaylist

kPlaylist with flash player support

Postby aba » Sat Oct 27, 2007 5:49 pm

kP from build dev build 461 supports the xspf music player.

Installation instructions:

Get the player here: http://musicplayer.sourceforge.net/

Install it somewhere where it can be accessed via web on the host where you have kP. Example: xspf under the kP directory.

Find the direct URL to the xspf_player.swf file, example: http://localhost/xspf/xspf_player.swf

Now, edit the kP script and find the following:

Code: Select all
$cfg['xspf_url']


and put the URL that was mentioned above there.

Finally, just switch it on by putting

Code: Select all
$cfg['xspf_enable']


to true.

To start playing, log into kP, click Options and choose 'xspf' as the
playlist type.
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

streaming problem on sxpf

Postby akx » Mon Oct 29, 2007 3:12 pm

having problem on sxpf the tempo was so fast when streaming on the sxpf player
akx
 
Posts: 11
Joined: Tue Nov 15, 2005 1:50 am

Re: streaming problem on sxpf

Postby aba » Mon Oct 29, 2007 3:25 pm

akx wrote:having problem on sxpf the tempo was so fast when streaming on the sxpf player


Please explain?
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Postby akx » Mon Oct 29, 2007 3:32 pm

this is my kplaylist site http://akx.homeip.net/mp3stream/

done upgrading t0 latest kplaylist version with sxpf then follow everything on your instruction but when i play the mp3's using sxpf player the audio that streams sound like being fast forward...
akx
 
Posts: 11
Joined: Tue Nov 15, 2005 1:50 am

Postby aba » Mon Oct 29, 2007 3:47 pm

akx wrote:this is my kplaylist site http://akx.homeip.net/mp3stream/

done upgrading t0 latest kplaylist version with sxpf then follow everything on your instruction but when i play the mp3's using sxpf player the audio that streams sound like being fast forward...


Ok. If there are problems with the sound, there is an issue with the flash player or the flash platform. Which browser and OS are you using to play music? (Not server.)
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Postby akx » Mon Oct 29, 2007 3:54 pm

Mozilla Firefox / WinXP
akx
 
Posts: 11
Joined: Tue Nov 15, 2005 1:50 am

Postby aba » Mon Oct 29, 2007 4:02 pm

akx wrote:Mozilla Firefox / WinXP


Did you download the extended or the slim version of the player? If slim, get extended. (I am not sure if that should matter, but I haven't tested the slim version yet.)

Also, check that you're running the latest flash player..
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Postby akx » Mon Oct 29, 2007 4:18 pm

same problem aba.
yes latest flash version, found the problem it was on the lame, disabling the lame support would fix the problem...

but i need lame to be enable some of my listeners are dial up so i need to lower the bitrate for them...
akx
 
Posts: 11
Joined: Tue Nov 15, 2005 1:50 am

Postby aba » Mon Oct 29, 2007 4:40 pm

akx wrote:same problem aba.
yes latest flash version, found the problem it was on the lame, disabling the lame support would fix the problem...

but i need lame to be enable some of my listeners are dial up so i need to lower the bitrate for them...


Ahh, it seems like you cannot use lame + the flash player, the reason is that the flash player requires the total size of the file (and that's a number lame cannot give before the file is completely re-encoded).
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Postby akx » Mon Oct 29, 2007 4:43 pm

ohhh ok no solution for this aba??? maybe a alternative flash player that can use lame or don't required the total size of the file...
akx
 
Posts: 11
Joined: Tue Nov 15, 2005 1:50 am

Postby Quicksilver » Tue Oct 30, 2007 9:28 pm

Any idea why when the Flash player tries to load in a pop up, I get an empty gray box, but when I load it's URI manually, it plays fine?
Quicksilver
 
Posts: 17
Joined: Tue Oct 30, 2007 9:24 pm

Postby aba » Tue Oct 30, 2007 9:39 pm

Quicksilver wrote:Any idea why when the Flash player tries to load in a pop up, I get an empty gray box, but when I load it's URI manually, it plays fine?


Did you check that the URL you configured ($cfg['xspf_url']) in the script is correct?
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Postby Quicksilver » Tue Oct 30, 2007 9:40 pm

Yes, it is right. I can copy the URI reference kPlaylist builds right out of the source for the popup, paste it in a window, and it works fine.
Quicksilver
 
Posts: 17
Joined: Tue Oct 30, 2007 9:24 pm

[SOLVED]

Postby Quicksilver » Tue Oct 30, 2007 9:44 pm

Resolution:
WAS: $cfg['xspf_url'] = 'http://www.-------.net/kplaylist/xspf_player.swf';
NOW: $cfg['xspf_url'] = 'xspf_player.swf';

Making the URI relative rather than absolute did it for me.
Quicksilver
 
Posts: 17
Joined: Tue Oct 30, 2007 9:24 pm

Postby aba » Tue Oct 30, 2007 9:46 pm

Quicksilver wrote:Yes, it is right. I can copy the URI reference kPlaylist builds right out of the source for the popup, paste it in a window, and it works fine.


Do you use the same base URL to both the xspf and your kP site? That is, equal domain/host.
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Next

Return to Announcement



cron