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.

server.request() truncates results at left #1

@jinglemansweep

Description

@jinglemansweep

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

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