SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #601  
Old 04-25-2013, 05:06 PM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by PiX64 View Post
Properties files are created by sage not plex... Interesting though there is no prop file.. I have an idea will look when I get home

hmmmm. Are they created by some part of phoenix or the bmt stuff then? because I have had Sage for going on 6 years now and never had per-show properties files until this week...

Edit: Did a little more digging. Not sure if any of this is relevant, but thought I would point it out. There is a good chance this will only serve to complicate or this might be a red herring, but I am trying to provide as much info as possible. I have 2 recording drives. My F: drive on my server and a share on my ReadyNAS. I only record to the F: and then I periodically move files to my ReadyNAS. I installed the BMT Web viewer and plex and the BMTagent stuff on the 22nd. On my F: drive, no file that was recorded before the 22nd (i.e., before I installed all that) has a properties file. On my ReadyNAS, almost all (but oddly not all ) files have a properties file no matter when they were recorded. The ones that do not have a properties file also do not seem to have fanart. The ones that do seem ok. I can't say that 100% of the ones on that drive that have a properties file also have fanart, but it is close. I have no idea why sage would generate properties files for older files on the ReadyNAS but not the F:drive. Again, probably a red herring, but trying to provide info.

Last edited by willieb; 04-25-2013 at 06:53 PM.
Reply With Quote
  #602  
Old 04-25-2013, 08:02 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by willieb View Post
hmmmm. Are they created by some part of phoenix or the bmt stuff then? because I have had Sage for going on 6 years now and never had per-show properties files until this week...

Edit: Did a little more digging. Not sure if any of this is relevant, but thought I would point it out. There is a good chance this will only serve to complicate or this might be a red herring, but I am trying to provide as much info as possible. I have 2 recording drives. My F: drive on my server and a share on my ReadyNAS. I only record to the F: and then I periodically move files to my ReadyNAS. I installed the BMT Web viewer and plex and the BMTagent stuff on the 22nd. On my F: drive, no file that was recorded before the 22nd (i.e., before I installed all that) has a properties file. On my ReadyNAS, almost all (but oddly not all ) files have a properties file no matter when they were recorded. The ones that do not have a properties file also do not seem to have fanart. The ones that do seem ok. I can't say that 100% of the ones on that drive that have a properties file also have fanart, but it is close. I have no idea why sage would generate properties files for older files on the ReadyNAS but not the F:drive. Again, probably a red herring, but trying to provide info.
its been around for a long time... ever since i started using sage 6 years ago or so. the line in the sage.properties is : metadata/make_properties_file=true

I admit though im not sure if this is set through the sage->detailed setup, or if this is specific to BMT.
Reply With Quote
  #603  
Old 04-25-2013, 08:21 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
do me a favor please run this in a browser

http:// sage server address : port /sagex/api?c=GetMediaFileForID&1=9377427

That should return the EXACT same thing as the GetMediaFileForName command i gave you a few posts back...


does it?
Reply With Quote
  #604  
Old 04-25-2013, 09:16 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
scratch that last post.. im pretty sure i figured out the issue, and it does in fact lie within the agent code. I am going to make some mods, and run some additional tests. hopefully will have something for you to try out tomorrow.

pm me and ill give you my email
Reply With Quote
  #605  
Old 04-25-2013, 09:41 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
when i was working on an issue i was having in tadem with your issue, I discovered that converted files were not being handled correctly. the plex.js file which i put together uses a function called GetMediaFileForName which will allow you to throw at it either a filename OR and filename.ext. the filename.ext is what was causing the issue in the case of the bmt agent.

I reworked some code, and am happy to report that the use case i was working is now fixed. I will need you to test it with your phineas and ferb crazyness you got going on over there, but i am fairly confident that both issues were being caused by the same code... that code like i said has been reworked.

shoot me a pm and ill get you a new init.py to try
Reply With Quote
  #606  
Old 04-26-2013, 05:26 AM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by PiX64 View Post
I will need you to test it with your phineas and ferb crazyness you got going on over there, but i am fairly confident that both issues were being caused by the same code... that code like i said has been reworked.

