Snakeoil Forums

Full Version: Request For Comments: Snakeoil 1.0.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
It would be nice to add the ability to specify additional mpd & alsa options:
audio_buffer_size
buffer_before_play
buffer_time
period_time

Additional for mpd_dsd_rt:
player_priority
decoder_priority
(18-Apr-2017, 09:07 PM)m@jor Wrote: [ -> ]It would be nice to add the ability to specify additional mpd & alsa options:
audio_buffer_size
buffer_before_play
buffer_time
period_time
Wonder how easy it is to implement this function. Will think about it and get back to you.
 
(18-Apr-2017, 09:07 PM)m@jor Wrote: [ -> ]Additional for mpd_dsd_rt:
player_priority
decoder_priority
In a way the Snakeoil tab already allow this feature. When you set a process priority, it is applied to the main program as well as any forked threads. But you cannot specify two different levels like you can with MPD. Again I'd have to think of the best way to do this.

Likely not going to make it to the 1.0.0 release, but it will be in a future firmware update.
(19-Apr-2017, 07:44 AM)agent_kith Wrote: [ -> ]When you set a process priority, it is applied to the main program as well as any forked threads.

Does not work for mpd-dsd-rt. mpd-dsd-rt sets priorities from the file mpd.conf, section realtime_option

It is usually desirable to set install the player_priority higher than the decoder_priority
I will still edit mpd.conf.template   Cool
(20-Apr-2017, 12:14 AM)m@jor Wrote: [ -> ]Does not work for mpd-dsd-rt. mpd-dsd-rt sets priorities from the file mpd.conf, section realtime_option
It should, at least with the latest firmware, MPD forked at least two threads - one is playback, the other is decoding. And the set priority script will also apply to the forked threads.

 
(20-Apr-2017, 12:14 AM)m@jor Wrote: [ -> ]It is usually desirable to set install the player_priority higher than the decoder_priority
I will still edit mpd.conf.template   Cool
I find running them all in real time is best. Tongue But yes, editing the template will work also. Thumbs Up
(20-Apr-2017, 07:41 AM)agent_kith Wrote: [ -> ]It should, at least with the latest firmware, MPD forked at least two threads - one is playback, the other is decoding. And the set priority script will also apply to the forked threads.

Here are all the threads of the mpd-dsd-rt

[Image: 2017_04_20_11_05_30.png]

1407 - main process. Priority is set from the "Snakeoil" tab
1411 - decoder thread. Priority is set from the mpd.conf
1416 - player thread. Priority is set from the mpd.conf
1408 and 1410 - Unknown to me threads
(20-Apr-2017, 07:23 PM)m@jor Wrote: [ -> ]
(20-Apr-2017, 07:41 AM)agent_kith Wrote: [ -> ]It should, at least with the latest firmware, MPD forked at least two threads - one is playback, the other is decoding. And the set priority script will also apply to the forked threads.

Here are all the threads of the mpd-dsd-rt

[Image: 2017_04_20_11_05_30.png]

1407 - main process. Priority is set from the "Snakeoil" tab
1411 - decoder thread. Priority is set from the mpd.conf
1416 - player thread. Priority is set from the mpd.conf
1408 and 1410 - Unknown to me threads

ah. mpd-dsd-rt will override that. Older versions of MPD should honour the set priority part of the snakeoil.  But then again it's been a while since i last tested this. Will re-check later once I finish coding up the web app. OK
The current Snakeoil OS web app has 3 places for you to upload files to install stuffs:
1) One place to upload the firmare and module
2) Another place to upload the system kernel
3) And for activated users, yet another place to upload the deb file you want to install!

[Image: bird.gif]
You guys are too polite to say this - but the current interface sucks! Introducing the new user interface.
[Image: drag_and_drop.png]

No longer are there 3 different areas that you have to specifically know what they are. Upload 'em all into this box and just let SnakeoilOS handle it for you. Supporting modern HTML5 features like drag n drop - drag the files from your Explorer (or Safari?) browser and drop them into the area marked by the dashed borders. The upload and install will begin automatically.
A good to have feature I guess, the new web-app will notify you (once every 24 hours) if there is a new firmware update. (See the red on yellow text here). Click on that yellow box will bring you to the URL to download the firmware.
[Image: system_update.png]
This and background task execution means all the difficult stuffs are now crossed off. Can almost see the finish line now. [Image: bike.gif]
Jigged some of the tasks around (Delayed some of the harder stuffs till the next release). It's cheating I know, but now progress has officially passed 80% (Currently at 81%).

Five more things to finish, and we're officially there! Not too bad in 2 months I must say, when really I'm spending around an hour or so a day on coding this new web application!

[Image: embarrassed3.gif]
Did burn my entire weekend on this though, so that's around 30 hours of development in the past two days. Mainly dwelled on the re-design and re-invent how the "music library" tab is organised. Hopefully it's less cluttered, and more intuitive compared to the old system.

Anyway, need your help. Go to this website, and browse around:
 

This is the new web-interface of the NextGen Snakeoil Web application. Please report back with pictures if there any issues/quirks. Try it with all the devices you have - e.g. Computers, tablets, mobiles/handphones. And different browsers if possible. From the biggest display you have, to the tiniest one.

I'm trying to design a UI without the need for documentation. This is the first time you're exposed to this new user interface, and you should just be able to use it straight away. If there are any objects you do not understand, or if some aspect is confusing to you. Please let me know, and I'd improve that.

Any issues/quirks/questions, please take a picture (or screencap), and explain to me the difficulties and problems you have. For issues/problems please also include details of the device you're seeing this from (e.g. tablet specs, browser name and it's version).
looks really flash!
Pages: 1 2 3 4