Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-12 Thread d6jg
It seems very likely to me that this is time related (or lack of) and if so it is perhaps a small flaw in pCP where if it is operated disconnected from LAN/WLAN it will never have a valid time (unless you add an RTC board). Perhaps a small modification to pCP time settings where at initial setup

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-11 Thread AndyTwizzle
Paul Webster wrote: > To test ... simply set the operating system date time by hand (or web > using method from earlier post) and repeat the tests. > That will show if the issue is only date/time related. Getting ready for a little trip away right now (where I'll be using my iPod Nano with selec

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-11 Thread AndyTwizzle
mherger wrote: > > I set the nomysqueezebox startup parameter in pCP and restarted. When > > disconnected from Wi-FI/LAN, and using pCP as a WAP, the Apps LMS > menu > > now lists 'What Was That Tune?', but alas still doesn't list anything > > No history from before re-boot? Or not even after y

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread Michael Herger
I set the nomysqueezebox startup parameter in pCP and restarted. When disconnected from Wi-FI/LAN, and using pCP as a WAP, the Apps LMS menu now lists 'What Was That Tune?', but alas still doesn't list anything No history from before re-boot? Or not even after you've been playing for a while?

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread Michael Herger
Might it also be because it’s pCP and the cache is in RAM and WWTT plugin has nowhere to write to? That would only have an impact on the functionality when pCP is restarted. And as the history is saved in the same place as all other prefs, it's not the case anyway. ___

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread d6jg
Paul Webster wrote: > To test ... simply set the operating system date time by hand (or web > using method from earlier post) and repeat the tests. > That will show if the issue is only date/time related. Might it also be because it’s pCP and the cache is in RAM and WWTT plugin has nowhere to wr

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread Paul Webster
To test ... simply set the operating system date time by hand (or web using method from earlier post) and repeat the tests. That will show if the issue is only date/time related. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetra

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread AndyTwizzle
mherger wrote: > >> Are you running LMS in --nomysqueezebox mode? And did you check your > >> server.log with plugin.audioscrobbler logging enabled? > > I'm on 8.1.1. it won't log me into MySqueezebox because I'm testing a > > setup with no external Internet access - just the Pi set to WAP and >

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread AndyTwizzle
mherger wrote: > >> Are you running LMS in --nomysqueezebox mode? And did you check your > >> server.log with plugin.audioscrobbler logging enabled? > > I'm on 8.1.1. it won't log me into MySqueezebox because I'm testing a > > setup with no external Internet access - just the Pi set to WAP and >

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread Michael Herger
Are you running LMS in --nomysqueezebox mode? And did you check your server.log with plugin.audioscrobbler logging enabled? I'm on 8.1.1. it won't log me into MySqueezebox because I'm testing a setup with no external Internet access - just the Pi set to WAP and controlled from my Android. --nom

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread AndyTwizzle
mherger wrote: > > The tracks show in 'Now Playing', but none of 'My Apps' are available > in > > the menu (probably because I'm not logged into MySqueezebox) and no > > Somebody mentioned this before, but I thought this was fixed in 8.2. > What version are you running? > > Are you running LM

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread AndyTwizzle
mherger wrote: > > The tracks show in 'Now Playing', but none of 'My Apps' are available > in > > the menu (probably because I'm not logged into MySqueezebox) and no > > Somebody mentioned this before, but I thought this was fixed in 8.2. > What version are you running? > > Are you running LM

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-10 Thread Michael Herger
The tracks show in 'Now Playing', but none of 'My Apps' are available in the menu (probably because I'm not logged into MySqueezebox) and no Somebody mentioned this before, but I thought this was fixed in 8.2. What version are you running? Are you running LMS in --nomysqueezebox mode? And did

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-09 Thread AndyTwizzle
mherger wrote: > > I set the 'What Was That Tune?' log to debug and played a few tracks > > this morning. The output is below. Looks like when it powers up it > > starts from a timestamp of midnight, 70/01/01 (1 Jan 1970?). What do > > you think the ts => ### three digit number represents - may

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-09 Thread Michael Herger
I set the 'What Was That Tune?' log to debug and played a few tracks this morning. The output is below. Looks like when it powers up it starts from a timestamp of midnight, 70/01/01 (1 Jan 1970?). What do you think the ts => ### three digit number represents - maybe the number of seconds after th

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-09 Thread AndyTwizzle
mherger wrote: > > server.log appears to be empty - just get this one line: > > You can enable logging for the plugin. I set the 'What Was That Tune?' log to debug and played a few tracks this morning. The output is below. Looks like when it powers up it starts from a timestamp of midnight, 70/

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-09 Thread AndyTwizzle
d6jg wrote: > Carrying on > > I added the following to Tweaks > > 35445 > > Then I rebooted the Pi and it came up with the date as tomorrow. > > If the OP were to reset this command on a daily basis prior to shutting > down for the night I think that will do the job! Interesting to read this

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-09 Thread d6jg
Carrying on I added the following to Tweaks 35445 Then I rebooted the Pi and it came up with the date as tomorrow. If the OP were to reset this command on a daily basis prior to shutting down for the night I think that will do the job! +--

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-09 Thread d6jg
I did a little digging today. If you shell on to your Pi you can manually set the date & time with the "date" command. Code: date -s 2021-08-10 will set the date/time to 00:00 10 AUG 2021 ie. tomorrow Code: date -s 2021-

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-08 Thread Michael Herger
server.log appears to be empty - just get this one line: You can enable logging for the plugin. ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-08 Thread AndyTwizzle
mherger wrote: > > Unfortunately, when the pCP Pi is set as a stand alone player with no > > Wi-Fi connection, none of the tracks it plays are stored in the 'What > > Was That Tune?' log. In fact, when disconnected from Wi-Fi or LAN, > LMS > > doesn't even show the 'What Was That Tune?' option

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-08 Thread Michael Herger
Unfortunately, when the pCP Pi is set as a stand alone player with no Wi-Fi connection, none of the tracks it plays are stored in the 'What Was That Tune?' log. In fact, when disconnected from Wi-Fi or LAN, LMS doesn't even show the 'What Was That Tune?' option under the 'My Apps' menu. Are the

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-08 Thread AndyTwizzle
d6jg wrote: > Looking at things another way. > Install What Was That Tune which will give you a record of what you play > even when offline. > Manually scobble the data when online - > https://support.last.fm/t/more-ways-to-scrobble/192 I have that plugin installed and had the same thought last

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-08 Thread Paul Webster
These devices are, in general, used to set the date/time in the operating system. So, once it is working, it would be used by LMS etc without having to do anything else. The challenge is that pCP uses piCore which is a specialised operating system and does not have everything in it that some appl

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-08 Thread AndyTwizzle
Paul Webster wrote: > I don’t think the RPi will get the date/time from the Android phone > without some sort of helper. > > However, adding a battery backed up RTC to the RPi is relatively cheap > and very easy (unless it is competing for GPIO pins). > > https://www.adafruit.com/product/3386 >

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-08 Thread d6jg
Looking at things another way. Install What Was That Tune which will give you a record of what you play even when offline. Manually scobble the data when online - https://support.last.fm/t/more-ways-to-scrobble/192 VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* Joggler & Pi4/Khadas -> O

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-07 Thread Paul Webster
I don’t think the RPi will get the date/time from the Android phone without some sort of helper. However, adding a battery backed up RTC to the RPi is relatively cheap and very easy (unless it is competing for GPIO pins). https://www.adafruit.com/product/3386 Might need some work to have it run

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-07 Thread AndyTwizzle
Paul Webster wrote: > Also … with the Pu connected to the phone … where the phone is acting as > WAP … then it should be possible to get the time by running the > getTime.sh script … > > So maybe a background script that checks every few minutes to see if the > current date is less than 2021 th

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-06 Thread Paul Webster
Also … with the Pu connected to the phone … where the phone is acting as WAP … then it should be possible to get the time by running the getTime.sh script … So maybe a background script that checks every few minutes to see if the current date is less than 2021 then try to get the time if interne

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-06 Thread Paul Webster
The scrobble includes the date / time that the track was played (rather than last.fm applying the “current” time to them … and last.fm does not accept scribbles for lays that are more than a few weeks old … and yours would probably be from 1970 if the time is not set. Maybe the pCP web interface c

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-06 Thread AndyTwizzle
mherger wrote: > > Is there anyway to enable this? Was wondering if I somehow tethered > the > > I would be surprised if you couldn't set the time on the device > manually. At least if you sshed into it? Probably can, even from my Android, but guess I'd need to do that every time the Pi boots

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-06 Thread Michael Herger
Is there anyway to enable this? Was wondering if I somehow tethered the I would be surprised if you couldn't set the time on the device manually. At least if you sshed into it? ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slim

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-08-06 Thread AndyTwizzle
Paul Webster wrote: > You could test though by temporarily disconnecting your broadband > (apparently life continues in this situation) ... then play a few songs > ... then shutdown LMS and reboot the LMS server ... ... then play a > few more songs on LMS ... then bring the broadband back.

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-07-03 Thread Paul Webster
You could test though by temporarily disconnecting your broadband (apparently life continues in this situation) ... then play a few songs ... then shutdown LMS and reboot the LMS server ... ... then play a few more songs on LMS ... then bring the broadband back. Paul Webster http://dabdig

Re: [SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-07-03 Thread Paul Webster
I think it queues them to disk and keeps trying until it manages to connect - but not 100% certain. https://github.com/Logitech/slimserver/blob/359cd3a1d08a1fa86c954d1f6ac412714783522f/Slim/Plugin/AudioScrobbler/Plugin.pm#L325 However, take care ... I found from bitter experience that last.fm do

[SlimDevices: Plugins] Last.fm scrobbling from LMS with no Internet

2021-07-03 Thread AndyTwizzle
I'm thinking of buying a Raspberry Pi to setup in combination with a USB hard drive as a portable LMS. In situations where I won't have Wi-fi available, does the Last.fm plugin queue up Scrobbles to send out when Wi-fi is next available, or will it simply fail to Scrobble any tracks I've played w