shoot me a pm and ill get you a new init.py to try
Well, phineas and ferb and craziness do usually go together so perhaps it was fitting. Anyway, glad you might have it licked. You've got pm. Tell me where to put the files and what to do please!
Reply With Quote
  #607  
Old 04-26-2013, 07:28 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by willieb View Post
Well, phineas and ferb and craziness do usually go together so perhaps it was fitting. Anyway, glad you might have it licked. You've got pm. Tell me where to put the files and what to do please!
Ill send the file in just a few minutes with instructions.

as a side note I have never had an issue with this bluish/pink hue on my episode images until I JUST made this fix I am referring to. I will have to look at this more closely in the code. MAYBE there is a way to exclude the first image found or something of that nature.

still not sure why its getting that image from sagex.
Reply With Quote
  #608  
Old 04-26-2013, 07:35 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
I just came across another bug which i will be working on today..DANG! who wrote this?!? :-) just messing with you Brian
Reply With Quote
  #609  
Old 04-26-2013, 08:39 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by PiX64 View Post
when i was working on an issue i was having in tadem with your issue, I discovered that converted files were not being handled correctly. the plex.js file which i put together uses a function called GetMediaFileForName which will allow you to throw at it either a filename OR and filename.ext. the filename.ext is what was causing the issue in the case of the bmt agent.

I reworked some code, and am happy to report that the use case i was working is now fixed. I will need you to test it with your phineas and ferb crazyness you got going on over there, but i am fairly confident that both issues were being caused by the same code... that code like i said has been reworked.

shoot me a pm and ill get you a new init.py to try
This probably addresses the problem I am having because a lot of my TV is transcoded to mp4.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #610  
Old 04-26-2013, 08:59 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by nyplayer View Post
This probably addresses the problem I am having because a lot of my TV is transcoded to mp4.
yes for certain it addresses that... that is the issue i was having locally as well.
Reply With Quote
  #611  
Old 04-26-2013, 07:56 PM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Quote:
Originally Posted by PiX64 View Post
Ill send the file in just a few minutes with instructions.
Well bad (or at least not so good) news. I followed the instructions removed the section, restarted just to be safe, shut plex down again, re-added the init.py and then and re-ran the scan. I think we are getting close, but no cigar. I still have no data for P&F other than show name. No fanart for it either. I also am missing fanart for masterpiece classic (Downton Abbey) but it seems like I have textual data. Just no fanart. Then there are several shows that I recorded in like 2008 or so that aren't being handled right, but don't worry about them. That's too old and who knows what's wrong with them. I am just going to remove them from this recording directory.

So bottom line is that things are very close but not quite. Just to be safe. I am removing my archive directory (my readyNAS) from the section. It has the Phineas and Ferbs in it. Then tomorrow I am going to record a new P&F and see if it can get it right with just one episode (on the theory that the 40 legacy recordings are screwing it up somehow).

I have had a heck of a week so I am going to bed. I appreciate all your work and I really do think it is really close. So thanks. I will let you know about the P&F in the AM.
Reply With Quote
  #612  
Old 04-27-2013, 12:58 PM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Update. Removed my readynas from the section which removed all the phineas and ferbs. Recorded a new phineas and ferb on the server. Everything worked! I have metadata and fanart! Next step is the do the same with masterpiece classic. Do you have any idea how something odd with one show can keep metadata from being downloaded for all shows by that name? Just curious at this point! My guess is masterpiece will work just like p&f did. Thanks for all your work on this. Very cool stuff. Will keep you posted.
Reply With Quote
  #613  
Old 04-28-2013, 12:43 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Sorry been a crazy weekend.

Yeah, I think what's going on is an error in the search function. I have a post on the plex forum asking a few things. Ideally the search wouldn't error but rather report back something went wrong, and then move on to the next item...rather than erroring, and keeping the metadata retrieval process in this weird sorta flux state by which subsequent searches appear to be failing when they should actually be retrieving metadata just fine.
Reply With Quote
  #614  
Old 04-30-2013, 04:59 PM
willieb willieb is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Philadelphia
Posts: 175
Update. Masterpiece classic still shows the same behavior. Textual metadata is retrieved but no fanart even though it can be seen in BMT. I've had it happen with a couple other shows too so something is not quite working right. Overall I am not complaining though. I am goin to visit my mom in a couple ask and will be able to use the roku I bought her to watch MY shows at HER house. Let me know if you make and headway on the plex forum or if you need any more info out of me to troubleshoot. Happy to help. Obviously no rush.
Reply With Quote
  #615  
