TCMODS Edition of ACX/Orion WebUI - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 25th August 2014, 12:45 AM   #1
diyAudio Member
 
Join Date: Jan 2012
Default TCMODS Edition of ACX/Orion WebUI

Hi,

I've made some mods to the wonderful ACX/Orion WebUI used in the Volumio14 distro that may be of interest to DIY types. Search the source files for comment lines with the string "TC (Tim Curtis)" to examine the new and modified code. Release notes are below.

More information including player screen shots, diy instructions and downloads are located at the web site listed below. The code is covered under the GPL so feel free to use it in any way

Enjoy these mods!
tcmods.org

Regards,
TC


=============
RELEASE NOTES
=============

1.0 Release 2014-08-23

Bug Fixes

- FIX: Sample rate converter setting never changes from "Fastest Sinc Interpolator"
- FIX: Timer knob not updating due to bug in jquery.countdown.js 1.6.2 (v1.6.3 fixes it)
- FIX: Syntax error in line 38 "minwords..." in js/i18n/_messages.en.js

WebUI and Code Overall

- NEW: Theme changer with six default themes
- NEW: Audio Information popup shows input, dsp, output, device and system attributes
- NEW: Power Off and Audio Info buttons on left side header
- NEW: Audio device description file for Audio Information popup
- NEW: Power off and Reboot reconnect pages
- UPD: Change WebUI base color scheme to Flat-UI Midnight Blue
- UPD: Change modal base color scheme to Flat-UI Midnight Blue
- UPD: Set notification message fade to 1 sec from default of 8 secs for panel messages
- UPD: Change trashcan icon to list icon for Playlist "consume mode”
- UPD: Remove "Main" pick from Menu (redundant with Playback footer button)
- UPD: Rename "Playback" menu pick to "MPD"
- UPD: Replace "Credits" menu pick with streamlined "About" modal
- UPD: Streamline text and control layout on configuration pages
- UPD: Reduce php worker sleep time for more responsive cmd processing
- UPD: Workerwait(1) not used in certain cases for more responsive cmd processing

Playback Panel

- NEW: Album art displayed when an image file exists in the album folder, refer to (1) below
- NEW: Image file search list includes folder.jpg, folder.png, cover.jpg and cover.png
- NEW: Custom cover art displayed when Webradio station is playing
- NEW: Default cover art displayed when playlist is empty or album art not found
- NEW: Cover art click launches Amazon search by artist+album or webradio song title
- NEW: Display Webradio station name under song ttle
- NEW: Display Webradio station url if song title not sent by station
- UPD: Display bitrate only for Webradio (remove bit depth)

(1) Album art display requires the following configuration:
a) /mnt/NAS/SourceName mounts to the parent dir of an Artist/Album dir structure
ex: /mnt/NAS/Music -> //IP/SHARE where SHARE/Artist/Album/imagefile.ext exists
b) /mnt/NAS/SourceName is symlinked to /var/www/covers
c) Getting album art from multiple SourceNames is not supported at this time

Playlist Panel

- NEW: Display Webradio station url if song title not sent by station
- NEW: Include Webradio station name under song title in playlist entry

Library Panel

- UPD: Change column headers to all caps for visibility
- UPD: Allow text to wrap

Browse Panel, Webradio station List

- NEW: Sort station list alphabetically
- NEW: Hide .pls in station name display
- NEW: Replace default stations with modded versions from contrib by <jansandred>
https://www.dropbox.com/sh/uvoj146f907f1f4/dssh0hfZRs
- NEW: Edit station file names for readability in station list

System Configuration page

- NEW: Theme selection buttons
- NEW: G2 Labs BerryNOS added to I2S DAC btn list
- UPD: Sort DAC btn list alphabetically

MPD Configuration page

- NEW: Add resampling rates 16/48, 16/88.2, 24/48 and 24/88.2 rates to selection list
- UPD: Reenable Zeroconf controls to allow service name to be changed

Hardware

- NEW: Add support for G2 Labs BerryNOS I2S DAC using "sndrpihifiberry"" I2S driver
- UPD: Add (optionally) 1GHz overclock parms to /boot/config.txt to enable MPD
Medium Sinc Interpolator SRC to function glitch free at conversion rates up
to 24/96 in certain scenarios. This applies to Raspberry Pi model B.

=================
END RELEASE NOTES
=================
  Reply With Quote
Old 25th August 2014, 07:41 PM   #2
DRONE7 is offline DRONE7  New Zealand
diyAudio Member
 
Join Date: Aug 2008
Good to see your enthusiasm and passion for this project !

The audio information pop-up is an interesting addition and I like that you are thinking a time frame that includes ongoing development..
The bit depth misreporting would be good to have fixed.

If I may suggest a simple addition as a humble user... A timed power down option. Would be useful for those late night nod-offs listening to webradio.
  Reply With Quote
Old 26th August 2014, 12:35 AM   #3
diyAudio Member
 
Join Date: Jan 2012
Quote:
Originally Posted by DRONE7 View Post
Good to see your enthusiasm and passion for this project !

The audio information pop-up is an interesting addition and I like that you are thinking a time frame that includes ongoing development..
The bit depth misreporting would be good to have fixed.

If I may suggest a simple addition as a humble user... A timed power down option. Would be useful for those late night nod-offs listening to webradio.
Hi,

I'll investigate your feature suggestion.

There happens to be a "worker" module which is part of the server side of the Player that wakes up every 5 seconds to check for requests in its work queue to act on. It already handles user directed reboot and power down as well as the new theme change requests

Since it's command list can be extended, your feature may be possible, but as you know nothing is as simple as it seems when it comes to modding software!

Regards,
TC
  Reply With Quote
Old 28th August 2014, 02:15 AM   #4
diyAudio Member
 
Join Date: Jan 2012
Hi,

Beginning to work on some of the "Up Next" items for release 1.1

I've just finished fixing the Library parsing bug This is where if a song title contains a colon character ":" everything after the colon gets truncated. It affects song title display in the Library, Playback and Playlist panels! BTW, song titles with a colon are commonly found in the Classical genre. In the example song titles below, the parsing bug would cause only "Szymanowski" to be displayed.

Szymanowski: Mazurka In G Flat, Op. 50/1
Szymanowski: Mazurka In E Minor, Op. 50/2

The screen shots below show the Library panel before and after the bug fix.

Regards,
TC
Attached Images
File Type: png lib-parse-before.png (244.5 KB, 91 views)
File Type: png lib-parse-after.png (216.3 KB, 88 views)
  Reply With Quote
Old 28th August 2014, 07:11 PM   #5
diyAudio Member
 
Join Date: Aug 2008
Is it possible to merge this mod with RuneAudio, which is maintained by ACX?
  Reply With Quote
Old 28th August 2014, 08:24 PM   #6
diyAudio Member
 
Join Date: Jan 2012
I'm sure its possible since all the mods are fully commented Unfortunately, I don't know my way around Arch so I can't offer any direct help to integrate and test, but I can certainly share knowledge, code and ideas with them or anyone else that is interested.

Regards,
TC
  Reply With Quote
Old 29th August 2014, 01:06 AM   #7
diyAudio Member
 
Join Date: Jan 2012
Hi,

Just an fyi regarding what items from the Up Next list I'm working on, in no particular order.

1) investigate odd bit depths being reported by MPD
3) fix some issues with layout, text wrapping and btn size
8) investigate save/load/delete custom playlists (fix up and complete this feature)

Regards,
Tim
  Reply With Quote
Old 29th August 2014, 03:17 PM   #8
diyAudio Member
 
Join Date: Jan 2012
Hi,

WRT odd bit depths being reported by MPD, I posted a few questions along with the table below to the MPD help forum.

The table data suggests that MPD is defaulting MP3 stream input to 24 bit but I'm not sure what is going on with the 16 bit WAV file (a CD track rip) being handled as 32 bit by MPD.

Regards,
TC
Attached Images
File Type: png bit_depth_analysis.png (29.5 KB, 63 views)
  Reply With Quote
Old 30th August 2014, 12:18 AM   #9
diyAudio Member
 
Join Date: Jan 2012
Hi,

Max over at the MPD forums provided a nice explaination of whats going on with MPD bit depths. This is what MPD is doing:

(1) MP3: The property of bit depth does not exist in compressed file formats until they are decoded back to PCM. MPD uses libmad plugin to decode MP3 format and libmad outputs 28/44.1 PCM of which 24 bits are used by MPD.

(2) WAV: The libsndfile plugin is used by MPD to decode WAV format files and this decoder always outputs a bit depth of 32 bits.

(3) HW_PARAMS: This is the bit depth reported by ALSA and is what is actually sent to the audio device. If its lower than the MPD decoded bit depth, it reflects MPD falling back to a PCM bit depth that the audio hardware indicates it can support. This was the case in the WAV example where the decdoded bit depth was 32 bits but the DAC (a BerryNOS) can handle only up to 24 bit.

Bottom line is that MPD bit depth reporting is OK, but its not necessarily the source bit depth but rather the bit depth output by the particular decoder MPD is using.

I think all thats needed is a bit of editing in the Input Media section of the Audio Info popup to indicate what the bit depth actually reflects. Something like "(MPD decoder bit depth)".

Case closed

Regards,
TC
  Reply With Quote
Old 4th September 2014, 01:03 AM   #10
diyAudio Member
 
Join Date: Jan 2012
Hi,

Continuing with work on "Up Next" items for release 1.1

I've just finished completing the saved playlist feature. The feature now includes the following fixes and new capabilities:

- FIX: Saved playlist name not showing up in Browse panel
- NEW: On click, list items in saved playlist
- NEW: Action menu for saved playlist includes "Delete this playlist"
- NEW: Action menu for saved playlist items includes Add, Add/play, Add/replace/play

The attached screen shots show 1 before and 2 after Browse panels.

Next I'll be working on general layout, text wrap and button size issues, the timed power off feature, then probably a release.

Regards,
TC
Attached Images
File Type: png before-browse-panel-1.png (47.3 KB, 44 views)
File Type: png after-browse-panel-1.png (53.2 KB, 44 views)
File Type: png after-browse-panel-2.png (96.1 KB, 11 views)
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
D.Self's latest edition tvrgeek The Lounge 8 1st March 2014 01:51 AM
Hx-Home Edition and Hx Mini Edition will be released December, 24th destroyer X Solid State 54 3rd September 2012 03:44 PM
Orion NT 200 vs Orion 2150 SX Clipped Car Audio 3 12th June 2007 01:55 PM
Special Edition? carcass Full Range 0 13th March 2007 10:37 PM
Orion Concept 97 2 (Rare limited edition digital 30 band EQ) belunt Swap Meet 5 15th November 2006 07:28 PM


New To Site? Need Help?

All times are GMT. The time now is 04:19 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2