mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
update chapters
This commit is contained in:
@@ -154,6 +154,15 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
||||
return connection;
|
||||
}
|
||||
|
||||
public static void Attach(IDbConnection db, string path, string alias)
|
||||
{
|
||||
using (var cmd = db.CreateCommand())
|
||||
{
|
||||
cmd.CommandText = string.Format("attach '{0}' as {1};", path, alias);
|
||||
cmd.ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Serializes to bytes.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user