Old 05-01-2013, 07:04 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by willieb View Post
Update. Masterpiece classic still shows the same behavior. Textual metadata is retrieved but no fanart even though it can be seen in BMT. I've had it happen with a couple other shows too so something is not quite working right. Overall I am not complaining though. I am goin to visit my mom in a couple ask and will be able to use the roku I bought her to watch MY shows at HER house. Let me know if you make and headway on the plex forum or if you need any more info out of me to troubleshoot. Happy to help. Obviously no rush.
still no word back from plex on my question.. I am continuing to invetigate the issue though on my spare time. sorry for the delay
Reply With Quote
  #616  
Old 05-09-2013, 02:46 PM
g-man g-man is offline
Sage Advanced User
 
Join Date: May 2005
Posts: 82
I just loaded up the new code and am getting the pink hue on my videos. I have tested with my Mac and tablet and get the same result. I know there was mention of it in a previous thread but didn't see a resolution.

Thanks
Attached Images
File Type: jpg Screen Shot 2013-05-09 at 9.15.55 PM.jpg (60.9 KB, 185 views)

Last edited by g-man; 05-09-2013 at 07:20 PM.
Reply With Quote
  #617  
Old 05-09-2013, 09:42 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by g-man View Post
I just loaded up the new code and am getting the pink hue on my videos. I have tested with my Mac and tablet and get the same result. I know there was mention of it in a previous thread but didn't see a resolution.

Thanks
This is something goofy I have been working on for awhile. I can't seem to track down why exactly it happens. Sean mentioned that he too saw some goofy stuff happening on the BMT side occassionally with pinkish hue.

My time has been limited recently and I haven't had a chance to fix up the few left over items I have.

Ill hopefully get to these ASAP, but well see how life goes along with that plan
Reply With Quote
  #618  
Old 05-10-2013, 05:58 PM
g-man g-man is offline
Sage Advanced User
 
Join Date: May 2005
Posts: 82
Quote:
Originally Posted by PiX64 View Post
My time has been limited recently and I haven't had a chance to fix up the few left over items I have.

Ill hopefully get to these ASAP, but well see how life goes along with that plan
No worries, I completely understand how life gets in the way and you guys do this on your free time so no rush. It is just a minor visual thing that doesn't affect the great integration with Sage.

Thanks for the awesome work on this project!
Reply With Quote
  #619  
Old 06-10-2013, 02:46 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
With a little bit of direction for Sean, I was able to get the pinkish hue annoyance taken care of... FINALLY!!!

I am in the process of scanning my entire library now and if all comes back well, I will be posting a new file for anyone using this to try out.

the issue had nothing to do with phoneix or bmt or sagex it had to do with the default thumbnails being generated by SageTV Core and the bmtagent code which was accessing the sagetv core thumbs rather than the phoenix fanart episode files :-) woot!

As always HUGE thanks to Sean Stuckless!!
Reply With Quote
  #620  
Old 06-10-2013, 08:38 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Success!! here are 2 screens of things working nicely. i will put a new bmtagent init.py file attached to this post for those that want access right away, and will update the google code site as soon as i get a free moment.
Attached Images
File Type: jpg Screen Shot 2013-06-10 at 9.36.26 PM.jpg (92.1 KB, 188 views)
File Type: jpg Screen Shot 2013-06-10 at 9.36.38 PM.jpg (50.1 KB, 192 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
Comparing to Plex heffneil Batch Metadata Tools 20 01-08-2012 04:54 PM
Need help with SJQv4 remote agent coppit SageTV v7 Customizations 4 12-19-2010 11:03 AM
Plex in a TV? What about sage? rwc General Discussion 9 09-05-2010 04:38 PM
Possible to get SageTV to handle my library more like Plex? DAMAC SageTV Mac Edition 0 06-10-2009 10:33 AM
SagetTVService Virus Win32.Agent.dwo Ponchera SageTV Software 6 02-04-2008 06:33 PM


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


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