From 122d25b83be454a779c27eb5e3a99aa817b2fb10 Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Mon, 8 Mar 2021 00:32:22 +0100 Subject: [PATCH] Fixed #272 --- CHANGELOG.md | 1 + docs/modules/ExportTools/Fields.md | 202 +++++++++--------- src/components/modules/ExportTools/Export.vue | 2 +- .../modules/ExportTools/defs/def-Levels.json | 4 +- .../modules/ExportTools/defs/def-Show.json | 38 +++- 5 files changed, 142 insertions(+), 105 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2394192..4051d19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * [#269 Levelcount broken for Custom levels](https://github.com/WebTools-NG/WebTools-NG/issues/269) * [#107 Allow export of Artist](https://github.com/WebTools-NG/WebTools-NG/issues/107) * [#271 Export Filename missing type](https://github.com/WebTools-NG/WebTools-NG/issues/271) +* [#272 Allow export of TV Shows](https://github.com/WebTools-NG/WebTools-NG/issues/272) ## V0.1.16 diff --git a/docs/modules/ExportTools/Fields.md b/docs/modules/ExportTools/Fields.md index 2419dd9..613def8 100644 --- a/docs/modules/ExportTools/Fields.md +++ b/docs/modules/ExportTools/Fields.md @@ -9,37 +9,37 @@ If a field is marked as `X` it means you can export it for the type of export | Fields | Movie | TV Episode | TV Show | Audio Artist| | :--- | :---: | :---: | :-------------: | :-------------: | Accessible|X|X|?|?| -Added|X|X|?|X| -Art url|X|?|?|? -Audience Rating|X|?|?|?|? -Audio Stream Audio Channel Layout|X|X|?|N/A -Audio Stream Bit Depth|X|X|?|N/A -Audio Stream Bitrate Mode|X|X|?|N/A -Audio Stream Bitrate|X|X|?|N/A -Audio Stream Channels|X|X|?|N/A -Audio Stream Codec ID|X|X|?|N/A -Audio Stream Codec|X|X|?|N/A -Audio Stream Default|X|X|?|N/A -Audio Stream Display Title|?|X|?|N/A -Audio Stream Duration|X|X|?|N/A -Audio Stream Extended Display Title|?|X|?|N/A -Audio Stream Index|X|X|?|N/A -Audio Stream Language Code|X|X|?|N/A -Audio Stream Language|X|X|?|N/A -Audio Stream Profile|X|X|?|N/A -Audio Stream Required Bandwidths|X|X|?|N/A -Audio Stream Sampling Rate|X|X|?|N/A -Audio Stream Selected|X|X|?|N/A -Audio Stream Title|X|X|?|N/A +Added|X|X|X|X| +Art url|X|?|X|? +Audience Rating|X|?|?|X|? +Audio Stream Audio Channel Layout|X|X|N/A|N/A +Audio Stream Bit Depth|X|X|N/A|N/A +Audio Stream Bitrate Mode|X|X|N/A|N/A +Audio Stream Bitrate|X|X|N/A|N/A +Audio Stream Channels|X|X|N/A|N/A +Audio Stream Codec ID|X|X|N/A|N/A +Audio Stream Codec|X|X|N/A|N/A +Audio Stream Default|X|X|N/A|N/A +Audio Stream Display Title|?|X|N/A|N/A +Audio Stream Duration|X|X|N/A|N/A +Audio Stream Extended Display Title|?|X|N/A|N/A +Audio Stream Index|X|X|N/A|N/A +Audio Stream Language Code|X|X|N/A|N/A +Audio Stream Language|X|X|N/A|N/A +Audio Stream Profile|X|X|N/A|N/A +Audio Stream Required Bandwidths|X|X|N/A|N/A +Audio Stream Sampling Rate|X|X|N/A|N/A +Audio Stream Selected|X|X|N/A|N/A +Audio Stream Title|X|X|N/A|N/A Chapter Count|X|?|?|? Chapter Source|X|?|?|? Chapter Title|X|?|?|? Collections|X|?|?|? -Content Rating|X|X|?|? +Content Rating|X|X|X|? Country|X|?|?|X Deleted|?|X|?|?| Directors|X|X|?|? -Duration|X|X|?|?|? +Duration|X|X|?|X|? Episode|N/A|X|?|? Exists|X|X|?|?|N/A Extras|X|X|?|? @@ -59,92 +59,92 @@ Intro Stop|N/A|X|?|N/A Labels|X|?|?|? Last Viewed at|X|?|?|X Locked Fields|X|X|?|? -Media Aspect Ratio|X|X|?|? -Media Audio Channels|X|X|?|N/A -Media Audio Codec|X|X|?|N/A -Media Container|X|X|?|N/A -Media ID|X|X|?|X -Media Title|?|X|?|? -Media Video Bitrate|X|X|?|N/A -Media Video Codec|X|X|?|N/A -Media Video Duration|?|X|?|N/A -Media Video FrameRate|X|X|?|N/A -Media Video Height|X|X|?|N/A -Media Video Profile|?|X|?|N/A -Media Video Resolution|X|X|?|N/A -Media Video Width|X|X|?|N/A -MetaData Language|X|X|?|N/A +Media Aspect Ratio|X|X|N/A|? +Media Audio Channels|X|X|N/A|N/A +Media Audio Codec|X|X|N/A|N/A +Media Container|X|X|N/A|N/A +Media ID|X|X|X|X +Media Title|?|X|N/A|? +Media Video Bitrate|X|X|N/A|N/A +Media Video Codec|X|X|N/A|N/A +Media Video Duration|?|X|N/A|N/A +Media Video FrameRate|X|X|N/A|N/A +Media Video Height|X|X|N/A|N/A +Media Video Profile|?|X|N/A|N/A +Media Video Resolution|X|X|N/A|N/A +Media Video Width|X|X|N/A|N/A +MetaData Language|X|X|N/A|N/A MetaDB Link|X|?|?|? Original Title|X|N/A|?|? -Part Container|X|X|?|N/A -Part Deep Analysis Version|X|X|?|N/A -Part Duration|X|X|?|N/A -Part File Combined|X|X|?|N/A -Part File Path|X|X|?|N/A -Part File|X|X|?|N/A -Part Indexed|X|X|?|N/A -Part Optimized for Streaming|X|X|?|N/A -Part Required Bandwidths|X|X|?|N/A -Part Size as Bytes|X|X|?|N/A -Part Size|X|X|?|N/A -Part Video Profile|X|X|?|N/A -Poster url|X|X|?|X +Part Container|X|X|N/A|N/A +Part Deep Analysis Version|X|X|N/A|N/A +Part Duration|X|X|N/A|N/A +Part File Combined|X|X|N/A|N/A +Part File Path|X|X|N/A|N/A +Part File|X|X|N/A|N/A +Part Indexed|X|X|N/A|N/A +Part Optimized for Streaming|X|X|N/A|N/A +Part Required Bandwidths|X|X|N/A|N/A +Part Size as Bytes|X|X|N/A|N/A +Part Size|X|X|N/A|N/A +Part Video Profile|X|X|N/A|N/A +Poster url|X|X|X|X Rating|X|X|?|? -Release Date|X|X|?|? -Roles|X|?|?|? +Release Date|X|X|X|? +Roles|X|?|X|? Season|N/A|X|?|N/A Series Title|N/A|X|?|? Sort title|X|X|?|? -Studio|X|N/A|?|? -Subtitle Stream Codec ID|X|X|?|N/A -Subtitle Stream Codec|X|X|?|N/A -Subtitle Stream Forced|X|X|?|N/A -Subtitle Stream Format|X|X|?|N/A -Subtitle Stream Header Compression|X|X|?|N/A -Subtitle Stream Index|X|X|?|N/A -Subtitle Stream Language Code|X|X|?|N/A -Subtitle Stream Language|X|X|?|N/A -Subtitle Stream Required Bandwidths|X|X|?|N/A -Subtitle Stream Selected|X|X|?|N/A -Subtitle Stream Title|X|X|?|N/A -Summary|X|X|?|X| -Tagline|X|?|?|? -Title|X|X|?|X +Studio|X|N/A|X|? +Subtitle Stream Codec ID|X|X|N/A|N/A +Subtitle Stream Codec|X|X|N/A|N/A +Subtitle Stream Forced|X|X|N/A|N/A +Subtitle Stream Format|X|X|N/A|N/A +Subtitle Stream Header Compression|X|X|N/A|N/A +Subtitle Stream Index|X|X|N/A|N/A +Subtitle Stream Language Code|X|X|N/A|N/A +Subtitle Stream Language|X|X|N/A|N/A +Subtitle Stream Required Bandwidths|X|X|N/A|N/A +Subtitle Stream Selected|X|X|N/A|N/A +Subtitle Stream Title|X|X|N/A|N/A +Summary|X|X|X|X| +Tagline|X|?|X|? +Title|X|X|X|X TMDB ID|?|X|?|N/A TMDB Link|X|N/A|?|N/A TVDB ID|?|X|?|N/A -Updated|X|X|?|X +Updated|X|X|X|X User Rating|X|X|?|N/A -Video Stream Anamorphic|X|?|?|N/A -Video Stream Bit Depth|X|X|?|N/A -Video Stream Bitrate|X|X|?|N/A -Video Stream Cabac|X|X|?|N/A -Video Stream Chroma Sub Sampling|X|X|?|N/A -Video Stream Codec ID|X|X|?|N/A -Video Stream Codec|X|X|?|N/A -Video Stream Color Primaries|X|X|?|N/A -Video Stream Color Range|X|X|?|N/A -Video Stream Color Space|X|X|?|N/A -Video Stream Color Trc|X|X|?|N/A -Video Stream Default|X|X|?|N/A -Video Stream Duration|X|X|?|N/A -Video Stream Frame Rate Mode|X|X|?|N/A -Video Stream Frame Rate|X|X|?|N/A -Video Stream Has Scaling Matrix|X|X|?|N/A -Video Stream Height|X|X|?|N/A -Video Stream Index|X|X|?|N/A -Video Stream Language Code|X|X|?|N/A -Video Stream Language|X|X|?|N/A -Video Stream Level|X|X|?|N/A -Video Stream Pixel Aspect Ratio|X|?|?|N/A -Video Stream Pixel Format|X|X|?|N/A -Video Stream Profile|X|X|?|N/A -Video Stream Ref Frames|X|X|?|N/A -Video Stream Required Bandwidths|X|X|?|N/A -Video Stream Scan Type|X|X|?|N/A -Video Stream Stream Identifier|X|?|?|N/A -Video Stream Title|X|X|?|N/A -Video Stream Width|X|X|?|N/A +Video Stream Anamorphic|X|?|N/A|N/A +Video Stream Bit Depth|X|X|N/A|N/A +Video Stream Bitrate|X|X|N/A|N/A +Video Stream Cabac|X|X|N/A|N/A +Video Stream Chroma Sub Sampling|X|X|N/A|N/A +Video Stream Codec ID|X|X|N/A|N/A +Video Stream Codec|X|X|N/A|N/A +Video Stream Color Primaries|X|X|N/A|N/A +Video Stream Color Range|X|X|N/A|N/A +Video Stream Color Space|X|X|N/A|N/A +Video Stream Color Trc|X|X|N/A|N/A +Video Stream Default|X|X|N/A|N/A +Video Stream Duration|X|X|N/A|N/A +Video Stream Frame Rate Mode|X|X|N/A|N/A +Video Stream Frame Rate|X|X|N/A|N/A +Video Stream Has Scaling Matrix|X|X|N/A|N/A +Video Stream Height|X|X|N/A|N/A +Video Stream Index|X|X|N/A|N/A +Video Stream Language Code|X|X|N/A|N/A +Video Stream Language|X|X|N/A|N/A +Video Stream Level|X|X|N/A|N/A +Video Stream Pixel Aspect Ratio|X|?|N/A|N/A +Video Stream Pixel Format|X|X|N/A|N/A +Video Stream Profile|X|X|N/A|N/A +Video Stream Ref Frames|X|X|N/A|N/A +Video Stream Required Bandwidths|X|X|N/A|N/A +Video Stream Scan Type|X|X|N/A|N/A +Video Stream Stream Identifier|X|?|N/A|N/A +Video Stream Title|X|X|N/A|N/A +Video Stream Width|X|X|N/A|N/A View Count|X|X|?|? Writers|X|X|?|? -Year|X|X|?|?|? +Year|X|X|?|X|? diff --git a/src/components/modules/ExportTools/Export.vue b/src/components/modules/ExportTools/Export.vue index d35c94b..542585a 100644 --- a/src/components/modules/ExportTools/Export.vue +++ b/src/components/modules/ExportTools/Export.vue @@ -103,7 +103,7 @@ selLevel: "", optionsMediaType: [ { text: i18n.t('Modules.ET.RadioMovies'), value: 'movie', disabled: false }, - { text: i18n.t('Modules.ET.RadioTVSeries'), value: 'show', disabled: true }, + { text: i18n.t('Modules.ET.RadioTVSeries'), value: 'show', disabled: false }, { text: i18n.t('Modules.ET.RadioTVEpisodes'), value: 'episode', disabled: false }, { text: i18n.t('Modules.ET.RadioAudioArtist'), value: 'artist', disabled: false }, { text: i18n.t('Modules.ET.RadioAudioAlbum'), value: 'album', disabled: true }, diff --git a/src/components/modules/ExportTools/defs/def-Levels.json b/src/components/modules/ExportTools/defs/def-Levels.json index 76d5c5d..56ba2af 100644 --- a/src/components/modules/ExportTools/defs/def-Levels.json +++ b/src/components/modules/ExportTools/defs/def-Levels.json @@ -30,12 +30,12 @@ "levels": { "Level 1": "level1", "Level 2": "level2", - "devTommy": "devTommy" + "All": "all" }, "LevelCount": { "Level 1": 1, "Level 2": 1, - "devTommy": 1 + "All": 2 } }, "artist": { diff --git a/src/components/modules/ExportTools/defs/def-Show.json b/src/components/modules/ExportTools/defs/def-Show.json index 9e26dfe..dfc73a9 100644 --- a/src/components/modules/ExportTools/defs/def-Show.json +++ b/src/components/modules/ExportTools/defs/def-Show.json @@ -1 +1,37 @@ -{} \ No newline at end of file +{ + "show": { + "level": { + "level1": [ + "Media ID", + "Title", + "Summary" + ], + "level2": [ + "Media ID", + "Title", + "Summary", + "Audience Rating", + "Content Rating", + "Studio" + ], + "all": [ + "Added", + "Art url", + "Audience Rating", + "Content Rating", + "Duration", + "Genre", + "Media ID", + "Poster url", + "Release Date", + "Roles", + "Studio", + "Summary", + "Tagline", + "Title", + "Updated", + "Year" + ] + } + } +} \ No newline at end of file