mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update translations
This commit is contained in:
parent
ab9acdc771
commit
b92c31ce82
@ -820,6 +820,17 @@ namespace Emby.Server.Implementations.Session
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (info.Item != null)
|
||||||
|
{
|
||||||
|
var msString = info.PositionTicks.HasValue ? (info.PositionTicks.Value / 10000).ToString(CultureInfo.InvariantCulture) : "unknown";
|
||||||
|
|
||||||
|
_logger.Info("Playback stopped reported by app {0} {1} playing {2}. Stopped at {3} ms",
|
||||||
|
session.Client,
|
||||||
|
session.ApplicationVersion,
|
||||||
|
info.Item.Name,
|
||||||
|
msString);
|
||||||
|
}
|
||||||
|
|
||||||
RemoveNowPlayingItem(session);
|
RemoveNowPlayingItem(session);
|
||||||
|
|
||||||
var users = GetUsers(session);
|
var users = GetUsers(session);
|
||||||
@ -874,7 +885,7 @@ namespace Emby.Server.Implementations.Session
|
|||||||
{
|
{
|
||||||
playedToCompletion = _userDataManager.UpdatePlayState(item, data, positionTicks.Value);
|
playedToCompletion = _userDataManager.UpdatePlayState(item, data, positionTicks.Value);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// If the client isn't able to report this, then we'll just have to make an assumption
|
// If the client isn't able to report this, then we'll just have to make an assumption
|
||||||
data.PlayCount++;
|
data.PlayCount++;
|
||||||
@ -973,7 +984,7 @@ namespace Emby.Server.Implementations.Session
|
|||||||
var subItems = await TranslateItemForPlayback(itemId, user).ConfigureAwait(false);
|
var subItems = await TranslateItemForPlayback(itemId, user).ConfigureAwait(false);
|
||||||
list.AddRange(subItems);
|
list.AddRange(subItems);
|
||||||
}
|
}
|
||||||
|
|
||||||
items = list
|
items = list
|
||||||
.Where(i => i.LocationType != LocationType.Virtual)
|
.Where(i => i.LocationType != LocationType.Virtual)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user