basic podcast album override option in preferences

This commit is contained in:
Robb Ebright 2017-03-16 16:48:31 -04:00
parent c7187f997f
commit fefc53c000
6 changed files with 49 additions and 3 deletions

View file

@ -358,13 +358,27 @@ class Application_Model_Preference
{
self::setValue("third_party_api", $bool);
}
public static function GetAllow3rdPartyApi()
{
$val = self::getValue("third_party_api");
return (strlen($val) == 0 ) ? "1" : $val;
}
public static function SetPodcastAlbumOverride($bool)
{
self::setValue("podcast_album_override", $bool);
}
public static function GetPodcastAlbumOverride()
{
$val = self::getValue("podcast_album_override");
return (strlen($val) == 0 ) ? "1" : $val;
}
public static function SetPhone($phone)
{
self::setValue("phone", $phone);