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 04-19-2011, 09:19 PM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Can't import as files as recording for the last few days.

For a few months now, I've had smooth sailing with the following workflow:
- Using BMT webUI, set BMT to automatically import files as recordings and not mark them as archived.
- Rip a DVD of TV episodes, naming them "AwesomeShow S02E04.mkv"
- On rescan, BMT does a tvdb search, finds the metadata and FanArt, and imports these files.
- Later, when I browse recordings, I see my "epsiodes"

In the last two things, I've got what look like two related but slightly different issues:

Yesterday, I tried a few episodes from both a completely new (to me) series. BMT correctly populated series, episode, fan art, all the metadata. It was marked as TV, However, it was not marked as a Sage recording and it was marked as archived. In the BMT webUI, "Sage recording" isn't checked and "archived" is checked and greyed out so I can't uncheck it. If I check "Sage recording" then hit save, I can then uncheck "archived" and hit save again. If I then refresh the webpage and navigate to the new series, "sage recording" is still unchecked, and "archived" is checked and greyed out again.

Tonight, I tried a few episodes from a series I have been ripping for several weeks and BMT has always worked great. On tonight's rips BMT filled in the metadata as if episode title was the title of a movie. In the BMT webUI, I manually searched for the metadata using correct series, season, and episode values. BMT correctly found the right information and I saved it. For each file, I did "import as recording". When I was done, the results were the same as above. These files don't feel imported as recordings correctly and I can't find a way to fix them.

So, what changed? I haven't ripped for several days. The one thing I remember changing was updating to the Phoenix API/Core plugins to 2.3.29, but it could have been something else, not sure.

What info do you need?
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #2  
Old 04-20-2011, 05:30 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by kbyrd View Post
For a few months now, I've had smooth sailing with the following workflow:
- Using BMT webUI, set BMT to automatically import files as recordings and not mark them as archived.
- Rip a DVD of TV episodes, naming them "AwesomeShow S02E04.mkv"
- On rescan, BMT does a tvdb search, finds the metadata and FanArt, and imports these files.
- Later, when I browse recordings, I see my "epsiodes"

In the last two things, I've got what look like two related but slightly different issues:

Yesterday, I tried a few episodes from both a completely new (to me) series. BMT correctly populated series, episode, fan art, all the metadata. It was marked as TV, However, it was not marked as a Sage recording and it was marked as archived. In the BMT webUI, "Sage recording" isn't checked and "archived" is checked and greyed out so I can't uncheck it. If I check "Sage recording" then hit save, I can then uncheck "archived" and hit save again. If I then refresh the webpage and navigate to the new series, "sage recording" is still unchecked, and "archived" is checked and greyed out again.

Tonight, I tried a few episodes from a series I have been ripping for several weeks and BMT has always worked great. On tonight's rips BMT filled in the metadata as if episode title was the title of a movie. In the BMT webUI, I manually searched for the metadata using correct series, season, and episode values. BMT correctly found the right information and I saved it. For each file, I did "import as recording". When I was done, the results were the same as above. These files don't feel imported as recordings correctly and I can't find a way to fix them.

So, what changed? I haven't ripped for several days. The one thing I remember changing was updating to the Phoenix API/Core plugins to 2.3.29, but it could have been something else, not sure.

What info do you need?
I try to do some regression testing on the import as recordings this weekend. I did do a test the other day, and it did import fine as a recording.
Reply With Quote
  #3  
Old 04-20-2011, 05:38 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I can't get it to work either
Reply With Quote
  #4  
Old 04-20-2011, 05:43 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
The other thing I noticed that didn't seem to be working was setting a folder's Watched flag as Watched.
Reply With Quote
  #5  
Old 04-20-2011, 06:14 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wrems View Post
The other thing I noticed that didn't seem to be working was setting a folder's Watched flag as Watched.
i'm pretty sure you can't set a folder watched (at least I'm fairly certain that I've never implemented that)
Reply With Quote
  #6  
Old 04-20-2011, 06:24 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
So if I navigate to the view for Combined Video Imports say. Then proceed to drill down into my own imported TV content, which I have separated by folder. Let's say I choose Dexter underneath the Dexter folder I have a bunch of episodes that I have watched, but since deleting my wiz.bin they are not denoted as watched anymore. Now I'm at the Dexter folder showing all the individual episodes. I go to the drop down list box near the top header, called Batch Operations, and choose 'Set Watched'.

Shouldn't that set watched on the contents of that folder?
Reply With Quote
  #7  
