SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Batch Metadata Tools
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-11-2011, 06:09 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
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.
Reply With Quote
  #2  
Old 05-11-2011, 02:50 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
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>
Reply With Quote
  #3  
Old 05-17-2011, 04:52 PM
Julianus Julianus is offline
Sage Advanced User
 
Join Date: Dec 2005
Location: Toronto
Posts: 82
Can you repeat where to add the file? (userdata/?)
Reply With Quote
  #4  
Old 05-17-2011, 05:10 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
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.
Reply With Quote
  #5  
Old 05-17-2011, 05:31 PM
Julianus Julianus is offline
Sage Advanced User
 
Join Date: Dec 2005
Location: Toronto
Posts: 82
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?
Reply With Quote
  #6  
Old 05-17-2011, 06:25 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
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>
This version works well. It is only Movies. No TV and no home videos.
Reply With Quote
  #7  
Old 06-03-2011, 11:22 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.