Can I have it so theres no user and pass for listeners?

General discussion about netjukebox
Post Reply
donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Can I have it so theres no user and pass for listeners?

Post by donnyten » Sun Jun 27, 2010 11:28 pm

Hi.

is it possible for someone to play an m3u stream i link them to without having to login to my jukebox?

Like say I posted one of my songs, and i just gave them the link to that specific stream, could they play it without having to login with a user and pass?

User avatar
wbartels
netjukebox developer
Posts: 790
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Can I have it so theres no user and pass for listeners?

Post by wbartels » Wed Jun 30, 2010 8:56 am

At the moment this is not possible.
However you can share an album for downloading (share album) without a username and password.

I will make a similar feature for streaming in the upcoming release!
This is what I have in mind:
  • A stream link will be valid for a week.
  • A stream stream will be locked to the first IP address that uses it.

donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Re: Can I have it so theres no user and pass for listeners?

Post by donnyten » Wed Jun 30, 2010 2:58 pm

Cool..

Can't wait :)

Thanks for responding.

User avatar
wbartels
netjukebox developer
Posts: 790
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Can I have it so theres no user and pass for listeners?

Post by wbartels » Sat Jul 10, 2010 12:46 pm

Implemented in netjukebox 5.22

donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Re: Can I have it so theres no user and pass for listeners?

Post by donnyten » Sat Jul 10, 2010 2:14 pm

Thanks!

So can you tell me how i can get this to work?

User avatar
wbartels
netjukebox developer
Posts: 790
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Can I have it so theres no user and pass for listeners?

Post by wbartels » Sun Jul 11, 2010 5:51 pm

Go to the album you want to share and click on "Share stream".
Now you have tree ways to share the stream: Mail, URL or QR-Code.

donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Re: Can I have it so theres no user and pass for listeners?

Post by donnyten » Sun Jul 11, 2010 5:57 pm

when i click on the album all i see is " Play album
Add album
Stream album
Download album
Search...
Advanced...

User avatar
wbartels
netjukebox developer
Posts: 790
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Can I have it so theres no user and pass for listeners?

Post by wbartels » Mon Jul 12, 2010 12:15 am

donnyten wrote:when i click on the album all i see is " Play album
Add album
Stream album
Download album
Search...
Advanced...
Use the config file from netjukebox 5.22!
With the default config.inc.php file you should see:

Play album
Add album
Stream album
Download album
Share stream
Share download
Search...
Advanced...

donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Re: Can I have it so theres no user and pass for listeners?

Post by donnyten » Mon Jul 12, 2010 2:24 am

Hi...

this is pretty dope.. :)!

Where there be any implementations to make it so that the stream link is open to anyone who clicks on it and not just locked to one user?

donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Re: Can I have it so theres no user and pass for listeners?

Post by donnyten » Fri Jul 01, 2011 2:42 am

It's been a while since I last posted and I have not found a solution yet. I'd like to know about the streaming thing in my last post. Has his been implemented in any of the updates?

Thanks

donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Re: Can I have it so theres no user and pass for listeners?

Post by donnyten » Mon Jul 04, 2011 8:26 pm

Hello?

User avatar
wbartels
netjukebox developer
Posts: 790
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Can I have it so theres no user and pass for listeners?

Post by wbartels » Mon Jul 04, 2011 10:26 pm

donnyten wrote:Hi...

this is pretty dope.. :)!

Where there be any implementations to make it so that the stream link is open to anyone who clicks on it and not just locked to one user?
I think that it will work if you make these changes to the stream.php script:

line: 67
-- AND ip = "' . mysqli_real_escape_string($db, $_SERVER['REMOTE_ADDR']) . '"

line: 322
-- if ($share_stream['ip'] == $_SERVER['REMOTE_ADDR'] &&
-- $share_stream['album_id'] == $album_id &&
++ if ($share_stream['album_id'] == $album_id &&

donnyten
User
Posts: 8
Joined: Sun Jun 27, 2010 11:21 pm

Re: Can I have it so theres no user and pass for listeners?

Post by donnyten » Mon Jul 04, 2011 11:33 pm

cool, let me try it.

right now i' running a wamp server and I have people streaming the music that way for now. wanted to know if this would be a bit better

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest