Documentation
¶
Index ¶
- type ContentDirectory
- func (s *ContentDirectory) Browse(objectID string, browseFlag string, filter string, startingIndex int, ...) (browseResponse, error)
- func (s *ContentDirectory) CreateObject(containerID string, elements string) (createObjectResponse, error)
- func (s *ContentDirectory) DestroyObject(objectID string) error
- func (s *ContentDirectory) FindPrefix(objectID string, prefix string) (findPrefixResponse, error)
- func (s *ContentDirectory) GetAlbumArtistDisplayOption() (AlbumArtistDisplayOption string, err error)
- func (s *ContentDirectory) GetAllPrefixLocations(objectID string) (getAllPrefixLocationsResponse, error)
- func (s *ContentDirectory) GetBrowseable() (IsBrowseable bool, err error)
- func (s *ContentDirectory) GetLastIndexChange() (LastIndexChange time.Time, err error)
- func (s *ContentDirectory) GetSearchCapabilities() (SearchCaps string, err error)
- func (s *ContentDirectory) GetShareIndexInProgress() (IsIndexing bool, err error)
- func (s *ContentDirectory) GetSortCapabilities() (SortCaps string, err error)
- func (s *ContentDirectory) GetSystemUpdateID() (Id int, err error)
- func (s *ContentDirectory) RefreshShareIndex(albumArtistDisplayOption string) error
- func (s *ContentDirectory) RequestResort(sortOrder string) error
- func (s *ContentDirectory) SetBrowseable(state bool) error
- func (s *ContentDirectory) UpdateObject(objectID string, currentTagValue string, newTagValue string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentDirectory ¶
func (*ContentDirectory) Browse ¶
func (s *ContentDirectory) Browse(objectID string, browseFlag string, filter string, startingIndex int, requestedCount int, sortCriteria string) (browseResponse, error)
Prefer methods `zp.BrowseMusicLibrary`, `zp.BrowsePlaylist`, `zp.BrowseQue`.
`objectID` may be one of `Gonos.ContentTypes.*` or a custom id
func (*ContentDirectory) CreateObject ¶
func (s *ContentDirectory) CreateObject(containerID string, elements string) (createObjectResponse, error)
func (*ContentDirectory) DestroyObject ¶
func (s *ContentDirectory) DestroyObject(objectID string) error
`objectID` may be one of `Gonos.ContentTypes.*` or a custom id
func (*ContentDirectory) FindPrefix ¶
func (s *ContentDirectory) FindPrefix(objectID string, prefix string) (findPrefixResponse, error)
`objectID` may be one of `Gonos.ContentTypes.*` or a custom id
func (*ContentDirectory) GetAlbumArtistDisplayOption ¶
func (s *ContentDirectory) GetAlbumArtistDisplayOption() (AlbumArtistDisplayOption string, err error)
Returns one of `WMP`, `ITUNES` or `NONE`
func (*ContentDirectory) GetAllPrefixLocations ¶
func (s *ContentDirectory) GetAllPrefixLocations(objectID string) (getAllPrefixLocationsResponse, error)
`objectID` may be one of `Gonos.ContentTypes.*` or a custom id
func (*ContentDirectory) GetBrowseable ¶
func (s *ContentDirectory) GetBrowseable() (IsBrowseable bool, err error)
func (*ContentDirectory) GetLastIndexChange ¶
func (s *ContentDirectory) GetLastIndexChange() (LastIndexChange time.Time, err error)
func (*ContentDirectory) GetSearchCapabilities ¶
func (s *ContentDirectory) GetSearchCapabilities() (SearchCaps string, err error)
func (*ContentDirectory) GetShareIndexInProgress ¶
func (s *ContentDirectory) GetShareIndexInProgress() (IsIndexing bool, err error)
func (*ContentDirectory) GetSortCapabilities ¶
func (s *ContentDirectory) GetSortCapabilities() (SortCaps string, err error)
func (*ContentDirectory) GetSystemUpdateID ¶
func (s *ContentDirectory) GetSystemUpdateID() (Id int, err error)
func (*ContentDirectory) RefreshShareIndex ¶
func (s *ContentDirectory) RefreshShareIndex(albumArtistDisplayOption string) error
`albumArtistDisplayOption` should be one of `Gonos.AlbumArtistDisplayOptionModes.*`.
func (*ContentDirectory) RequestResort ¶
func (s *ContentDirectory) RequestResort(sortOrder string) error
func (*ContentDirectory) SetBrowseable ¶
func (s *ContentDirectory) SetBrowseable(state bool) error
func (*ContentDirectory) UpdateObject ¶
func (s *ContentDirectory) UpdateObject(objectID string, currentTagValue string, newTagValue string) error
`objectID` may be one of `Gonos.ContentTypes.*` or a custom id
Click to show internal directories.
Click to hide internal directories.