C# Class OpenSyno.SynoWP7.SynologyJsonDeserializationHelper

Mostrar archivo Open project: salfab/open-syno

Public Methods

Method 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

Method 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 method

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

ParseSynologyArtists() public static method

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

ParseSynologyTracks() public static method

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