Re: [slim] Need help reading LMS server Log

2022-11-05 Thread bpa

shacky73 wrote: 
> Where do enable Touch logging?
> 
> And I don’t understand this:
> (you may need to ssh into Touch to read log)
This is going to get a little technical, also I don't have my
Radio/Touch on hand so it's from memory.

Touch and Radio are small Linux systems and the Squeezeplay is the
player running on the Touch. The logging is generated by Squeezeplay and
logged into a file within the Touch/radio system
To access the log file you need to remotely login (i.e. over network)
into Touch/Radio - this is known as "ssh'ing.  The command line process
on a Linux system is called a shell (i.e. sh) - so ssh is "*s*ecure
*sh*ell access" 

The following assume Community build firmware in Touch/Radio.

1. Enable SSH login on the Radio, using the interface on the Radio:
SETTINGS -> ADVANCED -> REMOTE LOGIN -> ENABLE SSH

2. Find the Radio's IP address. Either in
SQUEEZEBOX SERVER -> SETTINGS -> INFORMATION
or in the Radio user interface
SETTINGS -> ADVANCED -> DIAGNOSTICS

3. To remote login you need to run an application such as "ssh" on Linux
system.  Alternative is PuTTY which is availabwel for other system such
as Windows.

Login with username root and password 1234.  
With ssh it will be something like  "ssh root@" and then
reply 1234
with PuTTY - you need to select "ssh" and the  in the
configuration dialogue.

To enable logging in the Touch I think the menu is 
SETTINGS -> ADVANCED -> LOGGING
Like LMS, there are many modules - I think an "audio" one woudl be place
to start. Change setting to DEBUG.

Now logging will go to a log file on the Touch called
*/var/log/messages*.  
To examine the file - from the command prompt in putty/ssh session use
the command 
CAT /VAR/LOG/MESSAGES

Look at result to see if an error message has been logged amongts all
the "normal" messages.

Usually when tracking a bug, after running a test , the messages file is
copied to a host system to save and later analyse.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-11-04 Thread shacky73

Where do enable Touch logging?

And I don’t understand this:
(you may need to ssh into Touch to read log)



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-11-04 Thread shacky73


Thanks!



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-11-04 Thread bpa

shacky73 wrote: 
> However, these songs in Apple Lossless have been in my library for
> years.  I didn’t have the skipping issue till about a year ago after
> moving.  Perhaps an update to Touch firmware started it 

