Skip to content

sonos_playlists fails with AttributeError: 'SoCo' object has no attribute 'music_library' #72

@bru73f0rc3

Description

@bru73f0rc3

Hi,
Tried fetching the sonos_playlists from one of my speakers and i'm getting the below error.
Any ideas where to look for the issue?

socos list
(1) 192.168.1.45 Master Bedroom
(2) 192.168.1.48 Master Bathroom
(3) 192.168.1.57 Living Room
(4) 192.168.1.67 Playroom
(5) 192.168.1.68 Second Bathroom

socos sonos_playlists 192.168.1.67
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/Python/bin/socos", line 11, in
sys.exit(main())
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/socos/runner.py", line 21, in main
socos.process_cmd(args)
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/socos/core.py", line 171, in process_cmd
for line in result:
File "/share/CACHEDEV1_DATA/.qpkg/Python/lib/python2.7/site-packages/socos/music_lib.py", line 85, in _search_and_play
items = sonos.music_library.get_music_library_information(
AttributeError: 'SoCo' object has no attribute 'music_library'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions