How to access network share by folder

37 views
Skip to first unread message

Sonosy

unread,
Mar 23, 2020, 6:36:42 AM3/23/20
to SoCo - Sonos Controller
Is it possible to browse a Sonos library share by folder rather than album, artist etc?

The music_library has many get_ functions for artists, album_artists but not apparently for files_in_folder

get_music_library_information has search_types for 'artists', 'album_artists', 'albums', 'genres', 'composers', 'tracks', 'share', 'sonos_playlists', and 'playlists' but nothing for 'files'

I am hopeful it is possible as the Sonos app does it.

Pointers greatly appreciated

DPH

unread,
Mar 25, 2020, 1:52:38 PM3/25/20
to SoCo - Sonos Controller
Hi,
don't know if this helps, but you can get the music shares by using the 'share' options. 
You then have a physical path which you could read directly for folders or files.
Can't see how to do that otherwise.

Cheers David

Sonosy

unread,
May 9, 2020, 5:44:33 AM5/9/20
to SoCo - Sonos Controller
Hi
Thanks for the pointers
I've found out how to do it but it needs a minor change to the music_library module
How do I get this info fed back to the developers?
BW
Mike

Psychlist

unread,
May 9, 2020, 5:50:22 AM5/9/20
to SoCo - Sonos Controller
Either [1] raise an issue on GitHub with your proposed change, for a developer to pick up, or [2] create a Pull Request yourself, or [3] bring it up on Gitter.

Sonosy

unread,
May 10, 2020, 2:08:19 PM5/10/20
to SoCo - Sonos Controller
Thanks Psychlist
I've posted here
Reply all
Reply to author
Forward
0 new messages