Lots of possibilities depending on time window 
* There have been changes in LMS handling of MPEG-4
* Transcoding functionality was altered & improved (e.g. the setting
"prefer native format (decoding on player) whenever possible. was added
")
* From early days, ALC native on Touch was known to have problems so
"native" may not have been the default except when using Touch internal
mini-LMS
* Not sure if the same ALC decoder is used in Community build vs
Logitech build.

As the bug seems to be in Touch and not LMS. Enabling Touch logging for
audio decode might show up a more specific error (you may need to ssh
into Touch to read log) .  If it does, I'd open a new thread as title on
this thread is no longer rlevant.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-11-03 Thread shacky73

However, these songs in Apple Lossless have been in my library for
years.  I didn’t have the skipping issue till about a year ago after
moving.  Perhaps an update to Touch firmware started it 



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-11-03 Thread shacky73

Yes I remember that.  What I was thinking is the Touch is only passing
the data on to my DAC , but I guess it is simultaneously decoding and
playing - I’m just accessing the audio out.



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-11-03 Thread RobbH

shacky73 wrote: 
> Thanks again to all that tried to help me with this issue.  Seems
> finally resolved.
> 
> I do have hard tim getting my arms around why the native file handling
> was a problem.  I thought the LMS just streamed basic file data to my
> Touch and Touch forwarded data to my DAC. 
> 
> Not an urgent need to know but I’d be curious to better understand.

I think bpa addressed that:

bpa wrote: 
> Touch can play Apple Lossless (ALC) natively but some Apple Lossless
> files (e.g. high compression rates) cause problems.
> 
> To check if this is the problem, try disabling "native" playback for
> Apple Lossless so that file is transcoded by LMS (WebUI
> Settings/Advanced/FileTypes )

I think he's saying that the Touch firmware may be too old to play some
recent Apple Lossless files that use higher compression than was common
when the Touch was in production. Having LMS transcode is a workaround.

I am no expert, so let's see if someone more knowledgeable corrects me.



Usually running latest beta LMS nightly on Raspberry Pi OS with virtual
players (Squeezelite and Airplay bridge). Occasionally using SB Radio,
Boom or Classic.

RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-11-03 Thread shacky73

Thanks again to all that tried to help me with this issue.  Seems
finally resolved.

I do have hard tim getting my arms around why the native file handling
was a problem.  I thought the LMS just streamed basic file data to my
Touch and Touch forwarded data to my DAC. 

Not an urgent need to know but I’d be curious to better understand.



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-30 Thread shacky73


Still playing all 3 and other files that had been skipping without
issues.



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-29 Thread shacky73

Got it! 

Thanks so much!!!

I’ve been chasing this problem for months.  If you found fix you get
special kudos and a reward in heaven 



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-29 Thread bpa

shacky73 wrote: 
> In Advanced/Server Settings I unchecked “prefer native format (decoding
> on player) whenever possible.”
> 
> Replayed file that stops and it still stops 
> 
> Were you suggesting something different?

Not sure if unchecking that setting always stops "native" being used.

Further down, under item Apple Lossless - there is a setting "Apple
Lossless (I,F)" change the drop down box from "native" to "Disabled" and
then don't forget to click "Apply".



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-29 Thread shacky73

I rebooted everything.  Song now plays.  Fingers crossed as I’ve been
here before.  Only time will tell.

I ordered a co-ax hat for second RPi I have to use as player.  When I
can find it  I’ll try that next.

Thanks for all your help!!!



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-29 Thread shacky73

In Advanced/Server Settings I unchecked “prefer native format (decoding
on player) whenever possible.”

Replayed file that stops and it still stops 

Were you suggesting something different?



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-28 Thread bpa


shacky73 wrote: 
> SB Touch

Touch can play Apple Lossless (ALC) natively but some Apple Lossless
files (e.g. high compression rates) cause problems.

To check if this is the problem, try disabling "native" playback for
Apple Lossless so that file is transcoded by LMS (WebUI
Settings/Advanced/FileTypes )



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-28 Thread Paul Webster


Does it happen with all of the .m4a files that you try?

Does it happen with a non-m4a file?

Do you have more than one player?



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-27 Thread shacky73

Paul Webster wrote: 
> Does it happen with local files that are not of type .m4a ?
> 
> Most all my files are m4a
> 
> Is the player configured to sync?
> 
> I don’t know
> 
> What type of player is it?

SB Touch



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-26 Thread Paul Webster


Does it happen with local files that are not of type .m4a ?

Is the player configured to sync?

What type of player is it?



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-26 Thread shacky73


The 3 songs in order are:

Pat Benatar Evening
Fleetwood Mac Something Inside of Me
Fleetwood Mac Isn't it Midnight



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-26 Thread shacky73


Switched several to info.  Replayed 3 songs that stop at 30 seconds:

[22-10-26 18:43:34.9867] Slim::Player::Song::open (416) Transcoder:
streamMode=I, streamformat=alc
[22-10-26 18:43:34.9871] Slim::Player::Song::open (472) Opening stream
(no direct streaming) using Slim::Player::Protocols::File
[file:///mnt/LMSfiles/Music/Fleetwood%20Mac/Tango%20In%20The%20Night/10%20Isn%27t%20It%20Midnight.m4a]
[22-10-26 18:43:34.9881] Slim::Player::Protocols::File::open (80)
duration: [253.96] size: [31119151] endian [] offset: [0] for
file:///mnt/LMSfiles/Music/Fleetwood%20Mac/Tango%20In%20The%20Night/10%20Isn%27t%20It%20Midnight.m4a
[22-10-26 18:43:34.9884] Slim::Player::Protocols::File::open (97)
Opening file /mnt/LMSfiles/Music/Fleetwood Mac/Tango In The Night/10
Isn't It Midnight.m4a
[22-10-26 18:43:34.9896] Slim::Player::Protocols::File::open (189)
Seeking in 0 into /mnt/LMSfiles/Music/Fleetwood Mac/Tango In The
Night/10 Isn't It Midnight.m4a
[22-10-26 18:43:34.9901] Slim::Player::Song::open (502) URL is a song
(audio):
file:///mnt/LMSfiles/Music/Fleetwood%20Mac/Tango%20In%20The%20Night/10%20Isn%27t%20It%20Midnight.m4a,
type=alc
[22-10-26 18:43:34.9914] Slim::Player::StreamingController::_Stream
(1282) 00:04:20:22:97:db: stream
[22-10-26 18:43:34.9930] Slim::Player::StreamingController::_Stream
(1319) Song queue is now 2
[22-10-26 18:43:34.9934] Slim::Buttons::Playlist::jump (374) Jumping to
song index: 2
[22-10-26 18:43:34.9938]
Slim::Player::StreamingController::_setPlayingState (2377) new playing
state BUFFERING
[22-10-26 18:43:34.9941]
Slim::Player::StreamingController::_setStreamingState (2386) new
streaming state STREAMING
[22-10-26 18:43:34.9944] Slim::Buttons::Playlist::jump (374) Jumping to
song index: 2
[22-10-26 18:43:34.9986] Slim::Player::Playlist::modifyPlaylistCallback
(1081) Checking if persistPlaylists is set..
[22-10-26 18:43:34.9989] Slim::Player::Playlist::modifyPlaylistCallback
(1109) saveCurrentSong is: [1]
[22-10-26 18:43:35.0012] Slim::Player::Playlist::modifyPlaylistCallback
(1081) Checking if persistPlaylists is set..
[22-10-26 18:43:35.0016] Slim::Player::Playlist::modifyPlaylistCallback
(1105) saveCurrentSong not set. returing.
[22-10-26 18:43:35.0028] Slim::Player::Playlist::modifyPlaylistCallback
(1081) Checking if persistPlaylists is set..
[22-10-26 18:43:35.0032] Slim::Player::Playlist::modifyPlaylistCallback
(1109) saveCurrentSong is: [1]
[22-10-26 18:43:35.0044] Slim::Player::Playlist::modifyPlaylistCallback
(1081) Checking if persistPlaylists is set..
[22-10-26 18:43:35.0048] Slim::Player::Playlist::modifyPlaylistCallback
(1109) saveCurrentSong is: [1]
[22-10-26 18:43:35.0419] Slim::Player::Squeezebox2::directHeaders (478)
Processing headers for direct streaming:
HTTP/1.1 200 OK
Server: Logitech Media Server (8.2.0 - 1627922070)
Connection: close
Content-Type: audio/x-m4a-lossless
Set-Cookie: Squeezebox-albumView=; path=/
Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/
Set-Cookie: Squeezebox-expanded-PLUGINS=1; path=/
Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
Set-Cookie: Squeezebox-expanded-RADIO=0; path=/

[22-10-26 18:43:36.4748]
Slim::Player::StreamingController::playerTrackStarted (2200)
00:04:20:22:97:db
[22-10-26 18:43:36.4755]
Slim::Player::StreamingController::_setPlayingState (2377) new playing
state PLAYING
[22-10-26 18:43:36.4764] Slim::Player::StreamingController::_Playing
(368) Song 2 has now started playing
[22-10-26 18:43:36.4773] Slim::Buttons::Playlist::jump (374) Jumping to
song index: 2
[22-10-26 18:43:36.4788] Slim::Player::StreamingController::_Playing
(397) Song queue is now 2
[22-10-26 18:43:36.4801] Slim::Player::Playlist::modifyPlaylistCallback
(1081) Checking if persistPlaylists is set..
[22-10-26 18:43:36.4810] Slim::Player::Playlist::modifyPlaylistCallback
(1105) saveCurrentSong not set. returing.
[22-10-26 18:43:36.7854]
Slim::Player::TranscodingHelper::getConvertCommand2 (493) Matched:
alc->alc via: -
[22-10-26 18:44:08.2725]
Slim::Player::StreamingController::playerOutputUnderrun (2239)
00:04:20:22:97:db: decoder: 3145727 / output: 0
[22-10-26 18:44:08.2732]
Slim::Player::StreamingController::_setPlayingState (2377) new playing
state BUFFERING
[22-10-26 18:44:08.2786] Slim::Player::Player::rebuffer (1045)
Rebuffering: 3145727 / 612030
[22-10-26 18:44:08.4049] Slim::Player::Player::_buffering (1144)
Buffering... 3145727 / 612030
[22-10-26 18:44:08.4055]
Slim::Player::StreamingController::playerBufferReady (2278)
00:04:20:22:97:db
[22-10-26 18:44:08.4061]
Slim::Player::StreamingController::_setPlayingState (2377) new playing
state WAITING_TO_SYNC
[22-10-26 18:44:08.4068]
Slim::Player::StreamingController::_setPlayingState (2377) new playing
state PLAYING
[22-10-26 18:44:08.4094] Slim::Player::Playlist::modifyPlaylistCallback
(1081) Checking if persistPlaylists is set..
[22-10-26 18:44:08.4102] 

Re: [slim] Need help reading LMS server Log

2022-10-26 Thread shacky73


Paul Webster wrote: 
> Try increasing the log level
> Settings/Advanced/Logging
> then pick a few that start with "player" and increase the level and
> repeat the problem.
> No need to stop/restart LMS when changing the log level.

As in DEBUG, Info, Warn?



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-26 Thread Paul Webster


Try increasing the log level
Settings/Advanced/Logging
then pick a few that start with "player" and increase the level and
repeat the problem.
No need to stop/restart LMS when changing the log level.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-26 Thread shacky73


mherger wrote: 
> > I can't open the zip server file without purchasing WinZip.  I tried
> > extracting which had worked previously but only get one line of text.
> 
> You can access the server.log from the web UI without downloading the 
> ..zip file. There's a link next to the download link.

I get that same one line of text 



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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


Re: [slim] Need help reading LMS server Log

2022-10-25 Thread Michael Herger

I can't open the zip server file without purchasing WinZip.  I tried
extracting which had worked previously but only get one line of text.


You can access the server.log from the web UI without downloading the 
.zip file. There's a link next to the download link.

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


Re: [slim] Need help reading LMS server Log

2022-10-25 Thread shacky73


this is all I get

[22-10-24 17:24:57.1123] main::init (390) Starting Logitech Media Server
(v8.2.0, 1627922070, Tue Aug  3 11:43:18 CEST 2021) perl 5.032001 -
arm-linux-gnueabihf-thread-multi-64int



shacky73's Profile: http://forums.slimdevices.com/member.php?userid=72881
View this thread: http://forums.slimdevices.com/showthread.php?t=116979

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