mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-20 15:54:38 +00:00
use ffprobe -show_chapters command
This commit is contained in:
parent
0cfc20ac08
commit
ae248b045a
4 changed files with 49 additions and 90 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using MediaBrowser.Model.Entities;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Controller.MediaEncoding
|
||||
{
|
||||
|
|
@ -24,7 +23,18 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
/// Gets or sets the chapters.
|
||||
/// </summary>
|
||||
/// <value>The chapters.</value>
|
||||
public List<ChapterInfo> Chapters { get; set; }
|
||||
public MediaChapter[] Chapters { get; set; }
|
||||
}
|
||||
|
||||
public class MediaChapter
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string time_base { get; set; }
|
||||
public long start { get; set; }
|
||||
public string start_time { get; set; }
|
||||
public long end { get; set; }
|
||||
public string end_time { get; set; }
|
||||
public Dictionary<string, string> tags { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue