support in-app connect signup

pull/702/head
Luke Pulverenti 9 years ago
parent 7905080e3e
commit 3205913b2a

@ -804,5 +804,9 @@
"ButtonManageServer": "Manage Server",
"ButtonPreferences": "Preferences",
"ButtonViewArtist": "View artist",
"ButtonViewAlbum": "View album"
"ButtonViewAlbum": "View album",
"ErrorMessagePasswordNotMatchConfirm": "The password and password confirmation must match.",
"ErrorMessageUsernameInUse": "The username is already in use. Please choose a new name and try again.",
"ErrorMessageEmailInUse": "The email address is already in use. Please enter a new email address and try again, or use the forgot password feature.",
"MessageThankYouForConnectSignUp": "Thank you for signing up for Emby Connect. An email will be sent to your address with instructions on how to confirm your new account. Please confirm the account and then return here to sign in."
}

@ -1455,5 +1455,9 @@
"ButtonUnlockGuide": "Unlock Guide",
"LabelEnableFullScreen": "Enable fullscreen mode",
"LabelEnableChromecastAc3Passthrough": "Enable Chromecast AC3 Passthrough",
"LabelSyncPath": "Synced content path:"
"LabelSyncPath": "Synced content path:",
"LabelEmail": "Email:",
"LabelUsername": "Username:",
"HeaderSignUp": "Sign Up",
"LabelPasswordConfirm": "Password (confirm):"
}

@ -698,6 +698,10 @@ namespace MediaBrowser.Server.Implementations.Sync
syncedItem.OriginalFileName = Path.ChangeExtension(syncedItem.OriginalFileName, Path.GetExtension(mediaSource.Path));
syncedItem.Item.MediaSources.Add(mediaSource);
}
if (string.IsNullOrWhiteSpace(syncedItem.OriginalFileName))
{
syncedItem.OriginalFileName = libraryItem.Name;
}
return syncedItem;
}

Loading…
Cancel
Save