• Steam recently changed the default privacy settings for all users. This may impact tracking. Ensure your profile has the correct settings by following the guide on our forums.

LocalPlayer, stream your music library over the web

Status
Not open for further replies.
Give it a shot I guess, I test on PHP5 so I don't know.

Right new release, took me longer than expected thanks to real life getting in the way.
This version has basic playlist support like I promised but I forgot to fix the linux bug so you still can't go out to the root directory, sorry.

Next version should have all the options etc. and I'll be working on making the playlists faster since it's quite slow atm...

2igm6ua.jpg
 
Tabbed playlists, nice :)
 
Didn't want to bring out another update until I had more things added but I fixed the linux file browsing bug, you can now go into the root directory on linux.
Also added a little more information to the lastfm plugin, tags and similar artist. It also looks a little better than it did before as I updated the CSS.

While I'm at it here's some info about tabs:
Double clicking on a tab gets you the options for it (delete, rename).
Double clicking on empty space in the tab row will create a new tab.
You can drop artists/albums/tracks from the song browser on the active tab to add them to the playlist, hover over a non active tab for a second to make it active.
You can drop artists/albums/tracks into the empty space on the tab row to create a new playlist, it'll also automatically name the playlist. So if you dropped in one album it'll name it "Artist - Album" if you dropped more than 1 album by the same artist it'll be name "Artist" and if you drop mulitple artists it'll be named the default of "New Playlist".

Edit: Aaaand fixed it, new version is back :blushing:

30uerg3.jpg
 
Alright, well, by default it does not work on a "standard" Linux server.

However, I'm sure it requires some sort of php module. I'll get back to saying if I figure out which one here.
 
I run Linux and it works fine on my server. PHP 5.2.8. No special modules enabled, aside from XCache, which wouldn't affect compatibility anyway.
 
Any idea what was wrong NoEffex?

Just a little update, Options menu is working as is library rescan with adding additional library sources being the next thing working.

In the new version (Beta3) instead of the library scanner popping up the first time LP loads, a box will show asking you to enter an admin password. When you log into LP from other computers you'll need to enter this password to access any part of LP, this is to stop someone from accessing your music without your permission or worse, browsing your entire computers contents by using dir.php. This ties into the options menu as you can manage the pass from there and also add a guest password, by accessing LocalPlayer through the guess pass some features will not work, eg library scanning (dir.php), layout saving, plugin options, account management (obviously) etc. The guests playlists will also be separate from your playlists.
This is a much needed feature for obvious reasons, like showing your friends some new music without worrying about them messing your player up etc.

As well as Option menu, there will be a Plugin menu that each individual plugin will be able to add a menu item to for their options. The album art plugin will get options to maintain aspect ratio and don't enlarge past original size. The lastfm plugin will get login support eventually (when scrobbling is fleshed out, need my own domain for this). The song browser will get options to make it tie in more with the playlist.

Loosely planned for the Beta4 release is musicbrainz integration (along with bog standard tag editing) so you can automatically get the correct tags for songs. These tags will be able to be "hard" saved (straight into the MP3s themselves) or "soft" saved (will only effect them in the LocalPlayer db and will not touch the real files). There might be a way to group multi artist albums under one heading in the song browser but I can't say for sure, I'll look at this idea later.

Any of you guys have ideas for standard plugins I should include by default? I'm all ears.
 
Just implemented a "surprise" feature I wasn't even expecting to put in. Saw a post about the effect on a blog and decided to take some open source code and work it into localplayer.

You can see the effect below:

kcgjcz.png


There's been some major changes:
The tabbing system is full implemented
The Lastfm plugin can scrobble the tracks you're listening too
A Cover flow effect for browsing your music
Options and Plugin menus working
Can enable a console that localplayer/plugins can log info to (for instance if lastfm srobbled your track correctly)
Lyrics panel, nothing fancy was just easy to put in so I did it

I don't know when I'll release this version because I need to have a website before I'm allowed release anything with scrobble functionality (I have to reg the program with lastfm). It might be another week or two, it's coming along nicely though.
 
Im surprised no-one else has posted, i think the new features are fantastic. Well done :)
If you need a domain, I heard register are doing a free years domain registration and i think (not sure if its gone) godaddy are doing
 
Thats my man, however I would do one difference to make it IE compatible, I would make the reflections using the php image lib, then just simple JS and z-index ;). However the canvas tag is quite fun, I made some demos using it not too long ago. Any who, canvas works on the iPhone, so no complaints here ;).
 
Thats my man, however I would do one difference to make it IE compatible, I would make the reflections using the php image lib, then just simple JS and z-index ;). However the canvas tag is quite fun, I made some demos using it not too long ago. Any who, canvas works on the iPhone, so no complaints here ;).

Generating dynamic images in php is highly inefficient, imo. I tried doing it once and it nearly doubled my CPU load.
So, I just run a cronjob everyday at 00:00 now for that image. Works perfectly, and no slow server.
But this with the JS is really nice; good work, Chat. ;)
 
Coverflow is going to one of the features that will take a good browser to make it work.
The example I took the code from didn't work in IE and I'm not going to make it work, IE just would not be able to handle it.
The effect is sluggish but very workable on my FF, good in Safari and beautiful in Chrome. I'm going to recommend people use Chrome for LP from now on (although I'll definitely keep it working in FF and most of it working in IE), the V8 engine is great.

Also making a desktop shortcut using Chrome's inbuilt feature or using prism for FF really makes the program feel more natural as an app, it's a really cool effect. I recommend doing that too.
 
btw, if it looks beautiful in chrome, then it looks the same or better in Safari, since chrome is based off webkit xD, which was made by apple for Safari. Also Explosions, its not dynamic really, you are only creating one image per cover, one time. You never need to make it again once it is made. So it is quite a bit more efficient, and cross browser support is easy since it would just be divs. Since IE doesnt support <canvas>
 
Yes, but Safari's JS is actually faster :P, at what fps do you update?

But then again I havent tried recent chrome updates
 
Also Explosions, its not dynamic really, you are only creating one image per cover, one time. You never need to make it again once it is made. So it is quite a bit more efficient, and cross browser support is easy since it would just be divs. Since IE doesnt support <canvas>

It's more than once, unless it's cached. And even then, the cache expires and it has to be remade.
 
Or just save the image to the disk xD.

Ohh btw, Chat I think its your code because I can run 2D physics in safari fine at 30fps with 40+ bodies. Which is a lot more taxing than simple image rendering.
 
Status
Not open for further replies.
Back
Top