C# Class OpenSyno.SynoWP7.SynologyJsonDeserializationHelper

Afficher le fichier Open project: salfab/open-syno

Méthodes publiques

Méthode Description
ParseSynologyAlbums ( string content, IEnumerable &albums, long &total, string urlBase ) : void
ParseSynologyArtists ( string result, IEnumerable &artists, long &total, string urlBase ) : void
ParseSynologyTracks ( string content, IEnumerable &tracks, long &total, string urlBase ) : void

Private Methods

Méthode Description
BuildAbsoluteAlbumArtUrl ( string urlBase, string relativeAlbumArtUrl ) : string
WorkaroundAlbumArtBug ( SynoItem albums ) : IEnumerable

Workarounds the album art bug.

There a bug in Audio Station 3.0 where the AlbumArtUrl field does not point to an album art, but rather to an artist art. fixing the url on the client will work just fine untill they fix it.

Method Details

ParseSynologyAlbums() public static méthode

public static ParseSynologyAlbums ( string content, IEnumerable &albums, long &total, string urlBase ) : void
content string
albums IEnumerable
total long
urlBase string
Résultat void

ParseSynologyArtists() public static méthode

public static ParseSynologyArtists ( string result, IEnumerable &artists, long &total, string urlBase ) : void
result string
artists IEnumerable
total long
urlBase string
Résultat void

ParseSynologyTracks() public static méthode

public static ParseSynologyTracks ( string content, IEnumerable &tracks, long &total, string urlBase ) : void
content string
tracks IEnumerable
total long
urlBase string
Résultat void