[SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-28 Thread streifenleopard


Hi,
i am trying to avoid as much social media as possible and would like to
use another scrobble service e.g. libre.fm.
But I don't know how to set this up. 
I think I would have to alter data in
/volume1/@appstore/SqueezeCenter/Slim/Plugin/AudioScrobbler/ but I have
no idea how to do it.
Has someone had success in scrobbling to libre.fm etc.?
Cheers!



dsm 6.1 (synology disk station 115) running lms 7.9.1 -- rpi with a
hifiberry dac+ running picoreplayer (any old version?) -- nokia lumia
running windows phone 8.1 and soundicity -- moto g peregrine xt1039
running cm 14 (android 7.1.2) -- zettaly avy running android 4.4.4 --
squeeze ctrl app x2

streifenleopard's Profile: http://forums.slimdevices.com/member.php?userid=42019
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-28 Thread Paul Webster


You can probably hack it by editing the hosts file on the LMS machine

149.20.54.250 post.audioscrobbler.com
149.20.54.250 ws.audioscrobbler.com

Then create an account on libre.fm - and give LMS those credentials as
if they were for last.fm

This is because Libre.fm implements, in essence, the last.fm scrobbling
API.

Not tried this route myself but I think there is a good chance it would
work (they document this approach on their site).



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

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

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-28 Thread streifenleopard


thank you for your reply. 
I don't quite understand what you mean by "hosts file" and what this
IP-address "149.20.54.250 post.audioscrobbler.com" would mean?



dsm 6.1 (synology disk station 115) running lms 7.9.1 -- rpi with a
hifiberry dac+ running picoreplayer (any old version?) -- nokia lumia
running windows phone 8.1 and soundicity -- moto g peregrine xt1039
running cm 14 (android 7.1.2) -- zettaly avy running android 4.4.4 --
squeeze ctrl app x2

streifenleopard's Profile: http://forums.slimdevices.com/member.php?userid=42019
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-28 Thread Paul Webster


The hosts file is a file used by the networking part of the operating
system to replace a DNS lookup.
Its name and location depend on the operating system that is running.

In this case it is telling any application that performs a lookup of
post.audioscrobbler.com or ws.audioscrobbler.com to go to IP address
149.20.54.250 instead of whatever DNS says is the right address.
audioscrobbler.com is the domain of the scrobbling part of last.fm
(AudioScrobbler used to be a separate company and the became part of
last.fm).

So - when LMS tried to make a call to last.fm to scrobble something it
would instead find itself at libre.fm (librefm-02.guest.isc.org is at
149.20.54.250).

Therefore you need to find where the hosts file (or equivalent
functionality) is for the system that is running your LMS.



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

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

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-29 Thread streifenleopard


Paul Webster wrote: 
> The hosts file is a file used by the networking part of the operating
> system to replace a DNS lookup.
> Its name and location depend on the operating system that is running.
Ok, so it would be Synology's Disk Station Manager and not Logitech
Media Server. How do I edit this file? I can't seem to find it on my
system.
I also don't know what DNS is.



dsm 6.1 (synology disk station 115) running lms 7.9.1 -- rpi with a
hifiberry dac+ running picoreplayer (any old version?) -- nokia lumia
running windows phone 8.1 and soundicity -- moto g peregrine xt1039
running cm 14 (android 7.1.2) -- zettaly avy running android 4.4.4 --
squeeze ctrl app x2

streifenleopard's Profile: http://forums.slimdevices.com/member.php?userid=42019
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-30 Thread pinkdot


streifenleopard wrote: 
> Ok, so it would be Synology's Disk Station Manager and not Logitech
> Media Server. How do I edit this file? I can't seem to find it on my
> system.
> I also don't know what DNS is.
The host file is in the same spot as for most linux based systems:

Code:

/etc/hosts


Besides changing the host file, you need to change the audioscrobbler
plugin as well according to this source:
https://git.gnu.io/foocorp/librefm/wikis/Clientssqueezescrobbler

The file to change is located here:

Code:

/volume1/@appstore/SqueezeCenter/Slim/Plugin/AudioScrobbler/Plugin.pm



Out of curiosity I created an account and applied both changes. I will
give an update later if this will work or not.



-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy' (https://www.mopidy.com/)),  Aune S6 - Exposure 3010S2
- PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-30 Thread bakker_be


pinkdot wrote: 
> The host file is in the same spot as for most linux based systems:
> > 
Code:

  >   > /etc/hosts

> > 
> Besides changing the host file, you need to change the audioscrobbler
> plugin as well according to this source:
> https://git.gnu.io/foocorp/librefm/wikis/Clientssqueezescrobbler
> 
> The file to change is located here:
> > 
Code:

  >   > /volume1/@appstore/SqueezeCenter/Slim/Plugin/AudioScrobbler/Plugin.pm

> > 
> 
> Out of curiosity I created an account and applied both changes. I will
> give an update later if this will work or not.

Speaking purely from a networking point of view, as I don't know enough
about the rest of the plugin, it would seem to me that just changing the
line in AudioScrobbler.pm should be enough, as you change the DNS name
it's pointing to. From there the DNS client of the system should be able
to work it out ;)
EDIT: Since I have nothing scrobbling anyways I'll make the modification
in just the AudioScrobbler.pm to see if that works :)



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-30 Thread pinkdot


