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

server.request() truncates results at left #1

Open
jinglemansweep opened this issue Mar 17, 2012 · 0 comments
Open

server.request() truncates results at left #1

jinglemansweep opened this issue Mar 17, 2012 · 0 comments

Comments

@jinglemansweep
Copy link
Owner

What steps will reproduce the problem?
1.s = server.Server()
2.s.connect()
3a.s.request('trackstat getrating 94')
or 3b. s.request('songinfo 0 100 track_id:94')

What is the expected output? What do you see instead?
for 3a above 'rating 3 ratingpercentage 60'
instead get '60', or 'ercentage 60', or ''
for 3b expect to get a long string of tag:value pairs starting with track_id:94
instead get 'd:94'... or just '4'... followed by the rest of the string
The amount of truncation is small (<20 bytes) but variable in my experience.

What version of the product are you using? On what operating system?
latest pysqueezecenter (0.92) on Ubuntu 10.10, with squeezebox server 7.5.3

Please provide any additional information below.
(trackstat command above is using trackstat plugin)
I am really pleased to have discovered pysqueezecenter ... thanks for a great package

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant