|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
|||
|
|||
Quote:
sagetvcatchup/plugins/Iplayer/playEpisode.groovy contains the command line for iplayer. A temporary work around would be to edit this directly until I can build in a config parameter. Let me know the command line that is working for you please. Michael Last edited by michaeldjcox; 11-19-2014 at 04:45 AM. |
#62
|
|||
|
|||
Quote:
C:\Program Files (x86)\SageTV\SageTV\sagetvcatchup\config called sagetvcatchup.properties It contains properties Iplayer.scriptDir=C\:\\Program Files (x86)\\get_iplayer\\ and recordingDir=C\:\\Program Files (x86)\\SageTV\\SageTV\\sagetvcatchup\\recordings I would disable the plugin, edit those properties in the file and re-enable. If both are on the same disk drive then it will be fine - though I do promise to fix this and use absolute paths. Quote:
This is SageTV that is creating these files. Its used by SageTVs online services when every time you access a video. There may be a way of changing that dir - I've had a brief search of the forums and nothing has come up. It is though the windows users temp directory defined by env variables e.g. TEMP=C:\Users\Michael\AppData\Local\Temp TMP=C:\Users\Michael\AppData\Local\Temp So I guess at a windows level these could be changed I believe SageTV is not very good at clearing up this directory and I think there is a plugin that will help with this - though it looks a little old. If you use online services much you will probably find a lot in there - you might be able to free up some precious space. Michael Last edited by michaeldjcox; 11-19-2014 at 03:05 AM. |
#63
|
|||
|
|||
oh my gosh, it's working!!
I didn't have much clue where in the file to put the command parameter so I just kept looking at it then changed these two lines to add --modes flashhd (not sure if I had to do both lines) and then restarted the server and it's showing live and recording! thank you - here are the edited lines: String command = iplayerCmd + " " + recording.getUrl() + " --modes flashhd --attempts 0 --force -o " + recording.getRecordingDir() + File.separator; if (IS_WINDOWS()) { String relative = GET_RELATIVE_PATH(iplayerDir, recording.getRecordingDir()); command = "cmd.exe /c \"" + "cd " + iplayerDir + " && "+ iplayerCmd + " " + recording.getUrl() + " --modes flashhd --attempts 0 --force -o " + relative + File.separator + "\""; } |
#64
|
|||
|
|||
#65
|
|||
|
|||
Will try it today.
I was having a terrible problem - stuttering, spinning circle trying to delete files - I tried all the Java stuff thinking perhaps the plugin was eating it up - was going to write you but thought I'd muck about a little more. Good thing - turns out it was my Lacie drive dying - I've moved all the files elsewhere and everything is super. I really do love this plugin and want to thank you so much for all your hard work! julie |
#66
|
|||
|
|||
Just tried v0.3.4, all working great for me now, thanks so much for this!
__________________
Server: Win7 64bit; i5 2500; 32GB ram; Blackgold BGT3595; 18TB + 120GB SSD; Edgestore DAS401T; DVBLink; Oscam; Omnikey 3121 Lounge Client: HD300; Yamaha RX-V765 connected to 55" Furrion 1080p LCD; Logitech Harmony One remote Kitchen: HD300 32" LCD, Bed 1: HD300 - 40" LCD, Bed 2: HD300 - 24" LCD, Bed 3: HD300 - 22" LCD |
#67
|
|||
|
|||
Quote:
So the iplayer command line is now editable in the plugin configuration menu in the sagetv setup area and you will probably need to reapply the changes you made manually before. Probably best done from sageTV client running on a PC. You can also edit the sagetvcatchup properties file again provided sagetv is down or the plugin disabled. Though I had some problems doing this- the old values kept coming back whatever I did. I suspect sagetv keeps some copy of files that are part of a plugin and restores them on plugin enable. Michael |
#68
|
|||
|
|||
Sorry but I didn't have success. Every recording I try gives this message:
The requested media file was not found on the server (I was able to access the files on the DOS get_iPlayer) Also, the new save directory reverts to the default if I restart the server (restarting just the client is fine). I reverted to my SageTV backup and the older version of the plugin and all is well again. But I forgot to save the log before I did that - I can send you a copy tomorrow if you want it. thanks, julie |
#69
|
|||
|
|||
oops - just saw your message - sorry. I can't see a place to edit the iPlayer command line - is this is plugins - installed - SageTV Catchup - Configure plugin or is it hiding (from me) elsewhere?
|
#70
|
|||
|
|||
Yes exactly there. Labelled iplayer command
|
#71
|
|||
|
|||
I've checked at least 20 times and I'm probably blind but I can't find that command in the plugin configuration - first listing is Catalog progress, then Start cataloging, Stop cataloging, Recordings in progress, Recording processes, Stop recording, Temporary recording dir, Web server port, Catchup plugin port, Catchup Server port, then a bunch of timeout ones, then some Channel enabled ones which are false till iplayer enabled, after that is ITVPlayer and the last is test.
|
#72
|
|||
|
|||
also, and I'm sorry to be a pain, but the new playEpisode.groovy is quite different from the old so I'm not sure where to insert the --modes flashhd that I used previously.
Have to go out now but will try anything you suggest when I return. And no problem if you haven't time - the old one works. thanks again. |
#73
|
||||
|
||||
Quote:
Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#74
|
|||
|
|||
Generally i like to not interfere with sagetv as far as possible.
E.g. risk polluting sagetv properties that might not be cleaned away after the plugin is removed For the same reason i prefer to run the main functions in a seperate jvm with its own classpath rather that add jars to sagetv s classpath. Michael |
#75
|
|||
|
|||
Quote:
Michael |
#76
|
|||
|
|||
Quote:
Never mind its no longer in the playEpisode.groovy script which now looks like this: Code:
: iplayerCmd = BUILD_RECORDING_COMMAND(recording); ArrayList<String> output = new ArrayList<String>(); ArrayList<String> errors = new ArrayList<String>(); Process proc = EXECUTE(iplayerCmd, "get_iplayer", output, errors); : e.g. Code:
# # BBC IPlayer # # (for command: use windows 8 char folder names, <URL> where the iplayer url should go, and <DIR> for the recordingDir above) # Iplayer.skip=false Iplayer.programmes= Iplayer.maxprogrammes=9999999 Iplayer.command=cmd.exe /c "cd C\:\\Progra~2\\get_iplayer\\ && get_iplayer.cmd <URL> --attempts 0 --force -o <DIR>" # I will try and fix the configuration of that property over the next few days. Michael |
#77
|
|||
|
|||
all is working now - thank you!
enjoy the rest of your weekend!! julie |
#78
|
|||
|
|||
Awesome.
I released a 0.3.5 which has the command editable in the config screen. Michael |
#79
|
|||
|
|||
Success.
I have this working now. To test that everything worked I did move Get_iPlayer back onto the C: Drive. Going to test to see if I can move Get_iPlayer back to my D: Drive and move everything off the C: Drive. Thanks for all your work. Dean
__________________
Darkside: DVB-C x4 DVB-T2 x2 HD-300 x4 Lightside: DVB-C x2 DVB-T2 x4 HD-300 x3 |
#80
|
||||
|
||||
Thought i'd try this now it looks like people are getting it working.
Plugin loaded and done its cataloging fine but i'm not getting anything showing in the "more online services".Done a no. of reboots and no luck. Any ideas.
__________________
Server: Win 10 64bit Core i3 8GB 20TB, TBS6985, TBS6984, Sage 9. Clients: 5 x HD300, 2 x HD200, Placeshifter. Last edited by jamesdisco; 11-25-2014 at 09:09 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Playback Pauses/Hangs then FF catchup | graywolf | SageTV Software | 22 | 11-28-2010 10:12 AM |
Odd playback issue, pause 3 seconds, then quick catchup? | IncredibleHat | SageTV Software | 14 | 09-28-2006 08:36 PM |