|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Web GUI extremely slow
I have a Win 7 Sage 7 server which houses TV recordings and another Win 7 computer which contains music and video imports. I installed BMT and it got all the metadata but I have a few problems.
1) If I need to change a show, I go in find the right data and hit save. It can take 5 or more min to save, but usually has the right info on next scan. 2) If I do a batch scan, (say 25 imports formatted "Torchwood S01E01.mkv" it may take hours and come up with 19 good 6 failed. They all have identical format and I can go back and fix the others one at a time and it populates them fine. I also have the same problems as others with Sage not showing the ep titles etc, just 1-26 "Torchwood" though BMT retrieves these. |
#2
|
||||
|
||||
Quote:
Quote:
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Thanks for your help.
I noticed that tv shows on the server itself update immediately and batches take seconds to run. The ones which crawl are on the remote machine. All paths are unc. I originally could not access the files on the remote because I was running sage as a service on the local machine and had to change to a common admin account. Since then, i can access these remote files in Sage perfectly. How do I turn on logging to check what's going on?? |
#4
|
||||
|
||||
Quote:
In terms of just normal logging, you can set the log level to debug for phoenix-api in the Web UI under Configuration -> Log4j. This should write more information to the phoenix.log (in the logs directory). But, exceptions are always logged, so changing the log level from info to debug will mean more noice int he logs, not more exceptions.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
|||
|
|||
A couple questions,
Files are being updated with metadata. Why is it I have a few .properties files in the root directory housing DVDs, and .properties files with the AVI, mkv, etc files, but the overwhelming majority are in the cache directory under the SageTV directory? I still cannot get the web GUI to work on files on the remote machine. Local files update fine. The remote ones are retrieved instantly, all the options (look-ups, etc, etc) work, but when I hit save I just get the spinning saved logo. The phoenix.log just shows a last entry of: Saving- with all the metadata. After the next scan, the dvd shows with metadata. phoenix metadata log just shows auto followed by skip for hundreds of dvds. I guess this is just verifying that previous lookups are still there? |
#6
|
||||
|
||||
Quote:
Unfortunately, i can't test the remote machine scenario. All my files are on my main sagetv server. It seem that it is hitting some sort of issue, and it's add the the phoenix.log doesn't show anything. Do you see any errors in the jetty log or the sagetv_0.txt file?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
|||
|
|||
I called the gui "slow" when I think the real problem is that the gui makes the change and then locks up. Clicking on the screen make the spinning save logo go away and I thought it was done.
Possible bug: I had a tv show in the gui I wanted to transfer to Sage recordings. I hit transfer under tools and it started processing thousands of video files. I though it would just do the one (I guess just checking "sage recording" and saving would be the way to go), but anyhow the files included all of the files in excluded directories. Where is the sagetv_0.txt file created? I couldn't find it. How do I turn on jetty logging??? |
#8
|
|||
|
|||
OK serious bug:
This morning I moved tv eps to the server and using the gui I went to each ep and fixed the date, etc and then selected "sage recording" and hit save. On rescan Sage is now adding thousands of video files, including excludes to its recordings. Import videos as recordings is not checked. So I guess it set "import into Wiz.bin" to true to add the show and didn't set it back? Now all video files are marked as sage recordings. If I restore Wiz.bin and set to restore the recording directories, when I reset the restore switch to false, it will add all the videos back on the next scan. How can I prevent this? Last edited by adone36; 11-11-2010 at 08:35 AM. |
#9
|
|||||
|
|||||
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#10
|
|||
|
|||
Now that I think about it, when I hit "import videos as recordings" under tools (it does not warn in any way, btw) last night it marked all the videos as recordings THEN. The subsequent scan just put them in recordings. It was not caused by changing the data on a few shows individually the next morning.
I do not have fanart enabled. Almost all DVD folders have a folder.jpg file. I only use BMT and Commercial skip. The real bug would seem to be that these imports include ALL of the EXCLUDES. If excluded, BMT should completely ignore the files. So assuming I restore wiz.bin, how can I remove the current BMT data and have it rescan? |
#11
|
||||
|
||||
Quote:
Quote:
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#12
|
|||
|
|||
I got everything straightened out now.
I still think BMT should completely ignore excluded directories. It does not make much difference if a guy has 50 shows, 30 dvds, and 100 avi, but I have 550 dvds and 4300 media files I exclude. Even with very fast processors this can take time. I notice that for imported tv files, the "record date" is set as the file creation date. I think the original air date should be used. Most of the time you d/l an episode if you missed recording it or you deleted by accident, etc.. When added into recordings you must use a sort by orig air date to show then in sequence when listed with others. If someone can think of a reason to use the creation date, make it an option as to what date is used for the recording date. How can I force BMT to update a video without using the GUI one at a time??? |
#13
|
||||
|
||||
Quote:
Quote:
Quote:
Or, Are you asking how do you update more than one file, from the gui? If so, then just navigate to the view/folder and then hit the "Update Metadata" button which still in the folder view, and it will find metadata for everything in that folder, and it's children.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient Last edited by stuckless; 11-13-2010 at 06:06 AM. |
#14
|
|||
|
|||
Classic example of why I think "exclude" should be more than just a filter:
I had hundreds of DVDs that did not resolve correctly (abbreviations, multiple movies with same name, etc). i fixed them all to BMT naming conventions. After a scan the gui missing metafile tab is useless because it brings up thousands of titles in excluded directories. I have my Tivo set to download certain shows. A program d/ls the show, removes encryption and commercials, and then saves as an mpg in a sage import directory. They are in format "TVShowName - EpisodeName (11-14-2010)" I haven't tested how BMT will parse these, but if you do make changes to "record date", etc, you might want to include parsing for TivoHD. By forcing an update I meant in terms of the automatic parsing (I can't use the gui on dvds until I figure why it doesn't work properly on remote directories as all my dvds are on a file server). So basically I meant renaming the directory "Gladiator" to "Gladiator (2000)" to get the correct data. This forces sage to use the new folder.jpg if changed and I assume it makes BMT add the "New" DVD. I just noticed the strangest thing. Yesterday I changed dozens of movies. I added (year) to get them to resolve properly. I had had them originally without the parentheses. I noticed the scan symbol was on for hours. I looked at the phoenix-metadata.log and it showed it was updating 1 movie every 20 minutes give or take. Nearly the same amount of (long) time for each. Attached are logs. How does BMT add new metadata?? Is it done when Sage scans and then queued?? |
#15
|
||||
|
||||
The bmt automatic plugin will not block. It basically adds all new files to a queue and then processes them, so that it does not block the sage event queue. So, I'm not sure why sage would have the scanning icon lit up for hours.
I can see in the logs that it did take that long, and I'm not sure why. All files are processed by a single thread, so if it takes a long time to download fanart, etc, then it will back up the bmt queue. There's not indication in the logs as to why it took so long.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#16
|
|||
|
|||
Where is the queue file located and can it be edited or examined?
In the logs there are many, many entries: "no file segment for sage file". They all reference show names and tuners. These shows have never been recorded or scheduled. What are these? |
#17
|
||||
|
||||
You can't actually see the queue... and I'm not sure what those files are... they may actually be airings (from the epg).
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Web GUI Problems | toricred | Batch Metadata Tools | 11 | 11-02-2010 08:12 AM |
HD100 extremely slow all the sudden | showson1 | SageTV Beta Test Software | 0 | 11-01-2010 09:36 PM |
Extremely slow performance | Deano | SageTV Media Extender | 12 | 10-29-2010 09:46 AM |
stuttering problem - menus extremely slow | rjmarthaller | Hardware Support | 9 | 09-24-2008 10:13 AM |
6.4.2 DirecTVSerialControl Extremely Slow | toricred | SageTV Beta Test Software | 6 | 06-14-2008 12:06 PM |