declaration_list
{ "{"
field_declaration
modifier
private "private"
modifier
const "const"
variable_declaration
predefined_type "string"
variable_declarator
identifier "DbFilename"
= "="
string_literal
" "\""
string_literal_content "library.db"
" "\""
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IStartupLogger"
variable_declarator
identifier "_logger"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IServerApplicationPaths"
variable_declarator
identifier "_paths"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IJellyfinDatabaseProvider"
variable_declarator
identifier "_jellyfinDatabaseProvider"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
generic_name
identifier "IDbContextFactory"
type_argument_list
< "<"
identifier "JellyfinDbContext"
> ">"
variable_declarator
identifier "_provider"
; ";"
comment "/// <summary>"
comment "/// Initializes a new instance of the <see cref=\"MigrateLibr"...
comment "/// </summary>"
comment "/// <param name=\"startupLogger\">The startup logger for Start"...
comment "/// <param name=\"provider\">The database provider.</param>"
comment "/// <param name=\"paths\">The server application paths.</param"...
comment "/// <param name=\"jellyfinDatabaseProvider\">The database prov"...
constructor_declaration (+59 nodes collapsed)
comment "/// <inheritdoc/>"
method_declaration
modifier
public "public"
predefined_type "void"
identifier "Perform"
parameter_list
( "("
) ")"
block
{ "{"
expression_statement
invocation_expression
member_access_expression
identifier "_logger"
. "."
identifier "LogInformation"
argument_list
( "("
argument
string_literal
" "\""
string_literal_content "Migrating the userdata from library.db may take a while, do "...
" "\""
) ")"
; ";"
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dataPath"
= "="
member_access_expression
identifier "_paths"
. "."
identifier "DataPath"
; ";"
local_declaration_statement (+21 nodes collapsed)
if_statement (+40 nodes collapsed)
local_declaration_statement (+26 nodes collapsed)
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "fullOperationTimer"
= "="
object_creation_expression
new "new"
identifier "Stopwatch"
argument_list
( "("
) ")"
; ";"
expression_statement
invocation_expression
member_access_expression
identifier "fullOperationTimer"
. "."
identifier "Start"
argument_list
( "("
) ")"
; ";"
using_statement (+167 nodes collapsed)
comment "// notify the other migration to just silently abort because"...
expression_statement
assignment_expression
member_access_expression
identifier "ReseedFolderFlag"
. "."
identifier "RerunGuardFlag"
= "="
boolean_literal
true "true"
; ";"
local_declaration_statement (+21 nodes collapsed)
expression_statement
invocation_expression
member_access_expression
identifier "connection"
. "."
identifier "Open"
argument_list
( "("
) ")"
; ";"
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "baseItemIds"
= "="
object_creation_expression
new "new"
generic_name
identifier "HashSet"
type_argument_list
< "<"
identifier "Guid"
> ">"
argument_list
( "("
) ")"
; ";"
using_statement (+551 nodes collapsed)
using_statement (+449 nodes collapsed)
using_statement (+430 nodes collapsed)
using_statement (+187 nodes collapsed)
using_statement (+187 nodes collapsed)
using_statement (+595 nodes collapsed)
using_statement (+187 nodes collapsed)
using_statement (+204 nodes collapsed)
expression_statement
invocation_expression
member_access_expression
identifier "connection"
. "."
identifier "Close"
argument_list
( "("
) ")"
; ";"
expression_statement
invocation_expression
member_access_expression
identifier "_logger"
. "."
identifier "LogInformation"
argument_list
( "("
argument
string_literal
" "\""
string_literal_content "Migration of the Library.db done."
" "\""
) ")"
; ";"
expression_statement (+21 nodes collapsed)
expression_statement
invocation_expression
member_access_expression
identifier "SqliteConnection"
. "."
identifier "ClearAllPools"
argument_list
( "("
) ")"
; ";"
expression_statement (+27 nodes collapsed)
expression_statement (+25 nodes collapsed)
} "}"
method_declaration (+75 nodes collapsed)
method_declaration (+398 nodes collapsed)
method_declaration (+67 nodes collapsed)
comment "/// <summary>"
comment "/// Gets the chapter."
comment "/// </summary>"
comment "/// <param name=\"reader\">The reader.</param>"
comment "/// <returns>ChapterInfo.</returns>"
method_declaration (+180 nodes collapsed)
method_declaration (+81 nodes collapsed)
method_declaration (+91 nodes collapsed)
comment "/// <summary>"
comment "/// Gets the media stream."
comment "/// </summary>"
comment "/// <param name=\"reader\">The reader.</param>"
comment "/// <returns>MediaStream.</returns>"
method_declaration (+1435 nodes collapsed)
comment "/// <summary>"
comment "/// Gets the attachment."
comment "/// </summary>"
comment "/// <param name=\"reader\">The reader.</param>"
comment "/// <returns>MediaAttachment.</returns>"
method_declaration (+232 nodes collapsed)
method_declaration (+3162 nodes collapsed)
method_declaration (+133 nodes collapsed)
method_declaration (+239 nodes collapsed)
method_declaration (+827 nodes collapsed)
class_declaration (+187 nodes collapsed)
class_declaration (+106 nodes collapsed)
} "}"