SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 08-28-2018, 03:14 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by lewispm View Post
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
it had a similar log/class error on windows, but it still processed the files. I don't have permissions set correctly on the windows VM to rename the files, but it did go through and try.

Any idea how to fix this on my mac?
Are you using this release?
https://github.com/stuckless/phoenix-renamer/releases
Reply With Quote
  #22  
Old 08-28-2018, 03:21 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by stuckless View Post
I guess this is the latest one
https://bintray.com/stuckless/sagetv..._latestVersion
Reply With Quote
  #23  
Old 11-13-2018, 01:03 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Hoping this is not a thread hijack, but I am interested in doing something similar in moving my recordings to my Plex libraries using Phoenix-renamer. I see there is a docker container at https://github.com/stuckless/sagetv-...hoenix-renamer .

Any chance someone could tell me exactly how to run phoenix-renamer from the command line using this docker? I'm guessing it's using docker run and passing the filename and setting up volumes to use?

How do you set this up to use as a watch directory? Is it a matter of editing the 'phoenix-renamer' options and starting the container? If so, how would I set the path for movies as '/data/mysagemovies' in this line:

export MOVIEDIR=${MOVIEDIR:-/opt/media/videos/movies/}


Is it something like:

export MOVIEDIR=${/data/mysagemovies:-/opt/media/videos/movies/}

Thanks for the help
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs

Last edited by dinki; 11-13-2018 at 01:07 PM.
Reply With Quote
  #24  
Old 11-13-2018, 05:47 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I created that docker, and I have no idea what it does Likely it was a work in progress to have java and everything setup to run the renamer.

Have you tried to use the commandline tool on its own.

https://github.com/stuckless/phoenix-renamer

(the download link is in the readme)

Sean.
Reply With Quote
  #25  
Old 11-14-2018, 08:35 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Quote:
Originally Posted by stuckless View Post

Have you tried to use the commandline tool on its own.
I haven't. I'm using Docker on my media server (OpenMediaVault), for a handful of things. I'm trying not to install things on the main OS if I can help it. As such, I don't have java installed so the docker container for this looked ideal. I'll give it a spin and see if I can call it from the command line. If so, I should be able to script things to run as needed.

The last piece of the puzzle for me is that once the files are moved, I then want to run a process on them that will transcode them to mp4. The resulting file will change from a .ts extension to a .mp4 extension. Do you know how I can update the sage database with the new filename?

*EDIT* So I found a docker container for java 7 and I can run it like this:

Code:
root@omv:/sharedfolders/media/sagetv/tv# docker run -it --rm anapsix/alpine-java:7 java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
How do I launch phoenix-renamer? I don't see any instructions in the readme. Do I have to do something with gradle? Will I even be able to do it using the method I'm using to call java?

Sorry for troubling you but I'd really like to get this to work
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs

Last edited by dinki; 11-14-2018 at 09:23 AM.
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
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


All times are GMT -6. The time now is 05:19 PM.


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