|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Renaming / Moving sage recordings
I recently moved to docker/unraid for Sage, and in the process installed an emby server for a couple roku clients to play the sage recordings.
I pointed emby at the sage recordings folder, but it doesn't pick up the shows, not sure why. I assume its because they are not in folders by show name. I also pointed it at an "imports" folder which does have tv shows by show name, and they are picked up fine. So I'm sure this has been discussed on here, but I'm having trouble finding the best solution for this. My goals: 1. All TV shows should be on the same "view" on my HD300 running Sage, ie imports imported as recordings(this is accomplished by Phoenix 3.) 2. Emby should pick up all recordings in both the sage recordings and sage imports folder as tv shows and that "view" should be seamless. I'm thinking using phoenix-renamer script to just watch my sage tv recordings directory, rename new files, then if successful, fire off a custom mover script to the imports folder in a directory based on the show name. BMT should import the "new" show as a recording back in sage, and emby should pick it up as a tv show, correct? If I go this route, I see that java is required to run the phoenix renamer script. Is java installed on the unraid server? I'd like to run it under "user-scripts" plugin. If that doesn't work, would I be able to run it under the sagetv docker, since that has java installed? If neither of these work, what is the best way to accomplish this? Thanks! |
#2
|
||||
|
||||
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
|
|||
|
|||
Quote:
__________________
Home Network: https://karylstein.com/technology.html |
#4
|
|||
|
|||
For Emby to pick up SageTV recordings you need to import them as home movies. All recordings then appear by file name. Ya, you loose metadata but you can figure out what each show is by the filename. Not too big of deal, just a bit "sloppy".
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker Tuners: HD Homerun Quatro (OTA) Clients: NVidia SheildTV x3 |
#5
|
|||
|
|||
Quote:
I started doing this for Plex and have a MUCH better experience. Some day when Plex's DVR becomes more mature with fewer bugs I will be dropping SageTV. It's annoying managing two media organization applications. While SageTV is currently the better DVR Plex is MUCH better at media organization.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#6
|
|||
|
|||
I changed the setting to allow SageTV to insert the season and episode numbers. Is there a setting for allowing spaces, or any other settings that might help?
|
#7
|
|||
|
|||
Quote:
Would there be any detriment to just adding a script to the sagetv docker? It seems like the best use of resources. If the script is run from the appdata folder it should survive an upgrade, right? If I do build my own docker container, is there a template I can start with that might help point me in the right direction? Thanks! |
#8
|
|||
|
|||
Shut down SageTV, modify your Sage.properties file to set extended_filenames=true, and start it back up.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#9
|
|||
|
|||
Quote:
I'm working on a php script now to add spaces to the recordings, then pass them to the phoenix renamer, then move them into their own folders based on show name. |
#10
|
||||
|
||||
The phoenix renamer shoudn't need spaces in the names. It can understand CamelCase and the sagetv Airing format.
__________________
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 |
#11
|
|||
|
|||
If you import as TV or Movies, yes. If you import as Home Videos as I suggested, most definitely the name does not matter. There is no naming convention or season/episode data for home movies.
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker Tuners: HD Homerun Quatro (OTA) Clients: NVidia SheildTV x3 |
#12
|
|||
|
|||
Just to be blunt, then what's the point?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#13
|
|||
|
|||
Wow, really? I just provided an extremely simple option to the OPs question on how to get SageTV recordings into emby and even thought I was pretty transparent on its limitations. Will it work? Yes. Will it meet the OP's needs? To be blunt, that's not your call.
__________________
Server: Xeon E3-1225, 32GB RAM, Open Media Vault 5, SageTV Docker Tuners: HD Homerun Quatro (OTA) Clients: NVidia SheildTV x3 |
#14
|
|||
|
|||
Quote:
IMHO, it's better to have things work seamlessly as expected rather than having vastly disparate experiences if you must have separate media platforms.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#15
|
|||
|
|||
Ok, with the "extended filenames" and season/episodes added to the recording name, it appears the only thing emby needs is for each recording to be in its own directory, then it should pick it up, is that correct?
So let me know if this sounds good. Sage records into a tv-recordings directory as, for example: 60Minutes-S50E49-521704-0.mpg If I parse out the title as 60Minutes, create a directory called 60Minutes, put a Season 50 directory inside there, and put this file in that directory in a place that is passed to emby, it should pick it up, right? 1. Does emby need spaces (ie 60 Minutes instead of 60Minutes)? 2. Do I need to trim the SageTV info off the end of the file? (521704-0) 3. After moving this file to another directory that sage sees, BMT should pull it back in as a recording, but now I'll have two entries for the same episode. One will fail because I have moved it but not told Sage I did. Is there a command line way to tell Sage to delete a show? (a docker command I can run in the sage docker would be great) Or, will Sage follow a symlink to the new location (that sage can see but doesn't import)? Thanks! Last edited by lewispm; 08-28-2018 at 12:21 PM. |
#16
|
|||
|
|||
Quote:
It looks like it will support spaces or underscores. But the title needs to have spaces in order to be recognized (e.g. "60 Minutes" rather than "60Minutes"). It also looks, like Plex, that Emby ignores everything after the "SxxExx". So there's no need to remove SageTV's airing ID's. I'm not certain of the folders. For Plex I have not created any kind of directory structure. All SageTV recordings are in a single folder on my unRAID server. All ripped TV programs are in a separate folder that are split out by title and season. In SageTV with extended filenames enabled all new recordings will have the appropriate spaces. Just to test I will briefly install Emby on my unRAID server to verify on my recordings.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#17
|
|||
|
|||
Unfortunately, unlike Plex, Emby appears to require TV shows be in a set folder structure (Show->Season xx).
I added both my ripped and recorded shows. Emby picks up my ripped shows fine but does weird stuff with the recordings that are all lumped in a single folder.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#18
|
|||
|
|||
Quote:
So I think I'm gonna run the phoenix renamer once on the current Sage recordings directory to get all the files that were recorded prior to me changing those settings renamed. Then I'll use my php script (so I can put it in user-scripts on the unraid server) to move recordings to their own directory on the "imports" directory nightly. And thanks for the replies! Great info! Last edited by lewispm; 08-28-2018 at 01:45 PM. |
#19
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#20
|
|||
|
|||
The phoenix-renamer fails with this msg:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Layout at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:374) at sagex.phoenix.standalone.JarRunner.main(JarRunner.java:58) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Layout at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) ... 3 more Any idea how to fix this on my mac? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving Recordings In Sage | FidgetyRat | SageTV Software | 2 | 06-04-2010 11:23 AM |
Renaming Manual recordings | Jimmy Rivers | SageTV Software | 1 | 09-01-2008 11:07 PM |
Help please, clarify moving Sage recordings to new PC | stevech | SageTV Software | 4 | 07-11-2007 10:48 PM |
renaming recordings | stevech | SageTV Software | 4 | 04-03-2006 11:45 AM |
Renaming Sage recordings through API | jominor | SageTV Studio | 4 | 03-07-2006 05:46 AM |