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] piCorePlayer 6.1.0 issues

2020-09-13 Thread mr-b


Yes the cmd itself works fine from the cmd prompt, the issue seems to be
running the script.
I always get:
-sh: ./backup.sh: not found



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112456

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


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2020-09-13 Thread ralphy


Arthur wrote: 
> Tested version: squeezelite-nossl-1.9.7-1272-win64.zip
> 
> Stops at 05:33 but doesn't resume at all
> 
> Arthur

A log file from squeezelite running with the option *-d all=debug* when
this happens, would be more helpful.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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


Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues

2020-09-13 Thread Tony T


Attach the script as a file.



Tony
  SBTouch ♪ SBRadio ♬

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=112456

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


Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues

2020-09-13 Thread mr-b


Here it is - had to zip it.31532


+---+
|Filename: backup.zip   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31532|
+---+


mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112456

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


Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues

2020-09-13 Thread Tony T


Script looks ok, not sure why "/mnt/mmcblk0p2/tce/mydata.tgz" is being
truncated to "ata.tgz" (: No such file or directoryata.tgz)
Weird.
All I can think of is to try setting the permissions again with chmod
744 backup.sh



Tony
  SBTouch ♪ SBRadio ♬

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=112456

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


Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues

2020-09-13 Thread paul-


The file still has improper line endings and carriage returns in it,
process the file with dos2unix.


Code:


  $ file ~/Downloads/backup.sh 
  /home/paul/Downloads/backup.sh: POSIX shell script, ASCII text executable, 
with CRLF, LF line terminators
  $ dos2unix ~/Downloads/backup.sh
  dos2unix: converting file /home/paul/Downloads/backup.sh to Unix format...
  $ file ~/Downloads/backup.sh 
  /home/paul/Downloads/backup.sh: POSIX shell script, ASCII text executable
  




piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=112456

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


Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues

2020-09-13 Thread Tony T


Good catch.  
(I made the mistake of just opening it in my Smultron text editor and
forgot I had it set to convert to UTF-8 on open).



Tony
  SBTouch ♪ SBRadio ♬

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=112456

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


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2020-09-13 Thread Arthur


Log file


+---+
|Filename: squeezelite.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31533|
+---+


Arthur's Profile: http://forums.slimdevices.com/member.php?userid=6180
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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