|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#961
|
|||
|
|||
wayner,
Are you recording to the root of the drive ... which is not a good Idea or are you recording to a directory on the drive? For Example I record to m:\sagem my mapping looks like this :MAPDIR "M:\\sagem" "\\\\sageserver\\M$\\sagem"
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#962
|
|||
|
|||
Quote:
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#963
|
|||
|
|||
I am recording to the root as this is a 1.5TB drive split into a system partition and a 1.2 TB data partition for TV shows. Why is recording to the root a bad idea?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#964
|
|||
|
|||
It comes down to permissions... It is easier to control permissions on folders then the root of the drive... Also just my preference I like to keep recordings grouped together not on the root where other type of files might get written.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#965
|
|||
|
|||
That's true about permissions as Windows seems kind of wonky about permissions for the root of a drive. But what files get written to the root of a non-system drive?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#966
|
|||
|
|||
A question on converting media variables to SJQ v3 from v2. I used to use the following line:
Code:
:TRANSCODEOPTS "MPEG4-Good Quality Deinterlaced AVI" "false" "\\\\sageserver\\f$\\videos\\Isabella's Shows\\Diego\\%s%.avi" _TRANSCODE Code:
:TRANSCODEOPTS "MPEG4-Good Quality Deinterlaced AVI" "false" "\\\\sageserver\\f$\\videos\\Isabella's Shows\\Diego\\$.GetShowEpisode{}.avi" _TRANSCODE
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#967
|
|||
|
|||
Nope, the latter should work file. $.test{} inside the quotes.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#968
|
||||
|
||||
GetAiringTitle - case sensitive?
Is it possible to use $.GetAiringTitle{} and get it to ignore the case sensitivity for the program title. For example: if the program title is News, NEWS or news, I would like not to have to try to anticipate every combination in the rule set.
if [IsObjMediaFile == "true" && $.IsTVFile{} == true && $.IsFileCurrentlyRecording{} == false && ($.GetAiringTitle{} =* "News" || ($.GetAiringTitle{} =* "NEWS" || ($.GetAiringTitle{} =* "news")))] Is this already possible? Cheers ZZMystique
__________________
ZZMystique My setup: Server: SageTV v7, Intel i5, 8GB, 180GB SSD, 4TB HDD, Win7HP & (DVB Viewer Pro with DVB Viewer for SageTV using 2xTBS6281 DVB-T2). Last edited by zzmystique; 08-13-2010 at 04:21 AM. Reason: error |
#969
|
|||
|
|||
All tests are case sensitive. Open an issue ticket for case insensitive testing, but I wouldn't hold your breath for it because to make this change is not trivial.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#970
|
||||
|
||||
Currently, running
Quote:
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone' Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!! |
#971
|
|||
|
|||
The task client is the same one you'd have been using for SJQ v3.0.x. If tasks move to the running state, but aren't actually running then have a look at the task logs from the gui, do they give any clues? What state does the task end up in (completed, failed or stuck in running)? Do the SJQ server logs report any errors?
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#972
|
||||
|
||||
Thanks slugger. I found
Quote:
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone' Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!! |
#973
|
|||
|
|||
I know you can get around this with the MAPDIR command in SJQ, but does it make more sense to use UNC paths rather than drive letters, particularly if you are using SJQ clients on other PCs?
Is there any downside to this strategy - my old system (V6 on WHS) I used UNC paths as my media folders were all WHS shares but on my new system (V7 on XP)TV is on the E drive and videos on the F drive and I didn't think of this when I set the system up a few weeks ago. It is not too late to change if UNC makes more sense.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#974
|
|||
|
|||
Go to SageTV/jetty/contexts/ and open sjq.context.xml. Resave the file (forcing the time stamp to update). That will restart SJQ.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#975
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#976
|
|||
|
|||
Slugger,
With the new "User Categories" in SageTV7 is it possible to do a test against them?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#977
|
|||
|
|||
Quote:
If that's the case (someone will have to nudge Opus4 to confirm and/or study the implementation in the STV) then SJQ already supports it in that you can pull metadata about an object and test against it. All you need to know is the name of the metadata property being used for the user categories implementation. Let's say it's called "UserCategory". A test like this will work with the current version of SJQ in the repository: Code:
if [IsObjMediaFile == true && $.GetMediaFileMetadata{UserCategory} == "DB's Favs"] { MyTaskForDBsFavs } Code:
if [IsObjMediaFile == true && $.GetMediaFileMetadata{UserCategory} =* "Vinny's Favs"] { MyTaskForVinnysFavs } Finally, even if I missed new API calls that support this feature, as long as the API calls start with Get, Is, or Has (i.e. GetMediaFileUserCategory, IsMediaFileInUserCategory, etc.) then SJQ already automatically will allow calling of the API call in a test.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#978
|
||||
|
||||
The User Categories can be saved as comma separated lists under "UserCategory" metadata for a MediaFile and under the Favorite & Manual Recording properties [GetManualRecordProperty() or GetFavoriteProperty()]. All 3 values can exist at the same time. There currently is no API call for GetUserCategories() to get them all at once as a comma separated list or as an array & I don't know whether there will be in a future version.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#979
|
|||
|
|||
The one below works.. If you assign the recording itself to the category... but if you assign the Usercategory to a favorite it does not find it. I will have to dig deeper.
Code:
if [IsObjMediaFile == true && $.GetMediaFileMetadata{UserCategory} == "DB's Favs"] { MyTaskForDBsFavs }
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#980
|
|||
|
|||
Yeah, setting the user category in a favourite will not work because when SJQ processes a MediaFile object it only allows API calls from MediaFileAPI, AiringAPI, ShowAPI, and ChannelAPI. I would have to update SJQ to allow MediaFile objects to make calls against the FavoriteAPI. But I'm not exactly thrilled about doing that because other than grabbing this one property, most API calls from FavoriteAPI really don't apply to a MediaFile object. I'd be more inclined to create a new custom test or test(s) to support this (beyond the support that was automatically built in). Open the issue ticket if that's something you really want (and be clear just how quickly you really need it because I can see it slipping to SJQv4 unless there's serious demand for it).
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage Job Queue (SJQ) new release notifications | Slugger | Customization Announcements | 3 | 12-17-2009 09:59 AM |
Plugin: Sage Job Queue (SJQ) | Slugger | SageTV Customizations | 991 | 12-11-2009 03:52 PM |
Sage Job Queue Completed tasks problem | raffmanlt | SageTV Customizations | 2 | 08-18-2009 07:34 PM |
Comskip Monitor VS Sage Job Queue SJQ | personalt | SageTV Customizations | 6 | 03-02-2009 10:27 AM |
Plugin: SJQ v1.1.0RC1 Available - Testers Needed | Slugger | SageTV Customizations | 35 | 04-21-2008 08:12 AM |