Old 04-20-2011, 06:52 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wrems View Post
So if I navigate to the view for Combined Video Imports say. Then proceed to drill down into my own imported TV content, which I have separated by folder. Let's say I choose Dexter underneath the Dexter folder I have a bunch of episodes that I have watched, but since deleting my wiz.bin they are not denoted as watched anymore. Now I'm at the Dexter folder showing all the individual episodes. I go to the drop down list box near the top header, called Batch Operations, and choose 'Set Watched'.

Shouldn't that set watched on the contents of that folder?
Sorry, you are right That should set the entre folder contents watched.

Keep in mind that the web ui caches lots of stuff as well well, so changes to files might not be readily visible in the bmt web ui (I'm working on addressing those cases).

I'll check the SetWatched as well from the batch operations to see if it's working on my setup. I do use that feature from time to time, so i can't believe I forgot about it
Reply With Quote
  #8  
Old 04-20-2011, 08:52 AM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
But back to the OP's (my) issue...


Quote:
Originally Posted by kbyrd View Post
For a few months now, I've had smooth sailing with the following workflow:
- Using BMT webUI, set BMT to automatically import files as recordings and not mark them as archived.
- Rip a DVD of TV episodes, naming them "AwesomeShow S02E04.mkv"
- On rescan, BMT does a tvdb search, finds the metadata and FanArt, and imports these files.
- Later, when I browse recordings, I see my "epsiodes"

In the last two things, I've got what look like two related but slightly different issues:

Yesterday, I tried a few episodes from both a completely new (to me) series. BMT correctly populated series, episode, fan art, all the metadata. It was marked as TV, However, it was not marked as a Sage recording and it was marked as archived. In the BMT webUI, "Sage recording" isn't checked and "archived" is checked and greyed out so I can't uncheck it. If I check "Sage recording" then hit save, I can then uncheck "archived" and hit save again. If I then refresh the webpage and navigate to the new series, "sage recording" is still unchecked, and "archived" is checked and greyed out again.

Tonight, I tried a few episodes from a series I have been ripping for several weeks and BMT has always worked great. On tonight's rips BMT filled in the metadata as if episode title was the title of a movie. In the BMT webUI, I manually searched for the metadata using correct series, season, and episode values. BMT correctly found the right information and I saved it. For each file, I did "import as recording". When I was done, the results were the same as above. These files don't feel imported as recordings correctly and I can't find a way to fix them.

So, what changed? I haven't ripped for several days. The one thing I remember changing was updating to the Phoenix API/Core plugins to 2.3.29, but it could have been something else, not sure.

What info do you need?
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #9  
Old 04-20-2011, 09:06 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by kbyrd View Post
But back to the OP's (my) issue...
As I said a few posts back... i've logged an issue... i'll take a look at it this weekend
Reply With Quote
  #10  
Old 04-20-2011, 09:21 AM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
Huh, I swear I didn't see that post. Oh wait...let me uncheck "filter out helpful information" in my profile.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #11  
Old 04-20-2011, 10:14 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
Quote:
Originally Posted by stuckless View Post
I try to do some regression testing on the import as recordings this weekend. I did do a test the other day, and it did import fine as a recording.
I just did a New import and it automatically ticked the Sage Recording box as expected. I have BMT set to automatically import TV as Recordings in the config menu. So, it seems, that this part of the function does work for the newly imported content.

The problem is not with the new stuff it’s with the content that BMT already knows about The previously loaded stuff that one wants to move into the recordings area because they're not currently. The operation that I’m referring to is executed from the following dialog:



This process is not working.
Reply With Quote
  #12  
Old 04-20-2011, 07:17 PM
kbyrd kbyrd is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: SF Bay Area, CA
Posts: 282
I've actually got problems with both processes. I'm set to auto-import on scan, but it didn't I also can't do it later, just like you.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM
Reply With Quote
  #13  
Old 04-22-2011, 05:03 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
My First Test
Add a new TV file to collection (House S01E01.avi), and let the BMT automatic update process import it as as Recording.

For this to work, I had to...
1. Enable Import TV Media types As Recordings from Configure -> Phoenix -> Metadata/Fanart Options
2. Add the new file to my import folder
3. Click "Refresh Library" from the bmt web ui (to tell sagetv to look for media)

After doing that, I checked the logs/phoenix-metadata.log, and I could see that the file was scraped and that it was downloading fanart. I then checked the "Recordings" view in BMT and my newly added file was in that view.

So, Automatically Import TV as Recordings gets a Pass.

I'll continue to look at the other issues for the other scenarios listed here.
Reply With Quote
  #14  
Old 04-22-2011, 05:45 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Test #2
From the Metadata Editor Un-check Sage Recording, and the file should no longer be a Sage Recording. PASS.

Test #3
From the Metadata Editor Check Sage Recording, and the file should now become a Sage Recording: PASS

In test #3, when the file became a Sage Recording, the "archived" flag is automatically set to true, and it appears that you can't change this until after the file is a sage recording. The reason is that the archived flag is only valid for recordings so it remains read-only while the file is still a non-recording. So if you want it to show up in the recordings (and not archived recordings) then you'll need to uncheck "Archived" once the file has been saved. (ie, 2 saves are required.

(still testing other scenarios)
Reply With Quote
  #15  
Old 04-22-2011, 05:57 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I ran through another test to see if the metadata log file was producing anything of interest.

The log is absolutely blank... Shouldn't there be something being logged?
Reply With Quote
  #16  
Old 04-22-2011, 06:06 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
Let me know if there is anything that I can help you with to identify the issue. I hope that you have a failure soon
Reply With Quote
  #17  
Old 04-22-2011, 06:13 AM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I guess I never paid much attention, but the Archived checkbox on the editor page is Grayed Out as the OP indicated. I never really scrolled down that far, nor did I think it mattered or would cause issues.

Another thing I noticed is that if I choose from the scan options (like from my screenshot above).... If I check them all and then look at the progress indicator in the lower left column, that the scan doesn't step through the files. It just completes instantly 0:0.
Reply With Quote
  #18  
Old 04-22-2011, 07:14 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wrems View Post
I guess I never paid much attention, but the Archived checkbox on the editor page is Grayed Out as the OP indicated. I never really scrolled down that far, nor did I think it mattered or would cause issues.

Another thing I noticed is that if I choose from the scan options (like from my screenshot above).... If I check them all and then look at the progress indicator in the lower left column, that the scan doesn't step through the files. It just completes instantly 0:0.
I'm going to be making my way through a bunch of tests... including the scanning from the web ui.

As for the achived box... it's greyed out if the file is NOT a recording, since archived only has meaning to a sage recording. But it's worth noting that if you don't see your recordings in the "Recordings" view then check the Archived Recordings, since it may be there.
Reply With Quote
  #19  
Old 04-22-2011, 08:48 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Test #4 - Batch Import as Recording - PASS
I selected a folder and used the Batch Operation - Import as recording, all files were Imported as Sage Recordings. But, they were Archived by default. I've changed to code to use the Archive setting for Metadata/Fanart Options, so that batch importing of recordings will not be archived if the Archive setting is unchecked.


Test #5 - Batch Un-import as Recording - PASS/FAIL

This is a PASS and FAIL. It passed in that it unimported SOME files, but not all files. After doing some investigation, there may be an issue where sagetv is making the TV bit sticky so that I can never unimport the file. I still have to investigate, since there isn't anything different in my code, but I do have files that I cannot un-import as recordings.

Test #5 - SetWatched / UnWatched on Folders - PASS
For this I simply navigated to a folder, then chose the SetWatched. Then checked each child, and they were Watched. Then I ran it again for UnWatched, and each child was updated for UnWatched.
Reply With Quote
  #20  
Old 04-22-2011, 09:30 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Test #6 - Update Metadata for existing Items with Import as Recordings - PASS

(as described in a previous post http://forums.sagetv.com/forums/show...4&postcount=11)

So, for this one, I had several files that imported into sagetv but not as recordings. I navigated to the folder, used the Update Metadata dialog, checked off import as recordings... and they all imported.


At this point, I think I've covered all the ways that files can be imported and imported as recordings and I cannot find a problem.

I'm guessing that I'll be needing log files to figure this out. So, if you could do a test, and then use the create support request function in the bmt web ui and email the logs, then that would good. Be sure to tell me which test you are doing. (Create support request is in the Help menu)
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
Won't show mkv files when trying to import...help Morphx2 SageTV Software 1 06-22-2008 07:49 PM
Increase # of Days in Recording Schedule skyeclad SageTV Software 7 11-21-2007 02:25 PM
Import of .ogg files not working in v4.1 Tim SageTV Software 0 12-20-2005 04:29 PM
import video files Soulive SageTV Software 2 11-18-2005 09:51 AM
Upcoming Rec Schedule does NOT show what's scheduled for recording beyond 2-3 days sudipto SageTV Beta Test Software 14 03-15-2004 03:47 AM


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


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