This works for me. In the last line, add your username and password for lastfm.


def lastfm.submit(~user,~password,~source="broadcast",~length=false,m) =
audioscrobbler.submit(user=user,password=password,
source=source,length=length,
host="post.audioscrobbler.com",port=80,
m)
end

radio = 
on_metadata(lastfm.submit(user=“ADD_USER_NAME_HERE",password=“ADD_PASSWORD_HERE"),
 radio)


> On 11 May 2019, at 11:55 pm, cheleentano <notificati...@github.com> wrote:
> 
> There are functions such as lastfm.submit in the standard library 
> <https://github.com/savonet/liquidsoap/blob/master/lib/lastfm.liq>.
> 
> Я не пойму как ей пользоваться. Есть мануал какой нибудь по использованию?
> 
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub 
> <https://github.com/savonet/liquidsoap/issues/772#issuecomment-491513052>, or 
> mute the thread 
> <https://github.com/notifications/unsubscribe-auth/AJW3PSZI4FNG5XKTMFUIXKLPU3F4DANCNFSM4HMH2H3Q>.
> 
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users

_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to