1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

api fixes, added librefm scrobbler (untested) and fixed minor error in header file with rtl vs ltr languages also removed dead RioPlayer plugin

This commit is contained in:
Karl 'vollmerk' Vollmer 2009-05-18 17:34:22 +00:00
parent 5bd82180f5
commit d84e62dba7
10 changed files with 286 additions and 106 deletions

View file

@ -58,6 +58,7 @@ function update_preferences($pref_id=0) {
$value = Stream::validate_bitrate($value);
break;
/* MD5 the LastFM & MyStrands so it's not plainTXT */
case 'librefm_pass':
case 'lastfm_pass':
/* If it's our default blanking thing then don't use it */
if ($value == '******') { unset($_REQUEST[$name]); break; }
@ -244,6 +245,7 @@ function create_preference_input($name,$value) {
echo "</select>\n";
break;
case 'lastfm_pass':
case 'librefm_pass':
echo "<input type=\"password\" size=\"16\" name=\"$name\" value=\"******\" />";
break;
case 'playlist_method':