Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-10-05 Thread shunte88


MrD wrote: 
> Would love to see an update to the code if only a branch.

I'm back into the code after a couple of months fighting fires in the
day job, 80hr+ 7 day weeks so not much time for anything other than
catching up on sleep

I'll be pullling the updated graphical engine into the trunk by the
weekend

Lots of improvements in terms of performance and memory management +
additional OLED device supported 

Bug fixes and enhancements

updates to follow



As of *15-Jul-2021* my digitized collection is (25814 hours 46 minutes)
+ (1 seconds) or
2.94[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 168,195
TOTAL ALBUMS: 15,446
TOTAL ARTISTS: 22,136
TOTAL GENRES: 775
TOTAL PLAYING TIME: 25814:46:01

With another ~4000 yet to be cataloged and ripped... a moving target
such that it is ...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-07-15 Thread shunte88


apologies for the radio silence my new job is taking much of my time,
baby needs new shoes and all that...

implementation of addition OLED support inclusive grayscale 256x64
SSD1322 is almost there, driver 100% functional and blindingly fast

given this introduced a lot of layout change with the additional screen
real-estate and many modifications to the graphics library and OLED
drivers in general its been a bit of a mountain to climb

I had a couple of dead ends looking for better driver and graphics
support but in the end I just rolled my own - "bare-metal" - so I have
scorchingly fast routines - again the knock on effect was a lot of code
change to take advantage iuncluding back-porting where applicable

I also took advantage of the refactoring exercise to slim down the code
some and reduce complexity

so, that said the end is in sight

currently working on dynamic layout and then this'll be a wrap, one size
fits all - in a pinch :p

there are minimal new features

the only additional code is to support the latest weather api, climacell
rebranded to tomorrow.io and updated and extended their API offerings

more on that when the time comes

I'm down to ensuring all mods are performative and I've not introduced
any new nasties

I'm shooting for the end of month to release the update



As of *11-Apr-2021* my digitized collection is (25769 hours 7 minutes) +
(5 seconds) or
2.94[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 167,701
TOTAL ALBUMS: 15,378
TOTAL ARTISTS: 22,095
TOTAL GENRES: 775
TOTAL PLAYING TIME: 25769:07:05

With another ~2700 yet to be ripped... a moving target such that it is
...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-05-03 Thread shunte88


@luc apologies really slammed with work so trying to catch up a little

the operation you described is as expected

the sluggish VU's is down to a bug that has been resolved but has as of
yet not been deployed

use the downmix switch on the command as the single VU operates
correctly.

bit confused - you don't need jivelite for the monitor to run

the monitor is intended for light weight installs where you only have a
simple monochrome, for now, OLED

Jivelite is a full featured UI and has all and more functionality than
the monitor

Jivelite can display meters, and much prettier than those in the
monitor, technically less dynamic but most if not all won't care!

its either one or the other, but I don't think you'd need both ;)

running both you could definitely be hitting trouble with shared memory
as multiple processes would be locking and unlocking memory to snapshot
and analyze, deadlocks and conflicts definitely could bind and it could
get ugly fast. 

as part of the development for larger grayscale displays much of the
visualization code has been reworked to take advantage of the color
space as well as improving the memory and resources needed to visualize
the data.

the VU code got a 100% rewrite, the meters are now drawn rather than
rendered from a stored image.  They now have realistic physics too. 
There's a video link in an earlier post showing the new version in
action.

the code is blazing fast and operates really well with the large format
displays - SPI devices

I originally developed using very low level calls against the device,
porting those back to the graphics library I'm getting a bit of a
slowdown

I have pi4 and pi3 devices I test against along with several OLED
flavors, they should all function the same so while its nice to bump to
a pi4 its not necessary

new code much leaner and meaner so that shouldn't be happening!

I'm trying to find the time to close this out and deploy an update, bit
of a scramble with other commitments.

Watch this space though and day now!



As of *11-Apr-2021* my digitized collection is (25769 hours 7 minutes) +
(5 seconds) or
2.94[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 167,701
TOTAL ALBUMS: 15,378
TOTAL ARTISTS: 22,095
TOTAL GENRES: 775
TOTAL PLAYING TIME: 25769:07:05

With another ~2700 yet to be ripped... a moving target such that it is
...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-04-13 Thread shunte88


I picked up the case on fleaBay for a cheap

I then used Frontpanel Express for the CNC work - front and rear panels

Audiophonics and DIYAudio have similar cases, very bare bones and you
don't need to spend a ton - I'm betting t'zon, Alibaba, etc have good
choices too

That was 6-7 years ago and FPEx work was [good but] pricey, especially
when you futz the OLED measurements and have to repeat the order, the
OLEDS is recessed into the panel with extra space for the kapton flex
PCB

The combined cost of that work would purchase a 3018 CNC at today's
prices. 

I've since purchased a couple of CNC machines so I'm setup to do the
work myself.

I've seen folks using acrylic and even PCB's, PCBWay/China etc, with the
benefit of printed surfaces, standoffs etc in a number of colors



As of *21-Mar-2021* my digitized collection is (25677 hours 52 minutes)
+ (09 seconds) or
2.929[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 166,435
TOTAL ALBUMS: 15,241
TOTAL ARTISTS: 21,903
TOTAL GENRES: 769
TOTAL PLAYING TIME: 25677:52:09

With another ~2700 yet to be ripped... a moving target such that it is
...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-04-12 Thread shunte88


Absolutely, I'll add it for the next release

Update on the next version:

I've spent a good bit of time optimizing the codebase, as part of the
SSD1322 implementation I've taken the route of reworking much of the
visualization processes.

VU meters as an example now constitute a single routine that covers
stereo VU, downmix, "mini" modes all scaled dynamically.  This removed
the need for the embedded bitmap data and adds color/grayscale to the
mix for OLED that support it.  And for the nerds the meter now feature
sprung/weighted needle physics.

Work is taking a lot of dev time away but I'm on a mission to get this
done

I'll be folding the new VU code into the build and releasing this week!

https://youtu.be/P3kBfFnQyGY



As of *21-Mar-2021* my digitized collection is (25677 hours 52 minutes)
+ (09 seconds) or
2.929[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 166,435
TOTAL ALBUMS: 15,241
TOTAL ARTISTS: 21,903
TOTAL GENRES: 769
TOTAL PLAYING TIME: 25677:52:09

With another ~2700 yet to be ripped... a moving target such that it is
...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-03-22 Thread shunte88


thejeko wrote: 
> Hello everybody,
> after a couple of days of full immersion in this project and after
> having read all the messages and tried practically everything I have
> read, I have to annoy you because some things just do not get there.
> 
> 1. How do I increase the fluidity and sensitivity of the vu meter, when
> I listen to a song, the needle barely moves even when Metallica is
> playing.
> 2. I try to start picoreplayer with this in the tweaks:
> /mnt/mmcblk0p2/tce/gomonitor -a2 -dw --latlon "45.464203, 9.189982" the
> oled remains off, but if I use the same commands from the console, it
> works but no whether. Also if I add -b with --nosplash the brightness is
> lowered and the oled "wobbles"
> 3. I tried in every way to understand how to eliminate the percentage of
> the volume on the screen because I use it fixed.
> 
> Also often when I use the -a or -a1s commands, the all info function
> works only for the textual part and not the graphics one but when the
> latter works, after restarting pcp, the graphics have no animation.
> 
> I use a 2.42 "128x64 oled diymore, modified I2C and the latest release
> of both lmsmonitor and PCP
> 
> Thank you all

I just found this recently myself.
I'm working on getting the 256x64 grayscale solution working, it been
far too long and I want it closed out.

Working on the full scale 2 up VU I noticed the meter was none too
responsive - I see the wobble you described :mad:

I have a test bench that I used to record the data stream and the
resultant math

pushing those data through the test bench and the numbers from the
current algo don't match the recorded

If I feed the recorded calcs in the meters look good as expected


Code:

61,68,66,66,113,100
  SA   L:   61 R:   68
  dB   L:   66 R:   66
  XY   x:  113 y:  100
  XYd  x:   30 y:   18
  Retrieved line of length 22:
  114,115,66,66,103,168
  SA   L:  114 R:  115
  dB   L:   66 R:   66
  XY   x:  103 y:  168
  XYd  x:   31 y:   17
  Retrieved line of length 21:
  369,370,66,66,85,180
  SA   L:  369 R:  370
  dB   L:   66 R:   66
  XY   x:   85 y:  180
  XYd  x:   35 y:   15
  Retrieved line ...
  



XYd are the numbers from the current algo.

I don't remember changing this but something is definitely amiss.  Last
time I touched the code was to add damping on the needle - improved
"pseudo" mechanical physics

I'm digging through source control to see when this was modified and
I'll flip it back or reverse engineer the math.  Either way I'll drop a
new version as soon as that's been done.

AIO I'll be visiting shortly - bar style where introduced late 2020 and
may be the issue

Again as soon as I have something I'll post back



As of *10-Mar-2021* my digitized collection is (25661 hours 04 minutes)
+ (00 seconds) or
2.929[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 166,204
TOTAL ALBUMS: 15,221
TOTAL ARTISTS: 21,795
TOTAL GENRES: 768
TOTAL PLAYING TIME: 25661:04:00

With another ~2400 yet to be ripped... a moving target such that it is
...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-03-11 Thread shunte88


different display technologies LCD/Matrix and OLED; and a totally
different display paradigm at that
there's a solution called slimmer that works with LCD 16x2 screens -
check the forum
I have 16x2 as a TBD but its not on the horizon as yet



As of *26-Feb-2021* my digitized collection is (25608 hours 20 minutes)
+ (15 seconds) or
2.921[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 165,586
TOTAL ALBUMS: 15,155
TOTAL ARTISTS: 21,734
TOTAL GENRES: 765
TOTAL PLAYING TIME: 25608:20:15

With another ~2400 yet to be ripped... a moving target such that it is
...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-26 Thread shunte88


the monitor does not interact with the DAC in any way
PCM5122 is a pretty common chip
I've used a dozen or so DAC's, I would count them but I'd like to avoid
the feeling of shame :p, over the years and none have presented a
problem
Maybe you were unlucky and picked up a defective unit



As of *23-Feb-2021* my digitized collection is (25565 hours 25 minutes)
+ (31 seconds) or
2.916[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 164,976
TOTAL ALBUMS: 15,107
TOTAL ARTISTS: 21,609
TOTAL GENRES: 763
TOTAL PLAYING TIME: 25565:25:31

With another ~2400 yet to be ripped... a moving target such that it is
...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-22 Thread shunte88


sounds like you've got everything setup correctly, fully describing the
startup sequence

you've repeated a couple of parameters, if they're switches they can
flip the functionality

simplifying you command string

make sure you don't have a monitor running, give it the kill command
twice to ensure 


Code:

sudo killall lmsmonitor
  sudo killall lmsmonitor
  sudo /mnt/mmcblk0p2/tce/lmsmonitor --name "piCorePlayer" -c -kdbzrix 
--visualize --meter "RN" -o3 -x0x3c -f7 --verbose



then play some music

you should see track details and then after a minute or so one of the
meter flavors, visualization displays for several minutes and the
sequence loops until the track ends

if you want track details and visualization all the time then use
the"all-in-one" mode


Code:

sudo killall lmsmonitor
  sudo killall lmsmonitor
  sudo /mnt/mmcblk0p2/tce/lmsmonitor --name "piCorePlayer" -c -kbzrix -aA1SA 
-o3 -x0x3c -f7 --verbose



are you running on the same device as the pCP install? 

you can use separate devices but this requires additional setup

if you are on a separate device then you can use the "egg"
visualizations, you can use these on a "standard" setup too 

hope that helps



As of *22-Feb-2021* my digitized collection is (25539 hours 23 minutes)
+ (24 seconds) or
2.914[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 164,668
TOTAL ALBUMS: 15,077
TOTAL ARTISTS: 21,562
TOTAL GENRES: 763
TOTAL PLAYING TIME: 25539:23:24

With another ~2400 yet to be ripped... a moving target such that it is
...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-18 Thread shunte88


both of those have well supported drivers and work out of the box



As of *16-Feb-2021* my digitized collection is (25236 hours 47 minutes)
+ (49 seconds) or
2.879[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 163,904
TOTAL ALBUMS: 15,050
TOTAL ARTISTS: 21,380
TOTAL GENRES: 762
TOTAL PLAYING TIME: 25236:47:49

With another ~2400 yet to be ripped... a moving target such that it is
...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-16 Thread shunte88


12V would be surprising; 3V3 and 5V are the usual
There may be hardware that boost converts to 12V under the hood but not
something you'd supply directly
I've 20-30 OLED of various sizes and flavors and all of them conform to
the 3V3/5V input



As of *15-Feb-2021* my digitized collection is (25201 hours 59 minutes)
+ (19 seconds) or
2.875[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 163,481
TOTAL ALBUMS: 15,008
TOTAL ARTISTS: 21,290
TOTAL GENRES: 756
TOTAL PLAYING TIME: 25201:59:19

With another ~2400 yet to be ripped... a moving target such that it is
...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-15 Thread shunte88


gomonitor wraps the lmsmonitor call for ease of use
it really just ensures the environment is ready, kills any prior
versions that may be running and works out the name of your pCP setup
I deploy it as a helper or starter script for folks to use
if you're happy to roll your own, and from your drilling into the OLED
setup I don't see why not, then you don't need it
good luck with the RMA of the defective unit, you could try tooling on
the I2C interface to see if it registers and comes to life



As of *12-Feb-2021* my digitized collection is (25134 hours 16 minutes)
+ (26 seconds) or
2.867[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,645
TOTAL ALBUMS: 14,901
TOTAL ARTISTS: 21,138
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25134:16:26

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-14 Thread shunte88


Release 0.4.72 inclusive of updates to the binary has been uploaded to
the repo

'LMSMonitor 0.4.72' (https://github.com/shunte88/LMSMonitor)

This is a maintenance release for the most part

The intermittent memory reallocation abend has been resolved

Lots of minor tweaks -non-functional- tweaks with several areas of code
optimization performed to improve stability, memory, and processing

Minor addition to deactivate blinking colons in clock modes - spent too
much time obsessing over intermittent delays in screen update :mad:



Now I'm concentrating 100% on bringing additional OLED support to the
monitor



As of *12-Feb-2021* my digitized collection is (25134 hours 16 minutes)
+ (26 seconds) or
2.867[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,645
TOTAL ALBUMS: 14,901
TOTAL ARTISTS: 21,138
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25134:16:26

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-02-13 Thread shunte88


this is indeed SPI device so -o7 is what you'd want and its fully
supported by the OLED library

you can override the SPI pins via the command line or wire with the SPI0
pi gpio mapping, see here:

https://pinout.xyz/pinout/spi

alternatively you can switch to the i2c interface


Code:

1 VCC Power positive (3.3~5V power input) [GPIO 3.3V]
  2 GND Ground [GPIO GND]
  4 DIN Data input [GPIO 2 (I2C Data)]
  5 CLK Clock signal input [GPIO 3 (I2C Clock)]



https://pinout.xyz/pinout/i2c

See the documentation for the device for any specifics around switch
interfaces

SPI is a faster interface to I2C so animation/meters may be smoother but
theres nothing specific in the monitor that takes advantage of either
interface



As of *02-Feb-2021* my digitized collection is (25108 hours 33 minutes)
+ (9 seconds) or
2.864[/B] YEARS IN DURATION
RANDOM CONTINUOUS PLAY WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,278
TOTAL ALBUMS: 14,868
TOTAL ARTISTS: 21,112
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25108:33:09

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-29 Thread shunte88


what you've posted looks good - nothing out of the ordinary

did it lockup?

if so what did you see with the logged output?

was an exception thrown or did it appear to be working without issue?

I'm still trying to hit the perfect storm, conditions that throw an
abend; taking a good bit of time as the monitor utilizes threading -
basically lots of things running in parallel

I've ran under a traced session for 24 hours without hitting any
ugliness.

I'm currently thinking one thread steps on another so its a timing thing
which may or may not occur.  I have locks and timeouts where they make
sense but I'm reviewing to see if I've missed something.

I'll keep you posted with progress

Excellent choice of tunes BTW :cool:



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-29 Thread shunte88


-V on the monitor not squeeze

you need to run the monitor manually so you can observe and capture the
logging

I'm running diagnostics now inclusive memory checks
these things take time it needs to hit the issue when a combination of
events occurs
I've gone with a new tool so took a hit with the install but its cooking
now 

as soon as I have something I'll report back

if you could add the -V and run manually we'll see if that sheds any
light too



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread shunte88


i have two devices running 24/7 with no ugliness, one runs with weather
and the other is pretty much default setting; there's another 3 setups
but they're in other parts of the house and not monitored - no
observable issues there though

a freeze after 10 minutes I've never seen

have you run with -V - what does the monitor "-think-" its doing?

I must admit i don't use airplay and I've definitely not put the monitor
through any stress testing with that setup

I'll beat on one of the the setups with airplay to see if that takes us
down any rabbit holes

NOTE THAT ITS NOT THAT THE SYSTEM TIME IS IN ERROR - THE DISPLAY HAS
FROZEN - DON'T CONFUSE SYSTEM DATE/TIME WITH THAT SHOWN BY AN
APPLICATION
some apps fake the time; I remember scoring 1's of points in a
single game in Windows solitaire one time as I was compiling code on the
crusty laptop I had 25+ years ago - the timer was application driven and
slowing the Windows 3.1 system -slowed- the timer - yes I am indeed an
old fart :eek:

if you don't specify -c no clock will be displayed, just track details
and/or visualization, audio or easter eggs

i'll get back to you as soon as I have some debug collected and
hopefully a solution

going to be a long evening running valgrind, a memory sniffer, on pCP is
a chore and a half :mad:



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread shunte88


sounds like its hitting a resource issue - memory allocation or
something else that's causing an abend
on exit it should be clearing the screen so maybe it is literally
getting stuck
I've seen that type of behavior with the JSON scrape of weather and LMS
status/details
hits an invalid linked list or has a realloc error
i added additional safety code for the realloc and those changes are in
the current available build
the linked list issue I've seen 2-3 times only - i'll beef up the code
around the JSON scrape to see if that helps

10 minute NTP is a bit of an overkill, if your pi is drifting that
rapidly there's something very much amiss - once a week should be more
than sufficient

i can add checks to the astral routines to review and correct for drift
if that would help



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread shunte88


how long is a piece of string? :p

not sure what you mean by stuck
is the monitor freezing?
are you referring to the colon flash not being bang on the second?

a bit more detail...



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-15 Thread shunte88


@LiFePO4

with the deskpi Pro I routed a channel then slotted the 128x32 into it,
had I been careful that should have been all I needed but ended up using
some damping material to hold it secure and reduce the light bleed too

easiest thing I've found for screw mounts is to solder the unit to
perf-board large enough such that it can contain any circuitry but also
with enough meat to drill fixing holes etc

you can also get fancy with 3D printing and/or CNC



As of *13-Jan-2021* my digitized collection is (25074 hours 42 minutes)
+ (19 seconds) or
2.861[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,783
TOTAL ALBUMS: 14,808
TOTAL ARTISTS: 21,054
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25074:42:19

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-15 Thread shunte88


hi @Aki7, what I meant was remove the -K or --powersave so you don't
trigger the power save on the OLED and stick with your script that does
your own power down.

I could have sworn you also asked about an API call you found in  the
code, at least I think you did

I reviewed the deployed script and couldn't find the call, and checking
through the thread I'm not seeing the question so I do think I need some
hot milk and a nap is likely overdue :o

apologies for any confusion

I'll keep picking at the power save and keep you posted should the veil
lift and I discover the issue



As of *13-Jan-2021* my digitized collection is (25074 hours 42 minutes)
+ (19 seconds) or
2.861[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,783
TOTAL ALBUMS: 14,808
TOTAL ARTISTS: 21,054
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25074:42:19

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-15 Thread shunte88


@LifePO4
> Okay, thanks. I won't take any risks with the 1.5Inch and take a small
> risk with a 128x32 (SSD1306):
> 

I think its just a typo but go for the 128x64 - the monitor fully
supports this screen dimension

you can get the 128x64 up to 2.4 inches (diagonal) - see the main
picture in the README
The 'zon has those devices at reasonable prices '128x64'
(https://www.amazon.com/gp/product/B07QB66TMH/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8=1)

If you do want the 128x32 this is the device I have in the deskpi '2x
128x32 for under $10'
(https://www.amazon.com/gp/product/B079BN2J8V/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8=1)

the 128x32 for the deskpi is currently another project.  I'm looking at
popping a justBoom amp or IQAudio DAC into the mix soon, then a very
much cutdown monitor will be ported over with a simple scrolling
interface.
I have to open up the unit as the M.2 drive isn't being detected so I'm
swapping it out for a cheap Kingston SSD
It'll make for a solid portable system
Its a nice enclosure  for those interested; but it does have some rough
edges and its been a bit of a time-suck standing it up

note OOTB = Out Of The Box - works without issue



As of *13-Jan-2021* my digitized collection is (25074 hours 42 minutes)
+ (19 seconds) or
2.861[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,783
TOTAL ALBUMS: 14,808
TOTAL ARTISTS: 21,054
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25074:42:19

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-14 Thread shunte88

@Aki7 - very odd
this is a nice to have but I'll keep poking at it to see where it could
be going awry - until I do remove the argument from your call
that extra line in the script controls the mute/unmute on one of my amps
- it shouldn't be in the deployed script so remove it
I'll be pushing an updated archive shortly that removes that command
I'll keep you posted with progress

@LiFePO4
> These two seem like safe choices:
> 
> 0.96inch OLED (B)
> 1.3inch OLED (B)
> 
> 0.96inch OLED (B) OLED 128×64 3-wire SPI, 4-wire SPI, I2C SSD1306
> 
> 1.3inch OLED (B) OLED 128×64 3-wire SPI, 4-wire SPI, I2C SH1106
> 
> Any chance these will work in the near future?
> 
> 1.5inch OLED Module OLED White (16 gray scale) 128×128 4-wire SPI, I2C
> SSD1327
> 
> 1.5inch RGB OLED Module OLED 65K colorful 128×128 3-wire SPI, 4-wire SPI
> SSD1351

The SSD1306 and SH1106 are fully supported and work OOTB

The grey scale and color aren't on the radar, although 1327 should be a
quick tack on top of the 1322 implementation

I've both of those devices but no plans for the color 128x128 - I'm
favoring a 240x240 version

There's a TODO section on the README and those have priority - its
finding the cycles to make that happen especially when I have to redo
the artwork too

I just got a couple of 128x32 that I've plumbed into a dekpiPro
enclosure so I'd like to add a simple text scroller for that setup too,
theres a git repo for that too - lots of fun routing and polishing
acrylic on top of writing the software.  Next step for this is to add a
DAC or amp - I've several pi0 hats that are candidates.

32965

art is also a hobby of mine so theres fun to be had designing the new
setups :cool:
'art on dribble' (https://dribbble.com/shunte88dbl)
'art on devianart' (https://www.deviantart.com/shunte88)
'art on zazzle - t-shirts etc...'
(https://www.zazzle.com/shunte88+gifts)


+---+
|Filename: IMG_1217_15.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32965|
+---+


As of *13-Jan-2021* my digitized collection is (25074 hours 42 minutes)
+ (19 seconds) or
2.861[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,783
TOTAL ALBUMS: 14,808
TOTAL ARTISTS: 21,054
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25074:42:19

With another ~2500 yet to be ripped...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-14 Thread shunte88


just pushed an update
caught another edge case
some fixes in tag logic too - composer and quoted strings (JSON side
effects)
let me know how that looks
if still seeing odd behavior add the --verbose flag and post the output
cheers



As of *13-Jan-2021* my digitized collection is (25074 hours 42 minutes)
+ (19 seconds) or
2.861[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,783
TOTAL ALBUMS: 14,808
TOTAL ARTISTS: 21,054
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25074:42:19

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-13 Thread shunte88


latest pushed to github inclusive binary updates
hopefully all bases are covered
have at it

I have to admit I don't think I've used the power button the entire time
I've run LMS - 13 years or so?
I actually added the clock and weather because my devices are always on

I can't actually remember the last time I power rolled the Touch, my
main system is on a power conditioner with a UPS so its unaffected by
brown outs etc.  Its been online 20? years at this point - although I
have taken the pre-amp offline just recently to review the caps and
replace a battery.

I don't turn the heat on in the winter as the bank of Linn power amps
keep the apartment toasty ;)
I'm personally keeping the National Grid afloat given I never power down
my systems :cool:

those last two statements may or may not be 100% factual :p



As of *08-Jan-2021* my digitized collection is (25049 hours 16 minutes)
+ (43 seconds) or
2.858[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,476
TOTAL ALBUMS: 14,768
TOTAL ARTISTS: 21,018
TOTAL GENRES: 750
TOTAL PLAYING TIME: 25049:16:43

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-12 Thread shunte88


those issues are sorted but looks like the visualization mode is a tad
problematic - multi-threading bites once again :mad:
i'll keep you posted - look for updates in the AM (US EST)



As of *08-Jan-2021* my digitized collection is (25049 hours 16 minutes)
+ (43 seconds) or
2.858[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,476
TOTAL ALBUMS: 14,768
TOTAL ARTISTS: 21,018
TOTAL GENRES: 750
TOTAL PLAYING TIME: 25049:16:43

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-12 Thread shunte88


so scenario #1 you're starting with the streamer in power off state

that's is something I don't think I tested - logically shouldn't change
anything but obviously not the case

the partial clear I thought I'd caught all edge cases during testing -
will review the "refresh" flagging and see what I've missed

I'll get back ASAP



As of *08-Jan-2021* my digitized collection is (25049 hours 16 minutes)
+ (43 seconds) or
2.858[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,476
TOTAL ALBUMS: 14,768
TOTAL ARTISTS: 21,018
TOTAL GENRES: 750
TOTAL PLAYING TIME: 25049:16:43

With another ~2500 yet to be ripped...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-11 Thread shunte88


@Aki7 I've quite the collection of DAC's I upgrade at least one device
once a year and I've never had an issue

Not sure whats going on with your setup.

The monitor does not interact with the DAC in anyway shape or form, and
it doesn't care if a DAC is attached or not, nor if a hat, USB flavor,
audio over HDMI or the on-board audio is involved.

Pseudo Power Save is functioning on two of my test setups as well as
being tested against a Touch - they all function the same.

Its a soft power-off - power off through the webend and the OLED fades
to black.  Note this is not a hard power-off - unplugging the power on
the device - the warnings functionality implemented October/November
would trigger there.

Were simply reading the power attribute that the server publishes, not
too complex - its either a 1 (on) or 0 (off)

SO THAT SAID, AND APOLOGIES FOR THE LABORED RESPONSE, COULD YOU ADD THE
VERBOSE SWITCH AND POST THE OUTPUT. THERE ARE MESSAGES THAT FLAG THE
POWER MODE OF THE DEVICE SO LETS START THERE.

@psketch - Audiophonics pinged me back in November/December with offers
of help.  The SSD1322 is implemented in the current build but I've yet
to kick the tires and ensure its fit for purpose.  Driving the device is
only half the solution as where possible I'd like to take advantage of
everything the device offers, more real-estate so side by side meter
modes as well as gray scale graphics.

It is an awfully nice unit and I've had it sitting on my bench for
months now and Id really like it up and running in a new setup I'm
currently building - when I find the time to assemble the mono-blocks
and power supplies.  So many projects ;|

I'm going to shoot for the end of the week to bless the build and then
I'll progress the graphics additions

I've trimmed a good bit of fat the last couple of releases so I want to
avoid taking the build in the wrong direction.  It may be a separate
binary - same repo just another make definition.

My 1322 rig is sitting here on the bench as I type so I'll be bringing
it online shortly and getting to work. Its a bare bones standalone - a
1G Pi4 which I don't mind bricking as I beat on code - the Audiophonics
setup not so much ;)

Ill keep you all posted re-progress.



As of *08-Jan-2021* my digitized collection is (25049 hours 16 minutes)
+ (43 seconds) or
2.858[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,476
TOTAL ALBUMS: 14,768
TOTAL ARTISTS: 21,018
TOTAL GENRES: 750
TOTAL PLAYING TIME: 25049:16:43

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-10 Thread shunte88


the power save function has been added to the monitor and the repo
updated inclusive of a binary refresh

to initiate power save mode use the added command line switch


Code:

--powersave
  


alternatively provide the short *K* switch

if the player is powered of through the web UI or app the screen will
blank

hitting play or the power button will wake the display up

I think i got all the various edge case but if you find any missing
functionality or new nasties let me know

have at it!



As of *08-Jan-2021* my digitized collection is (25049 hours 16 minutes)
+ (43 seconds) or
2.858[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 161,476
TOTAL ALBUMS: 14,768
TOTAL ARTISTS: 21,018
TOTAL GENRES: 750
TOTAL PLAYING TIME: 25049:16:43

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-08 Thread shunte88


apologies I've been looking for a new job and this has consumed much of
time these last months

in no particular order

@Aki7 - power-off/sleep mode of the player does not trigger any
additional functionality.  I'll look at adding a configurable sleep mode
that will sleep in lockstep with the player.  The OLED effectively won't
draw much juice if its not being written to so a sleep mode would clear
and dim the screen to 0 and decrease the polling cycle to the device

@10matteo92li - if your running a raspdac mini with an LED display this
is not supported by the monitor - check out SLIMMER as if I remember
correctly it supports LED displays.
If you have an OLED fitted then check through this thread and on the
README for a howto

If you still have problems use the --verbose switch to turn on detailed
logging and post the output here and we'll try to move things forward

@davidscrat - is the power down option I just spoke to what you're
looking for?  If not let me know your thinking


And finally, there's a new binary and codebase are available on github. 


This includes several maintenance iterations, fixes, improved stability
and further removes library dependencies - the i2c lib install is no
longer required and you'll only need i2c-tools if you don't know the i2c
address of your device - spi wouldn't need any i2c footprint.

The SA modes got a rewrite to improve the display routines, while I had
the code under the knife I added the facility to specify how the
histograms are filled, solid, hollow, stripes, checkerboard, with and
without peak indication.  Note a huge change - just additional variety.

I'm running on pCP 7.0.0 without issue.  Note that I tried installation
on the 64bit picore but had limited success in getting a usable build -
so that's a WIP

I'll get the sleep version out over the next couple of days

If you were looking for something different to what I've described let
me know and we'll see if it'll mesh


I've also been tooling around with the Deskpi-Pro case, you'll find a
new repo on github that implements an OLED and fan control in a system
daemon.  I've plans to get a DAC setup in the case too, I've a couple of
Pi Zero DAC's that fit nicely.  I'll be a squeeze, ahem, fitting the
RCA's to the rear but I guess those with a mind to would favor a
headphone implementation instead.

The case is quite nicely put together but its been a bear getting USB
boot working, just about to try and remedy that with a 2nd M.2 drive. 
Details will be provided in the new repo.

one last thing:
One of my setups has an api provided o control the amp.  I've a script
that mutes and unmutes on power cycle.  If folks would be interested in
having that facility directly through the monitor let me know.

Again apologies for being MIA



As of *12-Dec-2020* my digitized collection is (24960 hours 12 minutes)
+ (19 seconds) or
2.847[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 160,303
TOTAL ALBUMS: 14,658
TOTAL ARTISTS: 20,926
TOTAL GENRES: 743
TOTAL PLAYING TIME: 24960:12:19

With another ~2000 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-11-22 Thread shunte88


I'll get a system setup and poke around some
Are you setup on Pi3 or Pi4?



As of *17-Nov-2020* my digitized collection is (24770 hours 5 minutes) +
(22 seconds) or
2.82576072[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 157,965
TOTAL ALBUMS: 14,448
TOTAL ARTISTS: 20,544
TOTAL GENRES: 731
TOTAL PLAYING TIME: 24770:05:22

With another ~2000 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-11-18 Thread shunte88


hi @seekasoul
you won't need the dev package - you only need that to look for your i2c
address

you should be able to get going by following the install instructions
and skipping that step

configure pCP data sharing
do the wget step
then use the same command line as you used before to spin up the
monitor

i'll pull a 7.0.0 build together and check for any issues but hopefully
we're all set

let me know if you do hit snags, I have the code open today so I'm ready
to start any type of review



As of *17-Nov-2020* my digitized collection is (24770 hours 5 minutes) +
(22 seconds) or
2.82576072[/B] YEARS IN DURATION.

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 157,965
TOTAL ALBUMS: 14,448
TOTAL ARTISTS: 20,544
TOTAL GENRES: 731
TOTAL PLAYING TIME: 24770:05:22

With another ~2000 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-10-21 Thread shunte88


the SSD1322 can operate in both SPI and IIC modes, moving a couple of 0R
resistors on the driver board sets the mode

I have SPI functional on a standalone device and I'm working to get the
code into the Adafruit library, actually code is in there but not tied
in 100%

GPIO configuration is already supported via the command line; both
hardware, out of the box SPI0/SPI1 GPIO mapping, and bit bashing will be
supported.  SPI0 is the canned configuration.  EVO DAC is not a standard
- details will be in the readme when the supported version its
released.

There are other drivers available that support many more devices and
would really make the monitor a flexible solution, the "c" equivalent of
luma. These are mostly Arduino libraries so there's a bit of work to
convert.

I flip-flop between the benefits/ease of implementation, thus far
Adafruit is winning out

The full 256x64 will be used for the SSD1322, which means a bit of
rework for all the canned graphics so that's a big hit - even more so if
gray scale is supported

I wrote a graphics scaler for the 12/24 clock mode but I'm a bit of a
pixel jockey and giving up control is tough - hence the move to more
programmatic graphics.  My RGB panel I had the ability to use SVG for
the graphics but not so lucky with "c" as no small tight libraries
available - and they don't talk to the Adafruit library either.

I have the EVO DAC sitting on my bench and given the investment that
needs to be addressed.

So slow going but on the horizon.



As of 2020/10/20

TOTAL ALBUMS: 14,283
TOTAL ARTISTS: 20,134
TOTAL GENRES: 721
TOTAL PLAYING TIME: 24571:45:48

With another ~2000 yet to be ripped...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-10-20 Thread shunte88


0.4.62 is now "live" on github including an updated binary; same
install/update procedure as before

this release is mainly aimed at a reduced memory foot-print and
stability

all "PROGMEM style" resources have been removed and replaced with define
on call implementations.  This leads to much improved stability
especially on limited resource Pi platforms.

Several minor layout changes have been made, very minor and likely
you'll noteven notice; one change that weather consumers will see is the
inclusion of a 3 day rolling forecast.  This will be displayed at 30
minute intervals from the weather "page".

A new downmix meter has been added to the Peak Meter visualization, I'll
be swapping out the current stereo PK to use the infrastructure
developed for the downmix meter.  The graphics of the current meter
aren't great and use define on call resources, mentioned above.  The new
meter is drawn with graphics primitives, cleaner and very lightweight. 
A couple of conditional statements will easily convert it to a stereo
impl. - it'll be in the next update. 

SSD1322 128x64 is a WIP but hopefully 100% and ready for inclusion
soon.

I had this version burn-in a good while so hopefully no surprises, that
said should you find any nasties please post to the thread



As of 2020/10/20

TOTAL ALBUMS: 14,283
TOTAL ARTISTS: 20,134
TOTAL GENRES: 721
TOTAL PLAYING TIME: 24571:45:48

With another ~2000 yet to be ripped...
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-10-20 Thread shunte88


did you add the switches to expose the audio data through squeeze
player

> From the Squeezlite page of the pCP web frontend type *1* in the "*m*"
> ALSA parameter section
> 
> And, in the Various Options add *-v*
> 
> See the squeezelite page for more details
> 

you can see its entering the visualizer mode but I don't see and
visualization data resources being processed

here you can see lots of interaction, note I hit control-C to break out
which is why the exit message is output


Code:

2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 42.00 -> 0.362069
  2) pct  4.525862
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 42.00 -> 0.362069
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 42.00 -> 0.362069
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 57.00 -> 0.491379
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 57.00 -> 0.491379
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 57.00 -> 0.491379
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 53.00 -> 0.456897
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 53.00 -> 0.456897
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 53.00 -> 0.456897
  2020-10-20 13:31:28 ::  src/visualize.c-0239 : <-Visualize PK
  2020-10-20 13:31:28 ::  src/visualize.c-0237 : ->Visualize PK
  1) test 249.00 -> 2.146552
  2) pct  26.831897
  
  Cleanup and shutdown
  All Done
  Bye Bye.
  
  tc@koala:/mnt/mmcblk0p2/tce$ 



I'll be pushing the new release today, I got a bit tied up with other
works so its been slow going on the monitor front



As of 2020/10/05

*Total Tracks: 154,138
Total Albums: 14,216
Total Artists: 20,085
Total Genres: 717
Total Playing Time: 24511:34:57*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-10-18 Thread shunte88


hi @superpat999, apologies for the late reply - something whack going on
with my email and I didn't get a notification of your post

Not sure whats going on with your install, sounds like a couple of
issues

I've been working on reducing the memory foot print of the monitor and
increasing stability.  Code has been pushed to the repo but I've not
updated the binary as yet.  I'm hoping to get that done today.

There's no logging per say other than the verbose mode which can be
redirected to a text file 

I your install is on the same pCP setup you'll get visualization

If its a standalone install on an external device then visualization is
not possible without adding the streaming data service

Try the following:


Code:

/mnt/mmcblk0p2/tce/lmsmonitor -V -v -mVU -d -c | tee -a lmsmon.log



tee will display output but also append it to the file you specify, in
this case lmsmon.log

The first couple of lines of instrumentation will tell you visualization
is active and what modes to expect. 

This should display the downmix VU when visualization is triggered. 
Note that it cycles between track details and the visualization mode.
When not playing you'll get the default clock.

You'll see lots of output when visualization is active, and it'll tell
you if inactive


Squeezebox Touch - example no visualization:

> forecast:Conditions .: cloudy : Cloudy (2)
> forecast:Time ...: 2020-10-18
> forecast:Min Temp ...: 44.42 F
> forecast:Max Temp ...: 62.69 F
> forecast:Precip Prob : 0%
> forecast:Conditions .: cloudy : Cloudy (2)
> forecast:Time ...: 2020-10-19
> VISUALIZATION ...: INACTIVE
> Show Warnings ...: No
> Hostname : zebra001
> 

let me know if you make progress, I'll post when the new build is pushed



As of 2020/10/05

*Total Tracks: 154,138
Total Albums: 14,216
Total Artists: 20,085
Total Genres: 717
Total Playing Time: 24511:34:57*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-30 Thread shunte88


@blackbird, I'll spin up a debug run with the provide URI

hopefully digs up some useful data and leads to a solution

I'll keep you posted



As of 2020/09/29

*Total Tracks: 153,696
Total Albums: 14,181
Total Artists: 20,034
Total Genres: 716
Total Playing Time: 24485:16:25*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-30 Thread shunte88


Hi @blackbird

I'll take a look at that

the streaming format shouldn't affect the monitor but maybe there's
something amiss in the tags payload and we hit a null pointer or buffer
overflow - either would potentially cause a freeze,same if visualization
is active and we're getting something odd in the shared memory data

there were no "leaks" the last timeI ran the solution under valgrind,
been a while so I'll repeat that exercise.

IF YOU HAVE EXAMPLE OF A STREAM THAT HAS THE EXHIBIT COULD YOU POST

As a sidebar I'm working on reducing the memory foot print of the
monitor

All of the clock fonts are now rendered to memory dynamically, er...
statically?!?, that reduced memory by a factor of 12.  A selected font
is only loaded if you specifically request it.

I've done the same for the weather graphics, weather icons are only
loaded if you specifically request weather.

I'll round out this exercise with the visualization graphics and the
easter egg graphics

source updated as I go, but holding out on updating the binary

Still a WIP but definitely heading in the right direction



As of 2020/09/29

*Total Tracks: 153,696
Total Albums: 14,181
Total Artists: 20,034
Total Genres: 716
Total Playing Time: 24485:16:25*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-28 Thread shunte88


maybe...

monitor doesn't interact with the DAC and there's code in gomonitor
that'll wait on squeezelite coming online, it would need the audio
device

dumping dmesg I see the DAC coming online roughly half way into the boot
sequence, I'd expect everything to be settled before pCP starts running
startup commands

good you got it going and hopefully the stability gods continue to cast
favor ;)



As of 2020/09/27

*Total Tracks: 153,556
Total Albums: 14,167
Total Artists: 19,999
Total Genres: 716
Total Playing Time: 24475:50:38*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-28 Thread shunte88


@Aki7 great to see you've found a workaround

has me very confused :confused: I've got setups that bring up the
monitor on boot and I've never seen the issue you describe

the only difference I can see is I use the splash screen - I enjoy
seeing my artwork - I'm about to carve that same design into a wooden
toilet seat and colorize with epoxy - classy or what! :cool:

the splash steps up the brightness as it displays and introduces a small
delay as it does so

still makes no sense though, the splash is after all a display function

definitively an odd exhibit, really glad you've got it running 100%

now to spin up my CNC and get my other project rolling :D



As of 2020/09/27

*Total Tracks: 153,556
Total Albums: 14,167
Total Artists: 19,999
Total Genres: 716
Total Playing Time: 24475:50:38*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-27 Thread shunte88


hi Aki7,

no problem at all, long day and I should apologize for my whining

If you use gomonitor do you see the same snow on reboot?


Code:


  /mnt/mmcblk0p2/tce/gomonitor NA -z -f7 -V
  



the monitor has a couple of extra calls to ensure i2c libraries are
online - could be what your seeing but guessing heavily

I'll be pushing a new version of the monitor later today

I've been reworking the startup sequence, it spawns several things in
parallel and I'd popped a routine Thursday/Friday that would wait for a
flag to continue

Worked fine if everything fired in the expected way but I don't think
I'd covered the scenarios that your system has shown on occasions. 
Sadly no channels or defer mechanisms in C to make life easier :(

I've retooled and its currently running on two of my setups.  I've added
a couple of extra setups on the network to stress the routines a little
more.  Rock solid thus far.

I also reworked the screen brightness functionality such that it can
source its data via calculations or the weather data calls

Fixed a bug in timezone while I was there too, was fine for anyone West
of Greenwich but not to the East :mad:  not sure why I chose to
implement it in the first place given I can simply look it up on the
system - which is how it works now :cool:

Again thanks for your support, will ping back when code is pushed



As of 2020/09/22

*Total Tracks: 153,334
Total Albums: 14,149
Total Artists: 19,943
Total Genres: 715
Total Playing Time: 24458:30:17*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-26 Thread shunte88


its throwaway remarks like that that put an end to me delivering and
supporting my solutions 10 years ago as another alter-ego :(

I run my own solutions 24/7 for years at a time, decades even

throwaway remarks discourage others from trying and providing feedback
to help improve the robustness of a solution

I can look at the numbers on git and see the repo attracts many many
visitors per day and many many downloads

so there must be reliability and robustness for some, or many, the
silent masses :confused:

there's only so much money and time I can throw at a solution, dozens of
OLED screens, DACs and Pi's, so many hours, its hard to count

but there's only so many scenarios I can throw at the builds

so I rely on folks to provide help, [hopefully] a little self-analysis,
and at minimum a log

I can try and find solutions for flakey networks, bouncing servers,
partial JSON playloads, and environments that push the limits

It makes for  better solution for everyone

@aki7 - awaiting your logs and additional info and I'm only too happy to
get to the bottom of your exhibit



As of 2020/09/22

*Total Tracks: 153,334
Total Albums: 14,149
Total Artists: 19,943
Total Genres: 715
Total Playing Time: 24458:30:17*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-24 Thread shunte88


hi @seekasoul - chasing that down now - thought it may have been
parameter sequence but I can easily reproduce
I had dipped into that code on the last release so hopefully should be a
quick turnaround



As of 2020/09/22

*Total Tracks: 153,334
Total Albums: 14,149
Total Artists: 19,943
Total Genres: 715
Total Playing Time: 24458:30:17*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-22 Thread shunte88


all set on the display in pause or stop mode

screen will update the volume and player state when in pause or stop
mode

if titles are scrolling they will continue to do so when in a pause or
stop state

repo updated including binary - no other updates in this deployment

@blackbird I noticed that your clock read 11PM but the weather icon was
a day mode variant

I'm guessing you did not opt for automatic brightness control and the
values that drive day/night weather graphics aren't being populated

given weather provides sunset and sunrise I'll use those data to drive
the icon logic

update will be in the next release

also, looking at memory management around the graphics to reduce
footprint - that'll take a bit longer though



As of 2020/09/21

*Total Tracks: 153,300
Total Albums: 14,137
Total Artists: 19,925
Total Genres: 715
Total Playing Time: 24454:57:21*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-21 Thread shunte88


@aki i'll chase down the status, the original 0.4.0 build had the state
working correctly but that was 200 commits ago so could definitely have
introduced something funky. The LMS piece also just got a top down
rewrite so could have dropped a stitch there. 

@blackbird nice setup, looks fantastic and I bet it sound equally
choice

freezes are usually a result of memory issues, add threading into the
mix and there's much fun to be had

I've seen freezes on my pi3 build too and they do seem to be getting
more frequent

If you have a terminal open you'll see the monitor may keep on trucking
in the background, just the screen is no longer being updated

I tried running under valgrind which traces and monitors the executable
and sniff out any memory leaks.  Nothing specific popped up but the
exercise is worth repeating.

I've a pi4 setup for development and it runs 24/7 however I'm constantly
running new build through it and its frequently rebooted and other than
blowing the build due to development flubs I've not had a freeze problem
on that device.

I also have a pi4 in the new Audiophonics DAC but as I'm working on a
display driver for that setup I'm not using the setup 100% of the time,
I should move it to my main system rather than having it gather dust in
the workspace.

the additions of the fonts and the easter eggs will have chipped away at
the available memory - which would be why the frequency has increased
over time

given pi4 have far more memory than the 3B I'm wondering if its time to
go back to the original plan an provide builds for 3 and 4 with 3
stripping some of the memory sinks. an alternate is pulling out the
graphics and other static memory resources into a separate library and
dynamically loads if and when required.

I'm thinking the latter approach is the way to go.

the Easter eggs where implemented for devices that were unable to hook
into the audio data and drive visualization.  They're just a bit of
eye-candy while a track is playing, they also allowed me to put my
artists hat on and see how much I could squeeze out of the tiny screen. 
Throw in a bit of animation and rudimentary game AI and I was a happy
camper

so visualizations and the"eggs" are pretty much separate entities

when we added all-in-one I took the same approach but brought them into
the visualization "thread" as folks had requested

I can certainly look at bringing the eggs into the visualization thread
too



As of 2020/09/20

*Total Tracks: 152,892
Total Albums: 14,120
Total Artists: 19,900
Total Genres: 712
Total Playing Time: 2:19:04*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-20 Thread shunte88


0.4.58 pushed to the repo:

mainly stability and aesthetics* :

  
- Removed Additional Debug Noise (*Quiet Mode)
- Buffered HTTP RESTful calls
  

Hopefully no nasties, but you know the drill if you hit anything



As of 2020/09/20

*Total Tracks: 152,892
Total Albums: 14,120
Total Artists: 19,900
Total Genres: 712
Total Playing Time: 2:19:04*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-19 Thread shunte88


Hi @aki7 I'll check it out
definitely something amiss there
I did notice that the JSON that is returned is not in a constant order
and you were getting broken JSON so maybe the player your looking to
monitor has dropped off the end of the payload
Thought I'd beaten this one into submission but it looks like you're
really good at finding the buried treasure :confused:
I'll hopefully have something shortly - hang tight



As of 2020/09/15

*Total Tracks: 152,720
Total Albums: 14,085
Total Artists: 19,859
Total Genres: 712
Total Playing Time: 24428:46:00*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-17 Thread shunte88


so lots of bashing on this to make it break

wrote a mock that generated entries for 20 players - processed no
issues

forced the routine to process the json with a remediation regex, only
gets called if the json library trips but I may at some point just use
the regex - pretty clean

one more set of tests on a Pi3 install and I'll push to the repo

I'll ping back when that's done

I'll also leave the extra debug in place so make troubleshooting a
little easier, forced example


Code:

OLED Mode ...: IIC
  This is lmsmonitor (0.4.57) - built Sep 17 2020 13:47:40.
  Platform : Raspberry Pi 4 Model B Rev 1.1
  Verbosity ...: Maximum
  OLED Driver .: (6) SH1106 I2C 128x64
  OLED Address : 0x3c
  Scrolling Mode ..: (0) Cylon (Default)
  OLED Clock Font .: Roboto Thin
  2020-09-17 13:48:03 :: src/lmsmonitor.c-0781 : generalReset active
  LMS Discovery 
  LMS server response .: Ok
  Server IP ...: 192.168.1.25:3483
  Player Found : Yes
  Player Count : 3
  [lookupLMSPlayer] Failed to parse JSON, check adequate tokens allocated: -1
  
  payload: 
{"result":{"players_loop":[{"uuid":null,"model":"squeezelite","isplayer":1,"playerindex":"0","isplaying":0,"name":"koala","connected":1,"displaytype":"none","firmware":"v1.9.6-1206-pCP","playerid":"xx:xx:xx:xx:xx:xx","power":1,"ip":"192.168.1.129:50150","modelname":"SqueezeLite","canpoweroff":1,"seq_no":0},{"name":"caracara","isplaying":1,"playerindex":1,"isplayer":1,"model":"squeezelite","uuid":null,"seq_no":0,"canpoweroff":1,"modelname":"SqueezeLite","ip":"192.168.1.222:48644","power":1,"playerid":"xx:xx:xx:xx:xx:xx","firmware":"v1.9.6-1206-pCP","displaytype":"none","connected":1},{"isplayer":1,"model":"fab4","uuid":"hjgfngfhgfhfhgf","name":"livingroom","isplaying":0,"playerindex":2,"power":1,"displaytype":"none","firmware":"7.8.0-r16754","connected":1,"playerid":"xx:xx:xx:xx:xx:xx","seq_no":"3","canpoweroff":1,"ip":"192.168.1.101:54776","modelname":"Squeezebox
 
Touch"}],"count":3},"method":"slim.request","id":1,"params":["-",["players","0","99"]]}
  length: 980
  allocated: 175
  2020-09-17 13:48:03 ::   src/sliminfo.c-0229 : remediateLkpMSPlayer
  2020-09-17 13:48:03 ::   src/sliminfo.c-0260 : remediateLkpMSPlayer tokenized
  (280) 
"uuid":null,"model":"squeezelite","isplayer":1,"playerindex":"0","isplaying":0,"name":"koala","connected":1,"displaytype":"none","firmware":"v1.9.6-1206-pCP","playerid":"xx:xx:xx:xx:xx:xx","power":1,"ip":"192.168.1.129:50150","modelname":"SqueezeLite","canpoweroff":1,"seq_no":0},
  Player Name .: koala
  Player ID ...: xx:xx:xx:xx:xx:xx
  Player IP ...: 192.168.1.129
  LMS:Duration : 416.548
  LMS:Volume ..: 10
  LMS:Playing .: No
  LMS:Repeat ..: 0
  LMS:Player Online ...: Yes
  LMS:Shuffle .: 0
  LMS:Sample Size .: 24
  LMS:Track Artist(s) .: Jah Wobble, Youth Meets Jah Wobble, Youth, Lara Smiles
  LMS:Album ...: Acid Punk Dub Apocalypse [UK] [CADIZCD183]
  LMS:Title ...: Blades (feat.Lara Smiles)
  LMS:Year : 2020
  LMS:Compilation .: No
  LMS:Album ID : 75216
  LMS:Remote ..: No
  LMS:Album Artist : Youth Meets Jah Wobble
  LMS:Track ID : 829403
  LMS:Artist ..: Jah Wobble
  LMS:Sample Rate .: 44.1
  LMS:Time Played .: 0
  Provider IP .: 66.31.43.194
  Reported TZ .: America/New_York
  Longitude ...:  -71.1134
  Latitude :   42.4178
  Sunrise .: 09-17-2020 06:27:01
  Sunset ..: 09-17-2020 18:49:42
  Set Display .: Day Mode
  Visualization ...: Inactive
  Hostname : zebra001
  Interface ...: eth0
  Address .....: 192.168.1.159
  Interface ...: wlan0
  Address .: 192.168.1.160
  GFX Font Width ..: 6 (px)
  GFX Font Height ..

Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-16 Thread shunte88


latest build is pushed

has the weather units addressed, tweaked the meters/visualization which
hopefully knocked off the sharp edges

allocated discovery for up to 20 players on the network, if folks bump
on this again I'll find a better library for the unmarshal

if you hit any nasties let me know



As of 2020/09/15

*Total Tracks: 152,720
Total Albums: 14,085
Total Artists: 19,859
Total Genres: 712
Total Playing Time: 24428:46:00*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-16 Thread shunte88


@Aki hold tight - now I have some JSON I can chase this down

@blackbird, units now working, but I need to make a couple of mods for
the screen layout - mm/hr for rain

code will be pushed today, looking at the parameter sequence and Aki's
JSON next


Code:

Sunrise .: 09-16-2020 06:25:58
  Sunset ..: 09-16-2020 18:51:28
  Set Display .: Day Mode
  Temperature Units ...: Metric
  debug: climacell lat ->  42.3614
  debug: climacell lon -> -71.1040
  debug: climacell temp -> 21.56 C
  debug: climacell feels_like -> 21.56 C
  debug: climacell wind_speed ->  5.44 m/s
  debug: climacell baro_pressure -> 1022.31 hPa
  debug: climacell visibility -> 10.00 km
  debug: climacell humidity -> 48.31 %
  debug: climacell wind_direction ->  SW : 215.75 degrees
  debug: climacell precipitation ->  0.00 mm/hr
  debug: climacell weather_code -> clear : Clear (0)
  debug: climacell observation_time -> 2020-09-16T16:46:05.568Z
  




As of 2020/09/15

*Total Tracks: 152,720
Total Albums: 14,085
Total Artists: 19,859
Total Genres: 712
Total Playing Time: 24428:46:00*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-16 Thread shunte88


bah! looks like units is problematic - fix will be in the buildtoday

looks like all-in-one is functioning for you so visualization is
working

when you're running on the player SHMEM, shaired memory, visualization
is what you want to see - and that's automatic
SSE isn't required, the data streaming service for external monitors,
unless you want visualizations on an external device - you'd need to add
the SSE service, visionon, to your pCP where it reads the data from
shared memory and stream in real-time using SSE - I'll need to trace
what you're seeing there - you should not see that message on a pCP
install

just stick with running 

Code:

sudo /mnt/mmcblk0p2/tce/lmsmonitor --name "pCP-PCM5122" -c -rix -v -mVU -o3 
-d -V


note I added -d for downmix - if you want a pair of meters omit the -d,
-V or --verbose to get the maximum debug information

my build with downmix requested

Code:

tc@koala:/mnt/mmcblk0p2/tce$ sudo /mnt/mmcblk0p2/tce/lmsmonitor --name 
"koala" -c -rix -v -mVU -V -d
  OLED Mode ...: IIC
  This is lmsmonitor (0.4.56) - built Sep 15 2020 02:18:03.
  Platform : Raspberry Pi 3 Model B Rev 1.2
  Verbosity ...: Maximum
  OLED Driver .: (6) SH1106 I2C 128x64
  OLED Address : 0x3c
  Scrolling Mode ..: (0) Cylon (Default)
  OLED Clock Font .: Classic LCD Clock Font
  2020-09-16 10:08:59 :: src/lmsmonitor.c-0782 : generalReset active
  LMS Discovery 
  LMS server response .: Ok
  Server IP ...: 192.168.1.25:3483
  *00   SqueezeLitekoala xx:xx:xx:xx:xx:xx 
192.168.1.129
  01   SqueezeLite caracara xx:xx:xx:xx:xx:xx 
192.168.1.222
  02  Squeezebox Touch   livingroom xx:xx:xx:xx:xx:xx 
192.168.1.101
  Player Name .: koala
  Player ID ...: xx:xx:xx:xx:xx:xx
  Player IP ...: 192.168.1.129
  Visualization ...: VU
  Initializing SHMEM ...
  2020-09-16 10:08:59 :: src/lmsmonitor.c-0901 : activate visualization cycling
  Downmix VU+SA ...: Yes
  SHMEM Actively Monitoring ...
  LMS:Player Online ...: Yes
  LMS:Repeat ..: 0
  LMS:Playing .: No
  LMS:Volume ..: 40
  LMS:Duration : 576
  LMS:Time Played .: 0
  LMS:Sample Size .: 24
  LMS:Album ...: A Different Definition Of Love [RU] [DR-52]
  LMS:Track Artist(s) .: bvdub, Brock Van Wey, bvdub | Brock Van Wey
  LMS:Compilation .: No
  LMS:Year : 2018
  LMS:Title ...: 06 tearless [T]owers
  LMS:Album Artist : bvdub | Brock Van Wey
  LMS:Remote ..: No
  LMS:Album ID : 75206
  LMS:Track ID : 829256
  LMS:Sample Rate .: 48.0
  LMS:Artist ..: bvdub
  LMS:Shuffle .: 0
  Hostname : koala
  Interface ...: eth0
  Address .: 192.168.1.129
  Interface ...: wlan0
  Address .: 192.168.1.22
  GFX Font Width ..: 6 (px)
  GFX Font Height .: 8 (px)
  2020-09-16 10:09:04 :: src/lmsmonitor.c-0976 : isRefreshed
  



the sequence of parameters may be the problem, specify -v for
visualization and then -m for the meters you want

fix for units coming and I'll review if there's a parameter order
dependency - Ill fix so if you request meters -v is assumed/optional



As of 2020/09/15

*Total Tracks: 152,720
Total Albums: 14,085
Total Artists: 19,859
Total Genres: 712
Total Playing Time: 24428:46:00*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-15 Thread shunte88


cool to see pics of peoples setups

please post more pics, great to see what folks are doing :o



As of 2020/09/15

*Total Tracks: 152,720
Total Albums: 14,085
Total Artists: 19,859
Total Genres: 712
Total Playing Time: 24428:46:00*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-15 Thread shunte88


VU meters are available as both a stereo pair and as a single downmix
meter

for the smaller sub-inch downmix would look just fine

[image:
https://raw.githubusercontent.com/shunte88/LMSMonitor/master/base/VUdownmix.bmp]

you get these to display by -v for visualization and -m for the meters
you want

RN - random selection of base meters or you can give it a list in any
combination of the following


- SA 12-band Spectrum
- VU VU meters
- PK Peak meter (horizontal)
- ST Spectrum Tornado
- SM Spectrum Mirror
- TY Toy VU - "the swoosh"
- 
  

NA None, deactivate - use for the gomonitor wrapper

All-in-One modes


- A1 all-in-one (special)
- A1S all-in-one downmix SA
- A1V all-in-one downmix VU
- 
  

-d to use downmix meters where its not implicitly configure - downmix
only affect the visual data, audio is not modified

for multiple mode pop them in quotes and comma separate, e.g.

"SA,ST,SM,VU'

for 3 spectrum variants and the VU meters; these would cycle and repeat

if using gomonitor first param is always the viz modes followed by
whatever other overrides/specifics you want

by default I believe you get random

if your roll your own command line the you have all the control you'd
need for whatever combination

note if your monitor is running on another device that isn't the pCP
visualization is deactivated

you can get visualization on a 2nd device but you'll need to use the SSE
build and data service, discussed in the thread - I've not reviewed this
in months - will get more detail and examples into the readme

there's video of the visualizations in the repo and a bit of detail on
what other modes are available

the first chunky gif in the readme shows some of the viz modes in action
too

the modes have been discussed a couple of times in this thread including
all-in-one modes


- Stereo VU Meters - dBfs metered
- Stereo 12-band Spectrum Analysis
- Stereo 12-band "tornado" Spectrum Analysis
- Stereo 12-band "mirror" Spectrum Analysis
- Stereo Peak Meter - dBfs metered
- Large Downmix (visual data only) VU meter
- Large Downmix (visual data only) Spectrum
- All-In-One - track details and spectrum/VU "swoosh" (use -a1 or
  simply -a)
- All-In-One - fixed mode (use -a2 or simply -a -a)
-



As of 2020/09/15

*Total Tracks: 152,720
Total Albums: 14,085
Total Artists: 19,859
Total Genres: 712
Total Playing Time: 24428:46:00*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-15 Thread shunte88


hi @blackbird

TL;DR fonts are hard coded and basic, potential future enhancement but
nothing soon.

And the long winded rambling version :)

The fonts that the display uses are actually hard-code bitmaps, tiles,
and they're limited to the ASCII set only - for the clock "fonts" its
actually more restrictive, numbers, a space, a colon, a hyphen, and just
recently the AM/PM tiles is all that's defined.

So there's no real fonts in use and along with that no language
specifics and no Unicode.  Everything beyond the base library fonts I've
had to draw, store or code.  Labor of love - it keeps me off the streets
;)

Google '"c" font library OLED' and you'll see how restrictive this
implementation is.

I'm looking for a new library at the moment that supports many flavors
of OLED without having to code up a driver, there are several offerings
for python and in the C universe some feature rich arduino examples. 
Monitor lives in the C world to keep it small and tight, I'd much prefer
to be developing in several other languages, python, golang, rust, but
they are not as controlled and "tight". Actually rust likely comes
close.

Python luma.oled supports fonts on the fly, and that's the type of
facility I'm looking for.

There's a font conversion tool that takes a standard font and converts
to a bitmap tile set, I used it to generate a couple of test fonts but
didn't carry it any further.  That utility is written in, of course,
python...

Should be easy enough to reverse engineer and embed, but again if I can
find a library and use wholesale all the better.

Fonts open a bit of a can of worms.  We've minimal pixels / restricted
real-estate.  All the layout math assumes proportional fonts - they're
all fixed tile sizes.

Again a good library would sort this I'm sure.

I have another project in the repo that uses RGB panels as the display. 
It has LMS monitoring, includes visualization, VU and spectra, weather,
even public transport services, and a rather cool clock face if I say so
myself.  You can specify fonts so it supports language specifics and
Unicode,the graphics use SVG so they too can be modified, some of it is
code generated though...

So anything can be done, with compliant hardware, feature rich open
source offerings, and of course time.



As of 2020/09/15

*Total Tracks: 152,720
Total Albums: 14,085
Total Artists: 19,859
Total Genres: 712
Total Playing Time: 24428:46:00*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-15 Thread shunte88


pushing the latest to the repo in the next 30 minutes

minor edits for pi version specifics, currently only SPI initialization
is taking advantage

the eJSON discovery proto provided by @gregex also incorporated,
dynamically finds jsonRPC port should your setup not be on the expected
port

minor edits, no additional functionality/enhancements

once again if you find nasties let me know


Code:

OLED Mode ...: IIC
  This is lmsmonitor (0.4.56) - built Sep 15 2020 02:18:03.
  Platform : Raspberry Pi 4 Model B Rev 1.1
  Verbosity ...: Maximum
  OLED Driver .: (6) SH1106 I2C 128x64
  OLED Address : 0x3c
  Scrolling Mode ..: (0) Cylon (Default)
  OLED Clock Font .: Roboto Thin
  2020-09-15 02:18:24 :: src/lmsmonitor.c-0782 : generalReset active
  LMS Discovery 
  LMS server response .: Ok
  Server IP ...: 192.168.1.25:3483
  *00   SqueezeLitekoala xx:xx:xx:xx:xx:xx 
192.168.1.129
  01   SqueezeLite caracara xx:xx:xx:xx:xx:xx 
192.168.1.222
  02  Squeezebox Touch   livingroom xx:xx:xx:xx:xx:xx 
192.168.1.101
  Player Name .: koala
  Player ID ...: xx:xx:xx:xx:xx:xx
  Player IP ...: 192.168.1.129
  LMS:Time Played .: 0
  LMS:Sample Size .: 24
  LMS:Album ...: Symphonies No. 1 & 4 [Mch] [US] [PTC 5186 248]
  LMS:Track Artist(s) .: Rafael Kubelik, London Symphony Orchestra, Ludwig van 
Beethoven, Israel Philharmonic Orchestra
  LMS:Compilation .: No
  LMS:Title ...: Symphony No.4 in B flat, Op.60 - Allegro ma non troppo
  LMS:Year : 2017
  LMS:Album Artist : Rafael Kubelik, London Symphony Orchestra, Ludwig van 
Beethoven, Israel Philharmonic Orchestra
  LMS:Album ID : 74797
  LMS:Remote ..: No
  LMS:Duration : 405.359
  LMS:Track ID : 824515
  LMS:Conductor ...: Rafael Kubelik
  LMS:Composer : Beethoven, Ludwig van Beethoven
  LMS:Sample Rate .: 88.2
  LMS:Artist ..: Rafael Kubelik
  LMS:Shuffle .: 0
  LMS:Player Online ...: Yes
  LMS:Volume ..: 70
  LMS:Playing .: No
  LMS:Repeat ..: 0
  Provider IP .: 66.31.43.194
  Reported TZ .: America/New_York
  Longitude ...:  -71.1134
  Latitude :   42.4178
  Sunrise .: 09-15-2020 06:24:54
  Sunset ..: 09-15-2020 18:53:15
  Set Display .: Night Mode
  Visualization ...: Inactive
  Hostname : zebra001
  Interface ...: eth0
  Address .: 192.168.1.159
  Interface ...: wlan0
  Address .: 192.168.1.160
  GFX Font Width ..: 6 (px)
  GFX Font Height .: 8 (px)
  2020-09-15 02:18:29 :: src/lmsmonitor.c-0976 : isRefreshed
  2020-09-15 02:18:29 :: src/lmsmonitor.c-1020 : activeScroller test
  2020-09-15 02:18:29 :: src/lmsmonitor.c-1025 : display clock test
  2020-09-15 02:18:29 :: src/lmsmonitor.c-1109 : clockPage
  2020-09-15 02:18:29 :: src/lmsmonitor.c-1116 : cpu Metrics?
  




As of 2020/09/11

*Total Tracks: 152,573
Total Albums: 14,063
Total Artists: 19,846
Total Genres: 712
Total Playing Time: 24417:05:11
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-14 Thread shunte88
Total Genres: 712
Total Playing Time: 24417:05:11
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-14 Thread shunte88


--verbose or -V gives you the "max"

though I would have had to add instrumentation to look at

apologies for the delay - my day went sideways

just pushed a new build

I reallocated all of the tokens in all the routines that process JSON,
bumped to silly numbers but best err on the side of caution

if they run into further issues, the JSON will be dumped so that it can
be reviewed.

grab the latest and give it a whirl, hopefully were out of the weeds and
back on the green path



As of 2020/09/11

*Total Tracks: 152,573
Total Albums: 14,063
Total Artists: 19,846
Total Genres: 712
Total Playing Time: 24417:05:11
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-14 Thread shunte88


hi @Aki7

> Failed to parse JSON, check adequate tokens allocated: -1

That's an error from the monitor when it processes a "broken" reply from
the server

The message about allocating tokens is a prompt for me - I spent hours
chasing issues with the JSON routines when I'd only just not given it
enough workspace.  I thought I'd allocated sufficiently but maybe not.

I see you are running the very latest build.

I'll push a debug build binary that'll dump the JSON, I'll up the token
count too

Same build is running on my Pi3 and Pi4 systems without issue here.
Could be other factors like LMS version so we'll need to chase it a
little


Code:

OLED Mode ...: IIC
  This is lmsmonitor (0.4.55) - built Sep 13 2020 19:00:26.
  Verbosity ...: Maximum
  OLED Driver .: (6) SH1106 I2C 128x64
  OLED Address : 0x3c
  Scrolling Mode ..: (0) Cylon (Default)
  OLED Clock Font .: Classic LCD Clock Font
  2020-09-14 11:11:55 :: src/lmsmonitor.c-0776 : generalReset active
  LMS Discovery 
  LMS server response .:
  Server IP ...: 192.168.1.25:3483
  *00   SqueezeLitekoala xx:xx:xx:xx:xx:xx 
192.168.1.129
  01   SqueezeLite caracara xx:xx:xx:xx:xx:xx 
192.168.1.222
  02  Squeezebox Touch   livingroom xx:xx:xx:xx:xx:xx 
192.168.1.101
  Player Name .: koala
  Player ID ...: xx:xx:xx:xx:xx:xx
  Player IP ...: 192.168.1.129
  LMS:Repeat ..: 0
  LMS:Playing .: No
  LMS:Duration : 290.36
  LMS:Volume ..: 40
  LMS:Player Online ...: Yes
  LMS:Shuffle .: 0
  LMS:Track ID : 820762
  LMS:Artist ..: Hi Fi Power
  LMS:Sample Rate .: 44.1
  LMS:Year : 2020
  LMS:Title ...: Chill Out (Raggafunks U)
  LMS:Track Number : 11
  LMS:Compilation .: Yes
  LMS:Remote ..: No
  LMS:Sample Size .: 16
  LMS:Album ...: Soul Jazz Records presents BLACK RIOT: Early Jungle, 
Rave and Hardcore [UK] [SJRD452]
  LMS:Time Played .: 0
  Provider IP .: 66.31.43.194
  Reported TZ .: America/New_York
  Longitude ...:  -71.1134
  Latitude :   42.4178
  Sunrise .: 09-14-2020 06:23:50
  Sunset ..: 09-14-2020 18:55:01
  Set Display .: Day Mode
  debug: climacell lat ->  42.3614
  debug: climacell lon -> -71.1040
  debug: climacell temp -> 72.50 F
  debug: climacell feels_like -> 72.50 F
  debug: climacell wind_speed -> 10.49 mph
  debug: climacell baro_pressure -> 30.01 inHg
  debug: climacell visibility ->  6.21 mi
  debug: climacell humidity -> 53.31 %
  debug: climacell wind_direction ->  NW : 318.75 degrees
  debug: climacell precipitation ->  0.00 in
  debug: climacell weather_code -> mostly_clear : Mostly Clear (14)
  debug: climacell observation_time -> 2020-09-14T15:11:55.901Z
  Visualization ...: Inactive
  Hostname : zebra001
  Interface ...: eth0
  Address .: 192.168.1.159
  Interface ...: wlan0
  Address .: 192.168.1.160
  GFX Font Width ..: 6 (px)
  GFX Font Height .: 8 (px)
  2020-09-14 11:12:00 :: src/lmsmonitor.c-0970 : isRefreshed
  2020-09-14 11:12:00 :: src/lmsmonitor.c-1014 : activeScroller test
  2020-09-14 11:12:00 :: src/lmsmonitor.c-1019 : display clock test
  2020-09-14 11:12:00 :: src/lmsmonitor.c-1391 : clockWeatherPage
  2020-09-14 11:12:00 :: src/lmsmonitor.c-1398 : putWeather
  2020-09-14 11:12:01 :: src/lmsmonitor.c-0970 : isRefreshed
  2020-09-14 11:12:01 :: src/lmsmonitor.c-1014 : activeScroller test
  2020-09-14 11:12:01 :: src/lmsmonitor.c-1019 : display clock test
  2020-09-14 11:12:01 :: src/lmsmonitor.c-1391 : clockWeatherPage
  2020-09-14 11:12:01 :: src/lmsmonitor.c-1398 : putWeather
  




As of 2020/09/11

*Total Tracks: 152,573
Total Albums: 14,063
Total Artists: 19,846
Total Genres: 712
Total Playing Time: 24417:05:11
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-13 Thread shunte88


Hi folks,

the 0.4.54 release of LMS Monitor 2020 is now available in the 'repo'
(https://github.com/shunte88/LMSMonitor), inclusive source and binary
updates

apologies this took longer than I'd originally indicated but a large
chunk of the code was modified to switch out the telnet client for the
more robust JSON/RPC flavor.

given the extensive modifications there was a lot of testing to ensure
nothing was broken in the process.

the main benefit of the JSON/RPC  approach is given its a set of HTTP
calls it inherits all of the features of a modern RESTful set of API's. 
We no longer hang on to a connection and poll.  And given its RESTful we
don't maintain state so there's nothing that can silently die behind the
scenes requiring a full restart.  This could have been done in code but
hardly modern nor elegant.

bonus is the code is more streamlined and reusable across several
functions in the solution, and we also shed a good bit of code - less is
always more

so you can bounce your player, bounce your server, bounce them both
whether a track is playing or not the monitor simply keeps on trucking.

if its a player bounce mid track a warning will be displayed and as soon
as the track resumes we transition to play mode

if a server bounce its a little more interesting, if a track is playing
we'll momentarily display the warning then drop into the non-playback
mode

bouncing the server does not maintain state, so if a track where playing
playback does not continue/restart like it does with the player

irrespective when the server comes back up we're back on the green path,
seamlessly

31530

not too exciting but its a lot better than zero recovery

if you guys find any nasties let me know; I'll check back later today -
burnt the midnight oil to close this out so its time for a little nap
:cool:

note if you turn on verbose mode the new code is heavily instrumented so
its a lot more "chatty" - hopefully helps if you need to dig into any
problems on your own.


+---+
|Filename: IMG_0820.PNG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31530|
+---+


As of 2020/09/11

*Total Tracks: 152,573
Total Albums: 14,063
Total Artists: 19,846
Total Genres: 712
Total Playing Time: 24417:05:11
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-11 Thread shunte88


thanks much, it was on my list for 1322 driver
I'll fold this into the next release too
Almost done with the refactoring exercise so a release should drop this
evening - US EST



As of 2020/09/11

*Total Tracks: 152,573
Total Albums: 14,063
Total Artists: 19,846
Total Genres: 712
Total Playing Time: 24417:05:11
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-11 Thread shunte88


I'm currently reworking the code that communicates with the LMS server

The current implementation uses in effect a telnet client to request
status and data

Should the LMS server reboot the connection is invalidated - but it does
so "quietly" - I could fix that or...

The LMS web front end and many other UI tools, e.g. iPeng, use the
jsonrpc web interface

This is more "robust" in that a HTTP request is really simple to
process, you get 200 Ok and all is well - anything else and you can
define a simple remediation tack

The jsonrpc interface is also easier to process, just pass the response
through the json interpreter and decompose the payload, actually a lot
simpler than the decode implementation for the telnet solution.  We
already have several interfaces using this same setup, the "where am i"
and weather implementations for example.

Added to robustness is the ability to detect if the player has gone
offline - we can do some interesting thing knowing that.

I've a prototype in the works and just need interface it with the
current "tags" mechanism, and add a few bells and whistles to the
offline modes

I'll ping back with details when the solution goes to the repo

On the NHD1322 OLED front I'm also making progress, not ready for prime
time quite yet but its of the blocks so watch out for updates on that
front too



As of 2020/09/11

*Total Tracks: 152,573
Total Albums: 14,063
Total Artists: 19,846
Total Genres: 712
Total Playing Time: 24417:05:11
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-09 Thread shunte88


no progress there, again nothing special about that OLED so it should
work with a the supported parameters we dug up reverse engineering the
python code.

I'm slowly working on the latest Audiophonics beauty which has its own
rankles, ssd1322 256x64 greyscale OLED wired in SPI mode - and zero
documentation to be had.

So, it needs *in progress* driver support, all new or updated graphics,
and all screen layouts modified to take advantage of the extra real
estate; so just a little bit of work :eek:

Here it precariously balanced on top of a power unit in my "lab" - AKA
junk room I have all of my work in progress toys and tools.

And yes I know the power button is upside down - its on the list and
it'll be taken care of when I strip the unit down to fit heatsinks and
review pi4 temps


+---+
|Filename: IMG_0811.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31500|
+---+


As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-08 Thread shunte88


fantastic!
you may need a magnifying glass ;)
good luck with the zero



As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-08 Thread shunte88


5 is an invalid driver, it should just abend like that but tell you the
available options

which it did on my build environment

Code:

pi@zebra001:~/LMSMonitor $ sudo bin/lmsmonitor --name "caracara" --verbose 
-c -rbkd -o5
  Supported OLED types:
  1 ...: Adafruit SPI 128x64
  3 ...: Adafruit I2C 128x64
  4 ...: Seeed I2C 128x64
  6* ..: SH1106 I2C 128x64
  7 ...: SH1106 SPI 128x64
  
  * is default
  lmsmonitor: you specified 5, it is an invalid 128x64 OLED type



IT LOOKS LIKE ITS THE SPACE IN \"--OLED 5 \"THAT'S THE CAUSE OF ABEND 
USE -O[DRIVER] OR --OLED=DRIVER.  NO SPACES FOR THIS PARAMETER


I'll track that down and fix it.

I don't think it likes the space on the "*-o 3*" either - use -o3

Your device is an I2C flavor, SPI and IIC are nothing more than ways of
talking to the device, but they are different entities

from the list you can see that the I2C is applicable for 3, 4, and 6
only

6 is the default if you don't override

gomonitor eats all of the output so stick with calling the lmsmonitor
binary directly while you troubleshoot

was your cabling Ok?

also, have you used the OLED on any other solution and had it working?



As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-08 Thread shunte88


hi @jursi, sorry your having problems

gomonitor takes care of prepping your environment including loading the
IIC infrastructure if it not already active

you can do the same with:

Code:

sudo modprobe i2c-bcm2835
  sudo modprobe i2c-dev



then check for your device with i2cdetect, e.g. for my setup

Code:

tc@koala:/mnt/mmcblk0p2/tce$ i2cdetect -y 1
  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  00:  03 -- -- -- -- -- -- -- -- -- -- -- -- 
  10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
  20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
  30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 
  40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 
  50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
  60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
  70: -- -- -- -- -- -- -- --   



you may see more than one device if you have a DAC or other IIC device
attached to your pi

your device should show up at 0x3c

ensure all your connections are good, pins are clean and solder joints
are good - check your jumper wires too

the device looks to be a standard ssd1306 so you should need to specify
any OLED parameters
if it doesn't work out of the box its usually just a matter of trying
the various IIC drivers until you get a match, -o 3, 5, or 6 would be
the ones to try - 6 is the default

you can update and install to the latest with the following set of
commands, they'll do everything except change the squeeze parameters,
that you would still have to do manually

Code:


  tce-load -i i2c-tools.tcz
  pcp bu
  cd /mnt/mmcblk0p2/tce
  cp gomonitor safe.gomonitor
  wget 
"https://github.com/shunte88/LMSMonitor/blob/master/bin/lmsmonitorpcp.tgz?raw=true;
 -O lmsmonitorpcp.tgz && \
  tar -xzvf lmsmonitorpcp.tgz && \
  chmod +xX gomonitor
  pcp bu


note it backs up gomonitor before update in case you rolled your own

fingers crossed you resolve, given those daylight hours hopefully you
won't have to burn the midnight oil

note that I'm checking out a self selecting solution which if its fit
for purpose will make its way into the solution

also coming today a fix for the "half-flip" issue
hoping to get re-connection in play too for dropped player/server
scenarios

I refactored code and improved the memory footprint some.
To celebrate I added another "egg",and fully refactored the entire
implementation for those visualizations so they can be conditionally
compiled in a future release



As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-04 Thread shunte88


not a problem, thanks for finding the issue



As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-03 Thread shunte88


repo updated including binary



As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-03 Thread shunte88


thanks for the heads up

I have a fix, forgot to add an attribute for the argument

Here I send a bogus address - as you can see its picked up, note -x or
--addr will work 


Code:

pi@zebra001:~/LMSMonitor $ sudo bin/lmsmonitor --name "koala" --verbose -c 
-rbkdv -S0 -E6 --addr "0x3F"
  OLED Mode ...: IIC
  This is lmsmonitor (0.4.52) - built Sep  3 2020 08:35:23.
  Verbosity ...: Maximum
  OLED Driver .: (6) SH1106 I2C 128x64
  OLED Address : 0x3f
  Scrolling Mode ..: (0) Cylon (Default)
  OLED Clock Font .: Classic LCD Clock Font
  Sending LMS Discovery ...
  



I'll push updates this AM, mid-stream edits so have to ensure I don't
push anything that's broken

Will post back when done.



As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-09-02 Thread shunte88


cool, that's one thing that I have to add - a re-connection mechanism
after a server bounce

at the moment if it loses connection it just keeps on even though its
now "blind" to whats happening on the player/server

also note that the command line has changed a bit to make it a bit more
user friendly


Code:

sudo /mnt/mmcblk0p2/tce/lmsmonitor -n "pcTest61" -crbkd - -V
  



would now be


Code:

sudo /mnt/mmcblk0p2/tce/lmsmonitor --name "pcTest61" -c -rbkd --verbose -V
  



we are mostly compatible with the original mechanism but there's the odd
parameter that has been extended - the clock parameter for example

see the repo for details of the command line or use


Code:

sudo ./lmsmonitor --help
  




As of 2020/09/02

*Total Tracks: 152,306
Total Albums: 14,019
Total Artists: 19,816
Total Genres: 702
Total Playing Time: 24396:23:39
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-08-27 Thread shunte88


just pushed updates to the repo, minor release with a few optimizations
and yes - another egg

starting work on the Audiophonics mods next, likely will mean a slight
divergence given the OLED is 256x64 and supports greyscale - benefit
there is more real estate so more readability, interpolation for
smoother graphics and transitions

so lots of potential rework, I'll look to keep in a single project with
separate builds and will provide standalone binaries for supported
flavors

I assembled the new Audiophonics DAC in its custom case yesterday
evening and its a beaut, no cooling for the pi 4 so I'll be modding the
case to fit at minimum a single fan and the appropriate venting, CAD/CAM
files will be provided in the base folder of the repo.  You can find the
files for the small case mod there already.

Eggy-shakey-tv-visualization

[image:
https://github.com/shunte88/LMSMonitor/blob/master/base/eggy-tv-foo.gif?raw=true]



As of 2020/21/09

*Total Tracks: 151,779
Total Albums: 13,949
Total Artists: 19,702
Total Genres: 700
Total Playing Time: 24350:44:32
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-08-23 Thread shunte88


I found I'd left the ISP lat/lon logic in place for weather

If command line lat/lon are specified they will now be correctly applied
and used

Code and binary pushed to the repo

Results can be much more accurate and reflect conditions in pretty much
real-time

It is indeed 'orrible weather where I am, and just in case my eyes and
ears were deceiving me the weather displayed confirms its none too
pleasant out.


31345


+---+
|Filename: IMG_0754.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31345|
+---+


As of 2020/21/09

*Total Tracks: 151,779
Total Albums: 13,949
Total Artists: 19,702
Total Genres: 700
Total Playing Time: 24350:44:32
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-08-22 Thread shunte88


I've just pushed one more update for the start of the weekend, in my
timezone anyways

This includes a parameter to set your location so it's more accurate
than the ISP lookup

Note that I've not overridden the ISP logic for brightness control but I
may address that as part of the next iteration

The parameters for weather are now:

Code:


  -W, --weather=APIKEY,UNITS, --apikey=APIKEY,UNITS
  -u, --latlon=LAT,LON, --location=LAT,LON
  Latitude and Longitude - your location
  



I also went through a number of iterations to find the perfect layout
for the weather page, apologies to anyone actively monitoring the repo
for the number of "final layout" updates

Promise I'm done with it now :cool:


Have at it folks, let me know if you find any issues

I'm off to assemble my new DAC!


31341


+---+
|Filename: IMG_0747.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31341|
+---+


As of 2020/21/09

*Total Tracks: 151,779
Total Albums: 13,949
Total Artists: 19,702
Total Genres: 700
Total Playing Time: 24350:44:32
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-08-21 Thread shunte88


I'll be working on supporting the latest Audiophonic DAC which supports
dual displays as well as being a stellar DAC

'AUDIOPHONICS EVO-SABRE Balanced DAC 2x ES9038Q2M USB RPI SPDIF BT / XLR
RCA'
(https://www.audiophonics.fr/en/dac-and-interfaces-for-raspberry-pi/audiophonics-evo-sabre-balanced-dac-2x-es9038q2m-usb-rpi-spdif-bt-xlr-rca-p-14562.html)

I've used a couple of their DACs and was able to sideline their built in
OLED functionality

This model adds a 256x64 OLED as an additional display

I'll look to add functionality to support the 256x64 display, however it
may spawn a separate project if it looks to be a major retool

Watch this space for updates

I'll continue with enhancements a bug fixes to LMSMonitor 2020 and will
post when available



As of 2020/21/09

*Total Tracks: 151,779
Total Albums: 13,949
Total Artists: 19,702
Total Genres: 700
Total Playing Time: 24350:44:32
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-08-21 Thread shunte88


Finally found time to finalize adding weather, should really say
finalize as I'm still tooling on the screen layout.

The weather page displays instead of the clock page when a track is not
playing.

This uses the Climacell service and details for sign-up can be found in
the repo.  The free developer license gives us all the functionality we
need.

Once you have an api key you simply pass it in argument to the monitor,
again details in the repo.

Much like the screen brightness mechanism the monitor uses your ISP to
work out where you are

I've that isn't accurate enough I add the facility to specify your own
latitude and longitude, its easy to get those, just use google maps.

31339

Still tooling on the layout given space is tight and readability needs a
bit of help.

Coming soon "the kitchen sink"


+---+
|Filename: weatherexample.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31339|
+---+


As of 2020/21/09

*Total Tracks: 151,779
Total Albums: 13,949
Total Artists: 19,702
Total Genres: 700
Total Playing Time: 24350:44:32
*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-08-08 Thread shunte88


code was just pushed to the repo for the 0.4.50 build.

no binary updates as there is more work to follow

command line has been reworked for enhanced functionality and usability,
99% backwards compatible with all but the debug/info and all-in-one
variants having replacement functions.

folks likely won't see much benefit as its mainly an engineering
enhancement

I still need to update readme with the changes

there'll be additional check-ins prior to the binary being updated

12/24 hour modes are now supported with changes to the command line to
facilitate

prior to this release -c parameter enabled display when no track is
playing, by default you got a 24 hour clock

-c is now extended to switch between 12/24 hour format
-c12 gives you the 12 hour mode
-c24 or simply -c provides the 24 hour mode

all font flavors are supported in either modes withe the font being
scaled to provide the 12 hour variant, fonts are down sampled and cached
so no impact to performance nor memory on the device.

an 5th Easter-egg mode has been added, rather simple and static at the
moment so more functionality will follow

all-in-one optimizations are WIP and will follow shortly

weather is also in play

apologies for the delays, last weekend went sideways so the work got
pushed



As of 2020/07/09

*Total Tracks: 151,425
Total Albums: 13,873
Total Artists: 19,632
Total Genres: 692
Total Playing Time: 24320:13:27
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-08-01 Thread shunte88


hi folks, happy August!
updates coming this weekend for 0.4.50, will include:


- 12/24 clock modes
- 
- all-in-one visualization fixes, screen resets, scroller mods
- 
- command line changes, code cleanup inclusive a much
  improved/intuitive command line; more details to follow
- 
- potentially support for weather details.  I use my weather cache
  service for all of my devices which uses scraping techniques to
  provide data to all devices on my network and its been solidly running
  on my NAS for several years with only one retooling of the scraper
  (thus far).  That said I found a free data service, call limited, that
  looks like it may be easy to integrate; details to follow 
  

Had a small heatwave in the North East this week and a couple of my
devices struggled, me too - heatstroke! :eek:

Added venting and fan assist to my loft unit but sadly it didn't have
much effect

31174

And yes the milling is a bit off, I need to resurface my CNC bed, had to
break out the rat tail file to fix some faux pas and the hammermill too
to cover the many gaffs :mad:

temps were still excessive, 80's and climbing, and shutdowns all too
frequent

my pi4s with there heat-pipe + fan coolers are holding there own, steady
40's, but the new Audiophonics DAC doesn't have any additional cooling
so it looks like I'll be repeating the exercise when the new case
arrives.

I was working on my own case and digging around the audiophonics site
looking for CAD files I spotted they've released a kit for their
balanced DAC that I picked up a month or two back.  Luckily they're
selling the case separately 'too'
(https://www.audiophonics.fr/en/diy-enclosures-and-cases/audiophonics-kit-aluminium-case-and-accessories-for-evo-sabre-dac-black-p-14656.html)

Its on order and I'll post updates when I put it together and work on
adding the monitor - and any cooling solutions I come up with that are
effective.

More coming this weekend...


+---+
|Filename: mpv-shot0048.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31174|
+---+


As of 2020/07/09

*Total Tracks: 151,425
Total Albums: 13,873
Total Artists: 19,632
Total Genres: 692
Total Playing Time: 24320:13:27
*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-07-09 Thread shunte88


sounds good

good luck with the reinstall and in the mean time if you could get the
details of your OLED screen that would be super

you'll find an updated build in the repo which includes animated
information screens when a track is playing
this mode was originally intended for setups where audio data was not
accessible and hence the visualizations would not display

there are three modes available

  
- Compact Cassette
- Technics SL-1200
- Open Reel To Reel
  

here we have the SL-1200

30955

fully animated, the tone arm traverses the record as the track plays and
resets when the track ends
the record is animated and spins as the track plays
the slider position will change depending on the bit depth of the track,
16, 24, and 1 bit DSD


+---+
|Filename: technics_sl1200_egg_small.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30955|
+---+


As of 2020/06/30

*Total Tracks: 151,104
Total Albums: 13,840
Total Artists: 19,611
Total Genres: 691
Total Playing Time: 24294:15:30*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-07-07 Thread shunte88


@JRM_PT, huge apologies for the late reply

what is the screen type you're using - take a pic and post her - front
and back of the display

what is the command line you're using

try using without the gomonitor wrapper and turn the detailed debug on

ssh to you player, same as you'd have done to install

cd to the folder with the code


Code:

cd /mnt/mmcblk0p2/tce



first find the name of your player
its the name you provided on the Squeezelite Settings page of the pCP
web page

you can also get the name with the following, just cut and paste

Code:

cat /usr/local/sbin/config.cfg | grep "^NAME=" | cut -d'"' -f2



lets say that returned piCorePlayer, run the monitor with the following
command and provide the name for the -n parameter


Code:

sudo /mnt/mmcblk0p2/tce/lmsmonitor -n "piCorePlayer" -crbkd -



the i parameters turn on debug, the OLED type will be the default as
will the font

you should see information being displayed on your screen - something
like


Code:

OLED Mode ...: IIC
  This is lmsmonitor (0.4.45) - built Jul  6 2020 11:21:14.
  Verbosity ...: Debug
  OLED Driver .: (6) SH1106 I2C 128x64
  OLED Address : 0x3c
  Scrolling Mode ..: (0) Cylon (Default)
  OLED Clock Font .: Classic LCD Clock Font
  Sending LMS Discovery ...
  LMS (Server) responded:
  Server IP ...: 192.168.1.25:3483
  Player Count : 2
  Player Name .: koala
  Player ID ...: b8:27:eb:c2:ed:81
  Player IP ...: 192.168.1.129
  Provider IP .: 66.31.43.194
  Reported TZ .: America/New_York
  Longitude ...:  -71.1134
  Latitude :   42.4178
  Sunrise .: 07-07-2020 05:15:08
  Sunset ..: 07-07-2020 20:23:31
  Set Display .: Day Mode
  Visualization ...: Inactive
  Hostname : koala
  Interface ...: eth0
  Address .: 192.168.1.129
  Interface ...: wlan0
  Address .: 192.168.1.22
  GFX Font Width ..: 6 (px)
  GFX Font Height .: 8 (px)
  2020-07-07 13:03:27 :: src/lmsmonitor.c-0890 : isRefreshed
  2020-07-07 13:03:27 :: src/lmsmonitor.c-0930 : activeScroller test
  2020-07-07 13:03:27 :: src/lmsmonitor.c-0935 : display clock test
  2020-07-07 13:03:27 :: src/lmsmonitor.c-1008 : clockPage
  2020-07-07 13:03:27 :: src/lmsmonitor.c-1015 : cpu Metrics?
  2020-07-07 13:03:28 :: src/lmsmonitor.c-0890 : isRefreshed
  2020-07-07 13:03:28 :: src/lmsmonitor.c-0930 : activeScroller test
  2020-07-07 13:03:28 :: src/lmsmonitor.c-0935 : display clock test
  2020-07-07 13:03:28 :: src/lmsmonitor.c-1008 : clockPage
  2020-07-07 13:03:28 :: src/lmsmonitor.c-1015 : cpu Metrics?
  



watch for any output on your OLED

hopefully you see the logo followed by the clock

you can get help with 

Code:

sudo /mnt/mmcblk0p2/tce/lmsmonitor -n "piCorePlayer" -help



we can start digging into specifics once you post the screen pics and we
can adjust parameters accordingly



As of 2020/06/30

*Total Tracks: 151,104
Total Albums: 13,840
Total Artists: 19,611
Total Genres: 691
Total Playing Time: 24294:15:30*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] AUDIOPHONICS RASPDAC MINI Kit

2020-06-28 Thread shunte88


Microsoft got their act together and full embraced the Linux world with
WSL 2

https://docs.microsoft.com/en-us/windows/wsl/install-win10

No more dual booting, or Docker
You can spin up a linux environment in seconds along with all the tools
and productivity enhancements you'd ever need

https://www.youtube.com/watch?v=_fntjriRe48

Under windows 10 has full linux integration inclusive of ssh and scp so
use of WinSCP, Filezilla or putty is pretty much moot

I only use a Windows machine at home for my Photoshop setup but now I
have no excuse not to spin up a Linux instance on the same machine and
get the best of both worlds.



As of 2020/06/24

*Total Tracks: 151,009
Total Albums: 13,828
Total Artists: 19,602
Total Genres: 691
Total Playing Time: 24286:56:24*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=112288

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-06-26 Thread shunte88


apologies I missed those last two postings to the thread - too excited
about the new DAC

@JRM_PT you can add extra command line options to your startup commands
in PCP

the only caveat is that the visualizer setting must be specified first,
for example setup User Command 1 on the pCP tweaks page like so:


Code:

/mnt/mmcblk0p2/tce/gomonitor RN ...your specific options...



here we're specifying random visualizers, following arguments may
override the setting.

An example of that is the all-in-one switch -a - you can specify
multiple "a's" to affect the all-in-one experience

-a all-in-one as part of the specified visualization modes
-aa always all-in-one, toggles between the spectrum and VU "swoosh"
-aaa a fun little easter egg, a second of these is in the works

so if you wanted to use the Festus font, and display the easter egg when
audio is playing


Code:

/mnt/mmcblk0p2/tce/gomonitor RN  -aaa -f 5



lots of additional arguments provided to make LMSMonitor your own

the first thing the gomonitor script does is attempt to kill any monitor
processes that may be running, it repeats the command a couple of times,
during development I've had occasion when I had several orphaned
processes running in the background.  The warning you see is coming from
those kill requests when it finds no processes, I'll add some output
redirection to make those go away as they've been reported a couple of
times.  I thought I'd done that but maybe I missed something

gomonitor is a good helper, it takes care of the multiple processes and
provides some default parameters to the monitor.  you can call the
monitor directly if you wish, but ensure you pass the required
parameters especially if you have a number of pCP installs and wish to
monitor a specific device.

If you have specifics you want to get up and running let me know and
I'll try to help.

@gregex.  I've also experienced the 50/50 split issue on one of my
setups, its using a pi 3 and I'd assumed it was connected to setting the
brightness at dawn and dusk as when I turned that off the monitor played
nicely again.  I like having the brightness autoset so I reactivated the
option and setup a cron entry to restart the monitor - massive kludge
but it seems to work

Note I'm also running with an I2C device so the SPI speed would not
affect, I'll add an option to surface setting the speed for SPI


Code:

* */6 * * /mnt/mmcblk0p2/tce/gomonitor RN -bkiaaa -o 3 -S 3 -d -f 8



specifically using gomonitor to ensure any running processes are cleaned
up

I've not tooled on the communication speed, there are comments in the
code from the driver authors that they had problems with setting speed.


Code:


  /mnt/mmcblk0p2/tce/gomonitor rn -db -o 7 -D 27 -R 24 -C 0 -F



apologies on the I/F mix-up - I had Invert and Flip as alternate naming
but invert could also mean affect background/foreground presentation,
seems my brain landed on one naming scheme and my fingers another; I'll
fix the docs.

with I2C animations are pretty solid, SPI allows for faster updates so
that could be the flicker issue.  Flicker looks a lot worse if you're
recording your screen with a digital camera/phone.

scrolling and other animations are all bit bashed as we can't take
advantage of any firmware scrollers or sprites.  There may be more
capable libraries out there but the Adafruit stuff is pretty much the
only feature-full implementation for C/C++

I did write a build using golang but the executable was huge so I
abandoned, at some point I may look at rust as an alternative if C turns
into a black hole.

the GPIO error is usually down to hijacking a pin used by the I2C or SPI
interfaces, there's a shutdown routine that takes care of cleanup but
maybe its missing SPI specifics - I'll take a look and ensure the GPIO
is being "handed-back" cleanly, the equivalent of a Rpi.GPIO.Close in
the python impl.

thank you both for kind words 

In the works, potentially weather - the BBC has a free API that only
lacks standard icons.  I also found an API from a company out of Boston
that has nice features so it too may be an option.

I also have a second easter egg, the venerable SL-1210, if I can make it
look clean - 128x64 makes for a lot of work



As of 2020/06/24

*Total Tracks: 151,009
Total Albums: 13,828
Total Artists: 19,602
Total Genres: 691
Total Playing Time: 24286:56:24*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-06-26 Thread shunte88


Audiophonics balanced DAC just arrived, it's a beaut.

I thought I had a suitable case but its way undersized so a "pro" build
will have to wait

I should have known the case was a no-go based on the real estate
consumed by the numerous output options the DAC provides.

For anyone on the Super Best Audio Friends forum the DAC has socketed
Op-Amps so there'll be lots of options there for the heavy modders and
tweaking.

I've yet to power the board up as I've a couple of home automation
projects in the works so need to get those completed first.

I hope to have something up and running this weekend and fingers crossed
PCP and LMSMonitor integration will be seamless.  


A quick scan of the display board it comes with a soldered I2C 0.96"
OLED so I'll definitely swap that out for a larger display, IR will need
to move but no issues there.



As of 2020/06/14

*Total Tracks: 150,632
Total Albums: 13,787
Total Artists: 19,510
Total Genres: 689
Total Playing Time: 24251:57:09*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-06-08 Thread shunte88


bummer, was hoping that would finally join the dots
OLED looks totally generic, sadly doesn't mention chip specifics but the
python scripts only nuance was the GPIO specifics and the command line I
gave should have nailed it
I'll do a little more digging this end



As of 2020/06/08

*Total Tracks: 150,513
Total Albums: 13,771
Total Artists: 19,483
Total Genres: 688
Total Playing Time: 24239:07:23*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-06-08 Thread shunte88


thanks much



As of 2020/06/02

*Total Tracks: 149,767
Total Albums: 13,717
Total Artists: 19,409
Total Genres: 687
Total Playing Time: 24172:29:30*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-06-05 Thread shunte88


just a quick heads up to anyone cloning the repo in the last 18 hours

I ran clang to format and lint the code without excluding the external
libraries :mad:

On my next build it blew on the external libraries and realizing what
I'd done I rolled back the library updates 

There was a commit to github of the clanged code, if you were unlucky
enough to hit the broken build my apologies
git is now up to date with cumulative fixes and clean libraries

note that the build binaries were unaffected

also while digging around on the Audiophonics site looking to get a
RASPI MINI setup without the DAC, I already own their two flagship
DAC's, so I'd have a test build I came across a new product which looks
really interesting.

https://www.audiophonics.fr/en/dac-and-interfaces-for-raspberry-pi/audiophonics-evo-sabre-balanced-dac-2x-es9038q2m-usb-rpi-spdif-bt-xlr-rca-p-14562.html

anyway, this peaked my interest so I have one on order

what really drew my attention was the mention of a 256x64 OLED, one of
which I have on my workbench looking for a project

given I'm digging through the drivers I've added this to my TODO list

Also I updated the github repo with a GIF of the available fonts, I got
creative and used a flatbed scanner to capture these with mixed results.


The bare-bones scanner interface under Ubuntu didn't provide much
control and as a result the captured images are less than stellar 

so likely this'll get a redo when I have cycles.



As of 2020/06/02

*Total Tracks: 149,767
Total Albums: 13,717
Total Artists: 19,409
Total Genres: 687
Total Playing Time: 24172:29:30*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-06-02 Thread shunte88


i2cdetect is showing your DAC

The screen you have is an SPI device so any driver selection other than
1 or 7 won't work, the other selections are I2C which is a different
communication protocol


Code:

Supported OLED types:
  1 ...: Adafruit *SPI* 128x64
  3 ...: Adafruit I2C 128x64
  4 ...: Seeed I2C 128x64
  6* ..: SH1106 I2C 128x64
  7 ...: SH1106 *SPI* 128x64
  



The SPI screen I'm using to test works with selecting driver 7

I'm working on some additional drivers that cover some of the other
popular chipsets.

I have a standalone working but the merge will take time as I need to
ensure nothing is broken as I do so.

If you don't mind I'll PM with test builds as I make progress



As of 2020/05/28

*Total Tracks: 149,488
Total Albums: 13,686
Total Artists: 19,378
Total Genres: 686
Total Playing Time: 24152:01:52*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-06-01 Thread shunte88


New binary has been uploaded to git that exposes all of the arguments
required for SPI support, additional parameters for I2C also exposed to
round out the featureset.

Defaults should be all that is necessary


Code:

 -x specifies OLED address if default does not work - use i2cdetect to find 
address (Pi only)
  -B I2C bus number (defaults 1, giving device /dev/i2c-1)
  -R I2C/SPI reset GPIO number, if needed (defaults 25)
  -D SPI DC GPIO number (defaults 24)
  -C SPI CS number (defaults 0)
  -z no splash screen
  
  Supported OLED types:
  1 ...: Adafruit SPI 128x64
  3 ...: Adafruit I2C 128x64
  4 ...: Seeed I2C 128x64
  6* ..: SH1106 I2C 128x64
  *7 ...: SH1106 SPI 128x64*
  
  * is default
  
  

 

For SPI simply specify *-o 7* and any additional parameters to match
your configuration

I'm in the process of adding one additional configuration to cover the
SSD1306 chipset, that should cover pretty much all of the popular OLED
setups.

If you see instability, intermittent garbage on the SPI device, this is
likely down to the device being SSD1306 based

Hold tight for the next update.



As of 2020/05/28

*Total Tracks: 149,488
Total Albums: 13,686
Total Artists: 19,378
Total Genres: 686
Total Playing Time: 24152:01:52*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-28 Thread shunte88


this is C code - no python is used

I'm working on bringing SPI to life, ensuring its fully supported.  

Rudimentary support is available with card coded defaults when you
specify -o 7


Code:


  -o specifies OLED "driver" type (see options below)
  
  Supported OLED types:
  1 ...: Adafruit SPI 128x64
  3 ...: Adafruit I2C 128x64
  4 ...: Seeed I2C 128x64
  6* ..: SH1106 I2C 128x64
  * 7 ...: SH1106 SPI 128x64
  *
  * is default
  



totally untested but its worth a try

I'll have an update out shortly



As of 2020/05/28

*Total Tracks: 149,488
Total Albums: 13,686
Total Artists: 19,378
Total Genres: 686
Total Playing Time: 24152:01:52*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-28 Thread shunte88


if you can post the moode SPI details, hopefully a quick copy/paste,
I'll shoot to setup exactly the same and add details to the README too



As of 2020/05/28

*Total Tracks: 149,488
Total Albums: 13,686
Total Artists: 19,378
Total Genres: 686
Total Playing Time: 24152:01:52*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-28 Thread shunte88


ok no problems with the monitor itself

but just looking at the images on the audiophonics page specifically the
pinouts on the OLED and it looks to be an SPI flavor
its also connected to a proprietary pcb.  Googling  "1.54 inch OLED
Screen" all hits look to confirm SPI
images aren't great but the screen PCB looks to be a simple pass-thru of
the pins
lmsmonitor is not fully tested on SPI although the driver supports it -
I've not exposed the reset pin parameter though

so you may be out of luck with getting it working with the canned setup

I'll grab an SPI screen and get it setup so at minimum we have those
supported and maybe get you back on the green path



As of 2020/05/28

*Total Tracks: 149,488
Total Albums: 13,686
Total Artists: 19,378
Total Genres: 686
Total Playing Time: 24152:01:52*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-28 Thread shunte88


doesn't look like your in the correct folder, try:


Code:


  cd /mnt/mmcblk0p2/tce
  ldd lmsmonitor
  

 

and post the output

the ps -ef looks to be showing the monitor is running



As of 2020/05/28

*Total Tracks: 149,488
Total Albums: 13,686
Total Artists: 19,378
Total Genres: 686
Total Playing Time: 24152:01:52*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-28 Thread shunte88


ldd lmsmonitor output?



As of 2020/05/28

*Total Tracks: 149,488
Total Albums: 13,686
Total Artists: 19,378
Total Genres: 686
Total Playing Time: 24152:01:52*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-28 Thread shunte88


hi @kit1cat
could you post the output of the ldd command
also, are you using a piCore install or one of the supported OS for the
mini, e.g. DietPi



As of 2020/05/10

*Total Tracks: 148,694
Total Albums: 13,576
Total Artists: 19,225
Total Genres: 683
Total Playing Time: 24070:40:13*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-10 Thread shunte88


@kuba good to hear you resolved

I've just pushed an updated build 4.39

This is a bug fix release but also adds some features to the All-In-One
[AIO] mode

AIO now has a VU meter mode, a jazzy little swoosh design!

-a is all you need to activate AIO, it has shortened cycle times so you
get the SA and VU versions toggling faster; toggles the AIO visualizer
and track playing details

if all you want is AIO all the time you can specify -aa, this overrides
the display of the track details; its AIO all the time... and the normal
time display when not playing

there are several fonts defined for the main clock display.  I will at
some point get around to posting some screen captures but I simply ran
out of cycles this weekend

the fonts I did just for fun and some are lesser than others and may not
survive a future release

if you try them and have favorites let me know and I'll ensure they
survive any cuts

-f, fonts, has the following options


Code:

OLED Clock Fonts:
  0 ...: Classic LCD Clock Font
  1 ...: Deco-Solid Font
  2 ...: Deco-Hollow Font
  3 ...: LCD 25x44
  4 ...: Festus Hollow 25x44
  5 ...: Festus Solid 25x44
  6 ...: Space 1999
  7 ...: Roboto Thin
  8 ...: noto 25x44
  9 ...: noto fancy 25x44
  10 ...: Colby Typo 25x44
  11 ...: TTY Pongo 25x44
  12 ...: Windswept 3D 25x44



just grab the updated archive and extract to your runtime folder; new
installs follow the readme in the 'LMSMonitor'
(http://github.com/shunte88/LMSMonitor) repo

hopefully I also crushed the annoying orphan [display] problems

let me know if you find any nasties



As of 2020/05/07

*Total Tracks: 148,479
Total Albums: 13,547
Total Artists: 19,194
Total Genres: 682
Total Playing Time: 24053:46:23*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-08 Thread shunte88


A1 is setup as a visualization mode so it can take advantage of the code
infrastructure used by that part of the monitor
2 minutes is an arbitrary time I chose to trigger visualization, I have
my monitor on 24/7 so I'm usually only a minute away from a
visualization mode; given you can mix and match modes having the monitor
cycle through text and visualizations seemed to make sense, A1 just
piggy-backed on that code
I was waiting on folks to ask those questions, individual choices don't
always cater to the mass populace :D

It would be a nice feature to make that A1 the primary "play" mode
screen if requested, and I'll look at adding a parameter flavor that
allows that
Means a bit of a retooling of the code as-is; plenty of time to get that
done though 

I thought I'd tracked down and addressed all of the resets from one mode
to another such that orphaned pixels would cleanup and modes would fully
refresh especially the clock as given the nature of OLED the screen is
only modified when it needs to be - and there's likely some crossover
between the digit caching that is used to detect those changes - A1 also
shows the clock so there's potential for crossover and munging there
I'm in the code right now finalizing this current release so I'll take a
look for any edge cases I've missed

As to the gomonitor parameters try the following for example:


Code:

/mnt/mmcblk0p2/tce/gomonitor NA -a -S 1



-a overrides all of the visualization parameters but specifying NA may
help; hopefully that gets you what you need



As of 2020/05/07

*Total Tracks: 148,479
Total Albums: 13,547
Total Artists: 19,194
Total Genres: 682
Total Playing Time: 24053:46:23*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-07 Thread shunte88
ll be
released shortly

I also need to get screen shots of the various visualizations and the
dozen fonts I've created for the clock display - see below

Command line help - note that this is again the version I'm about to
deploy so some options may not be available in the current github
release version


Code:

LMSMonitor Ver. 0.4.37
  Usage -n "player name" [options]
  
  options:
  -a all-in-one. One screen to rule them all. Track and visualizer on one 
screen (pi only)
  -b automatically set brightness of display at sunset and sunrise (pi only)
  -c display clock when not playing (Pi only)
  -d downmix audio and display a single large meter, SA and VU only
  -f font used by clock, see list below for details
  -i increment verbose level
  -k show CPU load and temperature (clock mode)
  -m if visualization on specify one or more meter modes, sa, vu, pk, st, or rn 
for random
  -o specifies OLED "driver" type (see options below)
  -r show remaining time rather than track time
  -S scrollermode: 0 (cylon), 1 (infinity left), 2 infinity (right)
  -v enable visualization sequence when playing (Pi only)
  -x specifies OLED address if default does not work - use i2cdetect to find 
address (Pi only)
  -z no splash screen
  
  Supported OLED types:
  1 ...: Adafruit SPI 128x64
  3* ..: Adafruit I2C 128x64
  4 ...: Seeed I2C 128x64
  6 ...: SH1106 I2C 128x64
  7 ...: SH1106 SPI 128x64
  
  * is default
  
  OLED Clock Fonts:
  0 ...: Classic LCD Clock Font
  1 ...: Deco-Solid Font
  2 ...: Deco-Hollow Font
  3 ...: LCD 25x44
  4 ...: Festus Hollow 25x44
  5 ...: Festus Solid 25x44
  6 ...: Space 1999
  7 ...: Roboto Thin
  8 ...: noto 25x44
  9 ...: noto fancy 25x44
  10 ...: Colby Typo 25x44
  11 ...: TTY Pongo 25x44
  12 ...: Windswept 3D 25x44
  This is lmsmonitor (0.4.37) - built May  6 2020 23:52:02.
  




As of 2020/05/06

*Total Tracks: 148,442
Total Albums: 13,541
Total Artists: 19,185
Total Genres: 682
Total Playing Time: 24050:09:38*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-05-04 Thread shunte88


Good to hear you resolved

I've been tooling and the monitor a little, some minor fixes, but also
additional all-in-one screens featuring alternate visualization modes
Should be ready tomorrow

The version also features the ability to select an alternate font for
the main time display; I've had far too much fun creating fonts,
everything from "broken typewriter" to sci-fi classic fonts.

There's 11 fonts so far - far too many most likely :rolleyes:
I'll get some screen grabs and maybe put them to the vote given they
consume a little memory; fine on Pi4 but overhead on the 3 and below

Color version is still in development



As of 2020/04/27

*Total Tracks: 147,470
Total Albums: 13,433
Total Artists: 18,967
Total Genres: 680
Total Playing Time: 23966:34:40*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-04-23 Thread shunte88


New release 4.35 which includes multiple fixes, enhancements, and the
introduction of the All-In-One visualization

All-In-One displays track details as well as a downmixed audio spectrum

If all-in-one is requested, -a parameter, it overrides all other
visualization modes

Up next is a 128x128 color version

If you enjoy the monitor, or simply like the design, why not support by
purchasing a Team Badger t-shirt - the link is in the repo

'shunte88/LMSMonitor' (http://github.com/shunte88/LMSMonitor)



As of 2020/04/12

*Total Tracks: 145,693
Total Albums: 13,272
Total Artists: 18,323
Total Genres: 677
Total Playing Time: 23379:31:04*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-04-10 Thread shunte88


minor uptick, 4.30 released inclusive of the "tornado" spectrum
visualization

sadly not as exciting as it sounds :p



As of 2020/04/07

*Total Tracks: 145,298
Total Albums: 13,236
Total Artists: 18,284
Total Genres: 674
Total Playing Time: 23345:49:54*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-04-10 Thread shunte88


Apologies for the delay downmix release is now ready for prime time
Follow instructions on distro readme
I removed the need for wiringpi and the Adafruit library, all
requirements are now met within lmsmonitor


Code:

Usage -n "player name" [options]
  
  options:
  -b automatically set brightness of display at sunset and sunrise (pi only)
  -c display clock when not playing (Pi only)
  -d downmix audio and display a single large meter, SA and VU only
  -i increment verbose level
  -k show CPU load and temperature (clock mode)
  -m if visualization on specify one or more meter modes, sa, vu, pk, or rn for 
random
  -o specifies OLED "driver" type (see options below)
  -r show remaining time rather than track time
  -S scroller mode: 0 (cylon), 1 (infinity left), 2 infinity (right)
  -v enable visualization sequence when playing (Pi only)
  -x specifies OLED address if default does not work - use i2cdetect to find 
address (Pi only)
  -z no splash screen
  
  Supported OLED types:
  1 ...: Adafruit SPI 128x64
  3 ...: Adafruit I2C 128x64
  4 ...: Seeed I2C 128x64
  6* ..: SH1106 I2C 128x64
  7 ...: SH1106 SPI 128x64
  
  * is default
  This is lmsmonitor (0.4.29) - built Apr 10 2020 12:21:34.
  



In the pipeline, a simpler install, an all-in-one play mode, 128x128
color, and additional visualization modes

No timeline I'm afraid



As of 2020/04/07

*Total Tracks: 145,298
Total Albums: 13,236
Total Artists: 18,284
Total Genres: 674
Total Playing Time: 23345:49:54*
----
shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2020-04-04 Thread shunte88


almost ready to release the latest build

shaky-cam demo 'here'
(https://github.com/shunte88/LMSMonitor/blob/master/base/lmsmondemo.mp4?raw=true)


still tracking down a rather annoying display freeze that's manifesting
when clearing screen with certain scroller setups

updated the binary for folks to play with but make a backup if you
already have something working so you can fall back should you need to

readme updates on the repo describe new features, I'd alluded to them on
a prior post

thanks to @seekasoul for ideas in the release



As of 04/04/2020

*Total Tracks: 145,221
Total Albums: 13,224
Total Artists: 18,259
Total Genres: 672
Total Playing Time: 23335:45:15*

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


  1   2   >