Page 1 of 1

player1.html (Local HTML player that does cross fading)

PostPosted: Tue Dec 17, 2019 12:53 am
by Azkatro
Hey all

I've made my own player that I've been using quite a bit and thought I'd share.

Best thing about it is that it supports cross fading with silence detection (this is supported by transcoding settings, instructions are in the Settings tab when you run the player and login). It's called Party Mode.

DISCLAIMER:

This is not a finished product and has lots of unfinished stuff, as well as likely a lot of bugs. The code is basically ad-hoc rubbish. This is provided as open source. Feel free to change it, fix it, just don't sell it, and credit me as the original author if you want to rework it and make it better for others.

FEATURES:

- Plays music from your Subsonic server (or any for that matter, so long as you have access)
- Old school playback counter/buttons
- Create a playback queue on the fly
- Intelligent Shuffle playback (should play everything in your queue, even if you add or re-order stuff on the fly, without repeating anything)
- Party Mode (intelligently cross fades between songs)
- Drag and drop queue items
- Select multiple items using ctrl/shift
- Basic Subsonic playlist creation/support
- File browser tab
- Displays cover art
- Adjust playback speed (under Info tab)
- Video playback
- Seeking/volume adjust etc
- Different visual themes (under Settings)
- Gapless (this doesn't work properly half the time though)

INSTRUCTIONS:

Follow this link to try it out: https://noddy.nu/player1.html

To save the player on your computer, right click on the above link and choose Save As.

Re: player1.html (Local HTML player that does cross fading)

PostPosted: Tue Dec 17, 2019 12:53 am
by Azkatro
(removed)

Re: player1.html (Local HTML player that does cross fading)

PostPosted: Tue Dec 17, 2019 1:49 pm
by acroyear
missing "player.css" - nevermind, no it isn't - if there's a login failure, which i had because my server's still 1.15.0 api so i needed to change that in the ajax call, then other things don't load after that point. Also, I needed to edit the theme selector to pull the files from the cdn, not locally. :)

Re: player1.html (Local HTML player that does cross fading)

PostPosted: Wed Dec 18, 2019 1:28 am
by Azkatro
acroyear wrote:missing "player.css" - nevermind, no it isn't - if there's a login failure, which i had because my server's still 1.15.0 api so i needed to change that in the ajax call, then other things don't load after that point. Also, I needed to edit the theme selector to pull the files from the cdn, not locally. :)


Thanks for checking it out! I fixed the few things you mentioned and edited my posts.

Re: player1.html (Local HTML player that does cross fading)

PostPosted: Thu Dec 19, 2019 3:10 am
by wjdosch
I tried your player but am getting an error message. I'm trying to connect to "Airsonic" which is a fork of "Subsonic". Airsonic runs under Tomcat, the server is http://server1:8080/airsonic

The error I get is: Network error, could not connect to http://server1:8080/airsonic

will the player work with Tomcat apps?

Re: player1.html (Local HTML player that does cross fading)

PostPosted: Thu Dec 19, 2019 10:17 pm
by acroyear
you'll have to look at the "developer console" logs for the actual failure. If you can do that and let me know the failures, I might be able to help debug it. it is probably something really simple as it was in my case (the API version mismatch).