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 02-10-2011, 08:07 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
VFS - add one for Movies

How can I go about adding a VFS entry that will show only Movies (similar to the Movies grouping that Diamond uses)?

BMT has one that shows my TV entries and another that shows ALL videos but that includes TV and Movies... just looking for one that would show Movies only?

Thanks
k
Reply With Quote
  #2  
Old 02-11-2011, 05:37 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
For refernce to this question diamond does it 2 ways.

By mediatype=movie or by mediatype!=tv

I don't know how make make a view in bmt never done it but hopefully above will help Simone help you
Reply With Quote
  #3  
Old 02-11-2011, 07:22 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
This is off the top of my head (I'm at work), so it may not work... but here's the general configuaration...

Drop this file in the userdata/Phoenix/vfs/ directory (name doesn't matter)

Code:
<!DOCTYPE vfs SYSTEM "vfs.dtd">
<vfs>
	<views>
                <view name="jusjoken_movies" label="My Movies">
                        <tag value="video" />

			<!-- Grab all video files -->
                        <source name="mediafiles">
                                <option name="mediamask" value="VL"/>
                        </source>

			<!-- pull in recorded movies for this view as well -->
			<view-source name="recordedmovies"/>

			<!-- globally filter out TV files -->
			<filter by="mediatype" scope="exclude" value="TV">

			<!-- present then sorted by title -->
			<presentation level="1">
                                <sort by="title"/>
                        </presentation>
                </view>
	</views>
</vfs>
You'll need to refresh the vfs (Configuration -> Refresh Configurations)

Check the phoenix.log to see if you have an errors... you should see statement that your view is being loaded.

We will hopefully have some better documentation on the phoenix views (ie vfs) sometime soon.
Reply With Quote
  #4  
Old 02-11-2011, 07:43 AM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
Interesting. Never thought about custom VFS views in BMT. What about all Movies that are missing metadata?

I have a lot of TV shows that cannot be scraped and are clogging my missing metadata view.
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #5  
Old 02-11-2011, 08:16 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by vividweb View Post
Interesting. Never thought about custom VFS views in BMT. What about all Movies that are missing metadata?

I have a lot of TV shows that cannot be scraped and are clogging my missing metadata view.
The vfs in BMT is the Phoenix vfs... and it's one of the many cool features that phoenix offers.

Here's the current missing metadata view...
Code:
                <view name="missingmetadataview" label="Missing Metadata">
                        <description>Shows videos that are missing Metadata and/or Fanart information</description>
                        <tag value="metadata"/>
                        <view-source name="videos"/>
                        <view-source name="recordings"/>
                        <view-source name="dvd"/>
                        <view-source name="bluray"/>
                        <view-source name="archivedrecordings"/>

                        <filter by="missingmetadata"/>

                        <presentation>
                                <sort by="title"/>
                        </presentation>
                </view>
so, assuming your defined the view that I gave to jusjoken and it worked, you could create a new missing metadata view like...

Code:
                <view name="vividweb_missingmetadataview" label="Missing Metadata for Movies">
                        <description>Movies that are missing metadata</description>
                        <tag value="metadata"/>
                        <view-source name="jusjoken_movies"/>

                        <filter by="missingmetadata"/>

                        <presentation>
                                <sort by="title"/>
                        </presentation>
                </view>
The cool thing about phoenix views is that you can use other views as the source to a new view. So in the example that I just gave... I'm taking the custom movies views and using it as the source for new missing metadata for movies view and then filtering by missing metadata.

Again... We will have documentation on this once we get into a private beta... Stuff like the vfs has been used in bmt for quite a long time... but I haven't had the time to fully document how a user would go about creating their own custom views.
Reply With Quote
  #6  
Old 02-11-2011, 04:37 PM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
Worked good. Wasn't sure what file to put it in so just edited the vfs.XML file. In the movie view had to close the filter tag </filter>.
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #7  
Old 02-11-2011, 06:30 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Worked great! Thanks.

I created a new file in the "userdata/Phoenix/vfs/" folder.

Here is the end result..

Code:
<!DOCTYPE vfs SYSTEM "vfs.dtd">
<vfs>
	<views>
                <view name="my_movies" label="My Movies">
                        <tag value="video" />

			<!-- Grab all video files -->
                        <source name="mediafiles">
                                <option name="mediamask" value="VL"/>
                        </source>

			<!-- pull in recorded movies for this view as well -->
			<view-source name="recordedmovies"/>

			<!-- globally filter out TV files -->
			<filter by="mediatype" scope="exclude" value="TV"/>

			<!-- present then sorted by title -->
			<presentation level="1">
                                <sort by="title"/>
                        </presentation>
                </view>
		<view name="my_movies_missingmetadataview" label="Missing Metadata for Movies">
			<description>Movies that are missing metadata</description>
			<tag value="metadata"/>
			<view-source name="my_movies"/>

			<filter by="missingmetadata"/>

			<presentation>
				<sort by="title"/>
			</presentation>
		</view>
	</views>
</vfs>
Thanks
k
Reply With Quote
  #8  
Old 02-11-2011, 08:10 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by vividweb View Post
Worked good. Wasn't sure what file to put it in so just edited the vfs.XML file. In the movie view had to close the filter tag </filter>.
As per jusjoken's post... it should be in the userdata/Phoenix/vfs/ directory. The main STVs/Phoenix/* files will get overwritten with each new build of phoenix.

Glad both you guys got it workin Just so you know, if you decide to try Phoenix (once it's released) those view will automatically show up in Phoenix as well.
Reply With Quote
  #9  
Old 02-11-2011, 11:42 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Quote:
Originally Posted by stuckless View Post
Just so you know, if you decide to try Phoenix (once it's released) those view will automatically show up in Phoenix as well.
Sneaky, ain't we.
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #10  
Old 02-12-2011, 12:01 PM
OneOfMany OneOfMany is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Winnipeg
Posts: 374
Taunt me one more time....

Grant
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
VFS in Version 4.1.0 toricred Batch Metadata Tools 8 10-02-2010 10:54 AM
My Movies Add-In for WHS kevine General Discussion 24 10-09-2009 11:33 AM
How to add meta-data for home movies? Shield SageTV Software 1 10-01-2007 11:56 AM


All times are GMT -6. The time now is 07:21 PM.


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