SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-12-2021, 11:37 AM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
SageTV enhancement request

I use PlayOn to stream/record content from Netflix, Hulu, etc. Then, move that content into a SageTV import folder. The recording details are stored in the file by PlayOn (e.g. description, etc.) When Sage discovers a new recording within an import directory, it (should) be able to parse out that data but it doesn't. It used to look up that information off the web (the tvdb I think it was), but that service is no more.

I'd like to suggest that Sage parse the data that is already there within the media file. I've been using windows explorer to view the properties, then BMT to manually copy/past that in, but that just seems silly that Sage can't do that when it discovers the new file.
Reply With Quote
  #2  
Old 12-12-2021, 02:30 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,556
In addition to my response in the BMT thread here are some thoughts/questions...

What is the filename format provided by Playon? Is it recognizable as a movie/tv series etc.? Can you provide samples.

Why isn't BMT recognizing the file and pulling info from TMDB/TVDB... last I checked both were working for me (although the current tvdb provider will quit working sometime in 2022 according to tvdb). Are you getting errors when BMT attempts to get metadata? Can you post the logs?

What are other Playon/SageTV users doing? I have seen others mention they use Playon on this forum with SageTV so what is different in your setup or is this a gap for all Playon users?

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #3  
Old 12-12-2021, 08:00 PM
VCRUser VCRUser is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 415
Here are a few sample filenames:

Brian Greene Explains the Universe - s01e01 - A physics genius reveals the smartest way to inspire a child's love of math and science.mp4

Game of Thrones - s08e01 - Game of Thrones.mp4

Grey's Anatomy - s15e25 - Jump Into the Fog.mp4

Michael Ian Black Noted Expert.mp4

So the Pattern is Show Title - season episode - episode title. For a movie, it's just the movie title.


In my case, my PlayOn machine is a different PC from my Sage box. From time to time I upload videos from the PlayOn box to the Sage box, and either leave them as imported videos or jump through the various hoops to reclassify them as tv shows & get them to show up with the other shows.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit.
Reply With Quote
  #4  
Old 12-14-2021, 02:50 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Quote:
Originally Posted by jusjoken View Post
In addition to my response in the BMT thread here are some thoughts/questions...

What is the filename format provided by Playon? Is it recognizable as a movie/tv series etc.? Can you provide samples.

Why isn't BMT recognizing the file and pulling info from TMDB/TVDB... last I checked both were working for me (although the current tvdb provider will quit working sometime in 2022 according to tvdb). Are you getting errors when BMT attempts to get metadata? Can you post the logs?

What are other Playon/SageTV users doing? I have seen others mention they use Playon on this forum with SageTV so what is different in your setup or is this a gap for all Playon users?

K
The file names are as you would expect (e.g. "Lost in Space - s03e01 Three Little Birds.mp4"). BMT recognizes the file (after) Sage has discovered it and added it. BMT no longer can pull data from the tvdb, but it really isn't necessary. INSIDE the mp4 file that PlayOn creates are various properties that SagetTV could extract (if it was coded to do that). The real thing that is of value is the show description (which when viewing the details of the files properties within Windows Explorer, it's field is "comments". For the specific filename noted here, the 'comment' within the mp4 is: "A year into their mission with the children of the Resolute, Judy, Penny and Will scramble to find the titanium they need to get to Alpha Centauri." Why can't SageTV extract that out of the file and use it. It also gets the season/episode from the filename.

The point here is why should anything reach out over the internet if the data is already in the file.
Reply With Quote
  #5  
Old 12-14-2021, 02:52 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Quote:
Originally Posted by VCRUser View Post
Here are a few sample filenames:

Brian Greene Explains the Universe - s01e01 - A physics genius reveals the smartest way to inspire a child's love of math and science.mp4

Game of Thrones - s08e01 - Game of Thrones.mp4

Grey's Anatomy - s15e25 - Jump Into the Fog.mp4

Michael Ian Black Noted Expert.mp4

So the Pattern is Show Title - season episode - episode title. For a movie, it's just the movie title.


