Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

How search artist and construct an item object? #14

@fatoldsun00

Description

@fatoldsun00

Hi,

I had two questions

  1. How retriver artist and albums

With http method no problem

requete = {"id":1,"method":"slim.request","params":["-",["artists",0,10000,"tags:lya" ]]} r = requests.post('http://'+LMSIP+':'+str(LMSPORTWEB)+'/jsonrpc.js',data=json.dumps(requete)) result = r.json()['result']['artists_loop']

But with pyLMS i try :

print sc.search('pink floyd', mode='artist')

but i get a 'None' in result

  1. How play a song

I must give an item object but how i construct them ?

sq.playlist_play(??)

Thank you, sorry for my ugly english

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions