basic podcast album override option in preferences
This commit is contained in:
parent
c7187f997f
commit
fefc53c000
6 changed files with 49 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue