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 07-03-2010, 02:38 PM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Metadata Being Corrupted/Removed

I recently imported a whole season of How I Met Your Mother and have each episode as a .m4v. I used the web tool to download the metadata/fanart and it all worked great.

About an hour or 2 later, all the meta data was erased and in some cases just corrupted. Some of the videos were set as movies, others as TV. fields go moved, removed, etc.

I went and updated them all over again. This time they lasted over night, and then on todays library refresh, it happened all over again.


Why is sage losing my metadata?

v7.0.11 with metadata tools 4.2 installed through plugin manager.


I'm not sure if this is the direct cause or not, but in my sagex-api log i have the following exceptions whenever I save metadata using the web gui. Maybe my meta data is never making it officially into sage's memory and thats why the next import whipes it out?

Code:
2010-07-03 16:44:17,023 [4771358@qtp-22662250-1] WARN  sagex.SageAPI - call() failed for: SetMediaFileMetadata
java.lang.reflect.InvocationTargetException
	at sage.SageTV.api(Unknown Source)
	at sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:16)
	at sagex.SageAPI.call(SageAPI.java:163)
	at sagex.api.MediaFileAPI.SetMediaFileMetadata(MediaFileAPI.java:1572)
	at sagex.phoenix.metadata.proxy.SageMediaFileMetadataProxy.set(SageMediaFileMetadataProxy.java:31)
	at sagex.phoenix.metadata.proxy.AbstractMetadataProxy.invoke(AbstractMetadataProxy.java:49)
	at $Proxy11.setMisc(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sagex.phoenix.metadata.MetadataUtil.copyModifiedMetadata(MetadataUtil.java:190)
	at sagex.phoenix.metadata.persistence.Sage7Persistence.storeMetadata(Sage7Persistence.java:49)
	at sagex.phoenix.metadata.MetadataManager.updateMetadata(MetadataManager.java:466)
	at org.jdna.bmt.web.server.MetadataServicesImpl.saveMetadata(MetadataServicesImpl.java:342)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: sage.a.e: Error in method reflection of SetMediaFileMetadata of java.lang.NullPointerException
	at sage.ay.a(Unknown Source)
	at sage.e.a(Unknown Source)
	... 44 more
Caused by: java.lang.NullPointerException
	at java.util.StringTokenizer.<init>(Unknown Source)
	at java.util.StringTokenizer.<init>(Unknown Source)
	at sage.b3.else(Unknown Source)
	at sage.e.m$50.null(Unknown Source)
	... 46 more
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.

Last edited by FidgetyRat; 07-03-2010 at 02:47 PM.
Reply With Quote
  #2  
Old 07-04-2010, 04:35 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
For some reason, Sage is getting a null pointer exception on some piece of data. I'm not sure which piece. But, because of how sagetv processing SetMediaFileMetadata requests, a single failure should only result in a single piece of metadata not being stored. ie, if it failed on "Actor" then the actor list would be null, but the rest of the metadata would still be in tact.
Reply With Quote
  #3  
Old 07-05-2010, 12:27 PM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
So far it has not gone crazy in the past 24+ hours. I change the file names of all the recordings, and re-did all their meta data. If it all gets screwed up again I'll post. Im wondering if it didn't have something to do with .m4v videos or something? From now on i'm just going to rip them straight to mpeg2 just to be safe. At least I know the meta sticks for those.
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
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
Posts keep getting removed Bacon2002 SageTV United Kingdom 6 08-31-2009 02:23 AM
Clean out old metadata created by My Movies before creating new metadata for SageTV? Texas-Hansen SageTV Customizations 0 02-12-2009 10:31 AM
borders around various menus removed...... xlr8shun SageTV Beta Test Software 2 03-05-2006 02:58 AM
my watched shows do get removed. chrysek SageTV Beta Test Software 2 01-24-2005 03:00 PM
Sage Removed my favorite - bug??? jbuszkie SageTV Software 3 09-24-2004 08:52 AM


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


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