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-21-2011, 09:18 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
4.9.10 Released - Major UI Restructuring has begun

So, 4.9.10 is released. I've begun changing some of the UI stuff (under the hood, behind the scenes mostly).

Of interest...
1. I've added a retry handler for the automatic plugin, so that if metadata/fanart fails because of a Connection Exception (ie, timeout) then it will retry for short period before giving up. This can be configured in the Metadata settings. By default I think it's 3 retries at 5 minute intervals. This will hopefully catch those occasions where you get a failed automatic lookup shortly after recording a show.

2. The UI has some changes.
- The Media Browser view list now supports changing the view category list. If you click on the "View" header a list of view categories will show up, and you can change from showing ALL view to just TV views, etc.
- The items in the browser will now show series posters for the folder image.
- The items will show the count of items for folders
- The items for airings (ie, future recordings) will now show airing info such as recording time and channel.

Something else that was added, which may not be of value to most people but it is to me, is that I've added video thumbnail view. This view will take the selected file and generate 12 thumbnail frames from the video file. I added this because sometimes my IR blaster does not record the correct channels, and I wanted a quick way to view the file without having to watch it.

To activate the view, press and hold on the media item and a menu will appear. Select Video Thumbnails from that menu, and it will show the thumbnail view of the video file. BUT, it requires that you have mplayer installed, since that is what I'm using to take the snapshots of the video frames. You need to configure the full path to mplayer in the Tools section of the Phoenix configuration in the web UI. (FYI, There are other options in that menu that are not implemented)
Attached Images
File Type: jpg bmt3.jpg (69.8 KB, 276 views)
Reply With Quote
  #2  
Old 02-22-2011, 10:42 AM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Thanks again for continuing to evolve the platform and add new features all the time.

I upgraded to 4.9.10 and have a couple items I could use your help with:

1. I've noticed this since I've been using BMT over the past couple releases, but for some reason, running a scan in the bmt website does not set the metadata for some videos (e.g. I have an imported video called "Braveheart 1080p (1995)"). When I click on that video in the web UI, click "Find Metadata", click "Discover Defaults", then Search, only one result appears which once I click assigns the metadata with no issues. Is the scan following a different path to check the metadata? Not sure why this video isn't working but others are.

2. The new "View Video Thumbnails" does nothing when I try it on an imported DVD (that is a VIDEO_TS folder). Is that expected or is that an issue?

3. The new "View Video Thumbnails" on an imported video file (e.g. .mkv) does show the screen with the individual thumbnail images, but they show up as broken links. When I copy the image url for one of the links into a new browser window, I get the following message: "Problem accessing /bmt/videothumbnail. Reason:

Failed to generate thumbnail
Cannot run program "/usr/bin/mplayer" (in directory ".\userdata\Phoenix\cache\videothumb\2365807\tmp-3936198461908830284-mplayer"): CreateProcess error=2, The system cannot find the file specified

"
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)

Last edited by LehighBri; 02-22-2011 at 10:52 AM.
Reply With Quote
  #3  
Old 02-22-2011, 10:58 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by LehighBri View Post
1. I've noticed this since I've been using BMT over the past couple releases, but for some reason, running a scan in the bmt website does not set the metadata for some videos (e.g. I have an imported video called "Braveheart 1080p (1995)"). When I click on that video in the web UI, click "Find Metadata", click "Discover Defaults", then Search, only one result appears which once I click assigns the metadata with no issues. Is the scan following a different path to check the metadata? Not sure why this video isn't working but others are.
The Title parser for a movie like "Braveheart 1080p (1995)" would search for a title called "Braveheart 1080p" in the year "1995". Which a search for this may return a single item, if that "score" is less than the threshold score, then it will not accept it for an automatic update. I'm not sure if I show the score on the search results screen or not, but the default threshold is .90... a good match would have to have a match of .90 or better.

To enable better results, put your descriptors (ie, 1080p) after the year... ie, "Braveheart (1995) 1080p BDRip OtherInfo ETC", then the title parser will simply ignore anything after the year.

Quote:
2. The new "View Video Thumbnails" does nothing when I try it on an imported DVD (that is a VIDEO_TS folder). Is that expected or is that an issue?

3. The new "View Video Thumbnails" on an imported video file (e.g. .mkv) does show the screen with the individual thumbnail images, but they show up as broken links. When I copy the image url for one of the links, I get the following message: "Problem accessing /bmt/videothumbnail. Reason:

Failed to generate thumbnail
Cannot run program "/usr/bin/mplayer" (in directory ".\userdata\Phoenix\cache\videothumb\2365807\tmp-3936198461908830284-mplayer"): CreateProcess error=2, The system cannot find the file specified

"
So this is an experimental feature, and it does require that you first download and install mplayer (or if you have the placeshifter installed, you can simply use the mplayer that shipw with it). Then you need to set the mplayer exe location using the web ui, Configuration -> Phoenix -> Tools Configuration. If you are on windows, then enter the full location to your mplayer.exe, ie something like "C:\Program Files\MPlayer\mplayer.exe".

Once you save that, then go back to the thumbnail viewer and try it again. I'm using mplayer because ffmpeg (which ships with sage) had issues create a specific thumnail from a specific location in the file, escpecially with .ts files (documented bug in the ffmpeg group). At some point I might look at streamlining this, but this was quick feature that I added so that I could easily verify my recordings.

Good luck and let me know how you make out.
Attached Images
File Type: png tools1.png (62.0 KB, 212 views)
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
Version 7 Public Beta Has Begun! Narflex Announcements 1 05-20-2010 12:17 PM
Sage TV 6 MAJOR, MAJOR issues pgman SageTV Software 35 01-22-2007 11:41 AM
The marketing has begun! stanger89 General Discussion 3 04-12-2004 08:05 PM


All times are GMT -6. The time now is 03:48 AM.


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