Looks promising :D

25238


+---+
|Filename: librefm.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25238|
+---+


-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy' (https://www.mopidy.com/)),  Aune S6 - Exposure 3010S2
- PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-06-30 Thread Paul Webster


I agree - if you change the LMS source then no need to change the hosts
file as well.
Of course ... if you later update the LMS version then the change would
have to be done again.

Probably the best solution would be to have a setting in LMS that says
to use libre.fm instead of last.fm - or ... more flexible but perhaps
more prone to user error would be to put the host name into the plugin
settings with the default value being the last.fm host.



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

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

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-07-01 Thread streifenleopard


Thank you for the reply everybody!
bakker_be wrote: 
> EDIT 2: Seems the info in the link is a bit outdated. Correct path for
> the plugin file is now
> */usr/lib/perl5/vendor_perl/Slim/Plugin/AudioScrobbler/Plugin.pm* and no
> longer -/usr/lib/perl5/vendor_perl/Slim/Plugin/AudioScrobbler.pm-
I don't have this path. There is no 'Slim'-Folder under vendor_perl.
Just the same I cannot find any file called 'audioscrobbler'.



dsm 6.1 (synology disk station 115) running lms 7.9.1 -- rpi with a
hifiberry dac+ running picoreplayer (any old version?) -- nokia lumia
running windows phone 8.1 and soundicity -- moto g peregrine xt1039
running cm 14 (android 7.1.2) -- zettaly avy running android 4.4.4 --
squeeze ctrl app x2

streifenleopard's Profile: http://forums.slimdevices.com/member.php?userid=42019
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-07-01 Thread pinkdot


streifenleopard wrote: 
> Thank you for the reply everybody!
> 
> I don't have this path. There is no 'Slim'-Folder under vendor_perl.
> Just the same I cannot find any file called 'audioscrobbler'.

Correct, for Synology you need the path given in my post;

pinkdot wrote: 
> 
> The file to change is located here:
> > 
Code:

  >   > /volume1/@appstore/SqueezeCenter/Slim/Plugin/AudioScrobbler/Plugin.pm

> > 
> 

As Paul already mentioned, there is no need to change the hosts file
also.

Greetings,

Martin



-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy' (https://www.mopidy.com/)),  Aune S6 - Exposure 3010S2
- PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-07-01 Thread bakker_be


pinkdot wrote: 
> Correct, for Synology you need the path given in my post;
> 
> 
> 
> As Paul already mentioned, there is no need to change the hosts file
> also.
> After modifications, reboot your players and restart LMS.
> 
> Greetings,
> 
> Martin

I confirm it works on my end, no Synology, a vortexbox, but I consider
the principle proven :)



Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...

bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-07-02 Thread Michael Herger
It would be quite straight forward to change the Audioscrobbler plugin 
to support Libre.fm, too. Except for the many strings changes...


But does this service have any more future than Last.fm? It's been 
idling for 2+ years.


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-07-02 Thread pinkdot


mherger wrote: 
> 
> 
> But does this service have any more future than Last.fm? It's been 
> idling for 2+ years.
> 
> -- 
> 
> Michael

No, its just a simple scrobble service and never evolved into something
similar as LastFM. 

Its good to have options but I doubt this would be a much used one.



-LMS on Raspian Stretch -> 2x Radio
-RPI 3 ('Mopidy' (https://www.mopidy.com/)),  Aune S6 - Exposure 3010S2
- PMC FB1i

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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


Re: [SlimDevices: SqueezeCenter] Scrobbling to sth else than Last.fm

2018-07-06 Thread streifenleopard


Thanks, forum, for the comprehensive response. 
Sadly I'm a little short of time right now... 
but I'll get back to this issue as soon as possible.



dsm 6.1 (synology disk station 115) running lms 7.9.1 -- rpi with a
hifiberry dac+ running picoreplayer (any old version?) -- nokia lumia
running windows phone 8.1 and soundicity -- moto g peregrine xt1039
running cm 14 (android 7.1.2) -- zettaly avy running android 4.4.4 --
squeeze ctrl app x2

streifenleopard's Profile: http://forums.slimdevices.com/member.php?userid=42019
View this thread: http://forums.slimdevices.com/showthread.php?t=109201

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