|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Solved: How to exclude s specific import directory from a view ?
I tried to play a little bit with the vfs views and took the "sage Imports (Combined)" as a basis. The xml-Code is:
Code:
<view name="sagevideoimportsv7" label="Videos" flat="false"> <option name="children-only" value="true"/> <description>View of All Sage Video Sources</description> <tag value="video"/> <source name="sagefilesystem"> <option name="content" value="VideosByFolder"/> </source> <presentation> <sort by="title"> <option name="folders-first" value="true"/> </sort> </presentation> </view> Thanks for your help.
__________________
Server: AMD Phenomen IIX4 965 Black Edition, 4 GB, 2x Hauppauge HVR-3000, 2x PCTV DiB BDA - native, Terratec S7, Cine S2 (Dual DVBS2), WinTV-Nova usb via DVBLogic, xmltv, 20TB disk arrays Clients: 3 x MediaMVP, 2 x HD-300, 4 x SageTV Client Last edited by hoep; 05-18-2011 at 07:15 AM. |
#2
|
|||
|
|||
issue solved: for everybody who is interested:
Code:
<!DOCTYPE vfs SYSTEM "vfs.dtd"> <vfs> <views> <view name="elternvideos" label="01 - Eltern-Videos" flat="false"> <option name="children-only" value="true"/> <description>View of All Sage Video Sources</description> <tag value="video"/> <view-source name="videos"/> <view-source name="dvd"/> <view-source name="bluray"/> <filter by="filepath" scope="exclude" value="Dokumentationen|Familie|Kinder-BD|Kinder-DVD|Kinder-HD|Kinder-SD|Kinder-Serien|Musik-DVD" /> <presentation level="1"> <sort by="title"/> </presentation> </view> </views> </vfs>
__________________
Server: AMD Phenomen IIX4 965 Black Edition, 4 GB, 2x Hauppauge HVR-3000, 2x PCTV DiB BDA - native, Terratec S7, Cine S2 (Dual DVBS2), WinTV-Nova usb via DVBLogic, xmltv, 20TB disk arrays Clients: 3 x MediaMVP, 2 x HD-300, 4 x SageTV Client |
#3
|
||||
|
||||
Unfortunately, you cannot use a filter when using the Sage Import source. If you did apply a filter at the root level, then it would basically flatten the structure, then apply the filter, and as a result, you'd lose the folder structure.
You could try to add a filter to the <presentation> like, <filter by="title" value="Dokumentationen" scope="exclude"/> so it might look like this.. Code:
<view name="sagevideoimportsv7" label="Videos" flat="false"> <option name="children-only" value="true"/> <description>View of All Sage Video Sources</description> <tag value="video"/> <source name="sagefilesystem"> <option name="content" value="VideosByFolder"/> </source> <presentation> <filter by="title" value="Dokumentationen" scope="exclude"/> <sort by="title"> <option name="folders-first" value="true"/> </sort> </presentation> </view>
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
|||
|
|||
thanks for our help .. i understand. loose of folder structure was by design .. therfore i did not notice the difference
__________________
Server: AMD Phenomen IIX4 965 Black Edition, 4 GB, 2x Hauppauge HVR-3000, 2x PCTV DiB BDA - native, Terratec S7, Cine S2 (Dual DVBS2), WinTV-Nova usb via DVBLogic, xmltv, 20TB disk arrays Clients: 3 x MediaMVP, 2 x HD-300, 4 x SageTV Client |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Record Directory Nested in Import Directory | jsonnabend | SageTV Software | 2 | 08-04-2008 06:59 AM |
Adding a UNC Import directory fails with "Invalid Directory" | Fastrack | SageTV Software | 2 | 03-09-2008 01:11 PM |
New Feature: Define Archive to specific directory | jominor | SageTV Software | 10 | 02-21-2007 07:10 PM |
Video directory showing up in Import Video Directory | dvd_maniac | SageTV Software | 5 | 12-19-2004 09:38 AM |
Is it possible to move a file to a specific directory | ldavis | SageTV Software | 0 | 09-20-2003 08:45 AM |