|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Recently Added View?
I think a view for the recently added content would be a nice addition as a default view for BMT's webgui.
|
#2
|
||||
|
||||
Well, I decided to create one for my use. Here’s the code if anyone is interested in a BMT view of recently added movies sans home videos:
Code:
<!DOCTYPE vfs SYSTEM "vfs.dtd"> <vfs> <views> <view name="wr_recently_added" label="WR Recently Added Movies"> <description>wr Recently Added Movies</description> <tag value="video" /> <view-source name="recentmovies"/> <filter by="homevideos"> <option name="scope" value="exclude"/> </filter> </view> </views> </vfs> |
#3
|
|||
|
|||
Can you repeat where to add the file? (userdata/?)
|
#4
|
||||
|
||||
Userdata>Phoenix>VFS
Then create a new document and paste the code into it. Name it anything as long as it ends with .xml. However, there's a problem with the above code... It worked at first and now it doesn't. It needs to be fixed. I not too good at it so if you or anyone can accomplish getting the recently added that would make me happy at least. |
#5
|
|||
|
|||
Thanks, I found the place the put it.
However it does not work, because it is missing the definition of the source: recentmovies. Maybe this is in the vfs.xml? Is it an expression? |
#6
|
||||
|
||||
Ok, I got back to working through this one. Here is the code:
Code:
<!DOCTYPE vfs SYSTEM "vfs.dtd"> <vfs> <views> <view name="wr_recently_added" label="WR Recently Added Movies"> <description>Recently Added Movies</description> <view-source name="videos" > <filter by="homevideos"> <option name="scope" value="exclude"/> </filter> </view-source> <presentation> <sort by="recentactivity"> <option name="sort-order" value="desc"/> </sort> </presentation> </view> </views> </vfs> |
#7
|
||||
|
||||
Recently Added Content
My above view I realized wasn't populating BD's and it was only for movies. I like the view I just created a bit better. It groups all the import paths one has and then sorts each folder by most recent additions. So you can drill into more than just your movies folders to see new content.
Code:
<!DOCTYPE vfs SYSTEM "vfs.dtd"> <vfs> <views> <view name="wr_recently_added_imports" label="WR Recently Added Imports" flat="false"> <option name="children-only" value="true"/> <description>Show recently added content in each of the combined import paths</description> <tag value="video"/> <view-source name="sagevideoimportsv7"/> <presentation> <sort by="recentactivity"> <option name="sort-order" value="desc"/> </sort> </presentation> </view> </views> </vfs> Last edited by wrems; 06-03-2011 at 12:04 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Recently Watched for the Default STV | tmiranda | SageTV Customizations | 45 | 01-21-2016 11:20 AM |
tmiranda Recently Watched SageV7 | nyplayer | SageTV v7 Customizations | 9 | 07-02-2010 04:25 PM |
STV Import: Recently Watched for the Default STV | tmiranda | Customization Announcements | 1 | 07-01-2010 05:12 PM |
Date Added View Bug | Taddeusz | SageMC Custom Interface | 3 | 11-11-2009 10:13 AM |
Tivo - Recently Deleted Feature? | mike1961 | SageTV Software | 26 | 03-26-2009 08:35 PM |