In my case, my PlayOn machine is a different PC from my Sage box. From time to time I upload videos from the PlayOn box to the Sage box, and either leave them as imported videos or jump through the various hoops to reclassify them as tv shows & get them to show up with the other shows.
That's correct. Playon puts the show description right in the mp4 file. I literally use Windows explorer to view the properties of the mp4, copy/paste the 'comment' into the description field within BMT. Why couldn't SageTV do this when it discovers the file was added to an import directory.
Reply With Quote
  #6  
Old 12-14-2021, 09:57 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,556
Quote:
Originally Posted by gary201 View Post
The file names are as you would expect (e.g. "Lost in Space - s03e01 Three Little Birds.mp4"). BMT recognizes the file (after) Sage has discovered it and added it. BMT no longer can pull data from the tvdb, but it really isn't necessary. INSIDE the mp4 file that PlayOn creates are various properties that SagetTV could extract (if it was coded to do that). The real thing that is of value is the show description (which when viewing the details of the files properties within Windows Explorer, it's field is "comments". For the specific filename noted here, the 'comment' within the mp4 is: "A year into their mission with the children of the Resolute, Judy, Penny and Will scramble to find the titanium they need to get to Alpha Centauri." Why can't SageTV extract that out of the file and use it. It also gets the season/episode from the filename.

The point here is why should anything reach out over the internet if the data is already in the file.
As far as I can tell, tvdb is still working, at least on my system...however, a modification to BMT to pull data from the file info is likely possible but would take some time...perhaps after my other projects. In the mean time if you can see if playon documents their use of embedded file info so we can code to a specification

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #7  
Old 12-15-2021, 12:46 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
I assume it's a standard. If you simply right-click on it within Windows Explorer, there are dozens of properties available, including "comment" that has the shows description. It just doesn't make any sense to reach out over the internet to get what is already located in the file itself.
Reply With Quote
  #8  
Old 12-15-2021, 12:53 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Just did a quick search and found this article https://kdenlive.org/en/project/addi...-to-mp4-video/ that lists the meda data keys for properties within a mp4 file.
Reply With Quote
  #9  
Old 01-17-2022, 11:57 AM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Bump. I'd still like to see SageTV obtain the "Comment" metadata from video files as it discovers them (from an Import folder) and populate the description of the video. There is simply no need to reach out over the internet if the data is already within the mp4 file already.
Reply With Quote
  #10  
Old 01-17-2022, 02:43 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Another request would be to not exclude video imports when files contain extended vowel characters. I have found the only way to get Sage to recognize them is to replace those extended vowel characters with ASCII near equivalents.
Reply With Quote
  #11  
Old 01-17-2022, 03:03 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,556
Quote:
Originally Posted by gary201 View Post
Another request would be to not exclude video imports when files contain extended vowel characters. I have found the only way to get Sage to recognize them is to replace those extended vowel characters with ASCII near equivalents.
Can you provide some specific examples

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #12  
Old 01-19-2022, 06:44 AM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Easy. Sage ignores files with extended vowel type characters. So "Déjà Vu" as either the filename or the 'title' metadata is ignored until renamed to "Deja Vu".
Reply With Quote
  #13  
Old 01-30-2022, 02:42 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Is there an actual location to submit bugs/fix requests?
Reply With Quote
  #14  
Old 01-30-2022, 03:12 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,556
Quote:
Originally Posted by gary201 View Post
Is there an actual location to submit bugs/fix requests?
https://github.com/google/sagetv/issues

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Music Enhancement Request RangerZ SageTV v9 Customizations 0 08-03-2017 07:42 PM
UI Enhancement Request: Channel Logo on Recordings Menu cjbojrab SageTV v7 Customizations 2 02-22-2011 04:12 PM
Enhancement Request: Youtube Video Playlists? CanadianEh SageTV Beta Test Software 4 05-24-2010 06:27 PM
Enhancement request: remember position in imported videos David G SageTV Beta Test Software 1 02-21-2006 09:29 AM


All times are GMT -6. The time now is 01:02 PM.


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