SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-19-2009, 01:57 PM
LoopyWolf LoopyWolf is offline
Sage User
 
Join Date: Jan 2009
Posts: 48
Season and Episode tool script

I recently made a couple of scripts to make my Sage Media Center work better for me, and one of them was a little tool that peppers TV episodes with their season and episode numbers (handy for organizing onto disks)

Now, this is just a couple of scripts I made for myself, it's really not along the same lines as some of the kickass for-the-public utilities you will find here, but if somebody finds it useful anyway, that's great =) I just wanted to give a little back

Requirements:
As far as I remember, you will need the following for this to work:
1. PHP and Java
2. Stuckless' BMT tool (awesome)
3. You will need to know or figure out enough PHP to be able to go in and change the directories to match those on your system. On mine, the directory where the files I want to affect is called "D:\ready to burn" and my metadatatool is located at "c:\program files\sagetv\sagetv"

Scripts:
The script it broken down into 4 steps, because step 1 created a batch file which is run in step 2.

Again, this probably isn't useful to anyone but me, but if you happen to be looking for exactly this, feel free to use it.

Files (in cep.zip) I have these in C:\php but it shouldn't matter where you have them
. cep-process.bat : this is your main batch file that runs the rest. Run this
. cep1.php collects the list of files (*.avi) and creates cep2.bat
. cep2.bat calls the BMT tool to get the information on the .avi s
. cep3.php finds the collected information, and renames the .avi s appropriately
. cep4 cleans up

Good Luck!
Attached Files
File Type: zip cep.zip (2.8 KB, 214 views)

Last edited by LoopyWolf; 09-19-2009 at 02:01 PM.
Reply With Quote
Reply

Tags
script


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
add Season and Episode numbers LoopyWolf SageTV Customizations 2 09-12-2009 01:41 PM
Looking for Title/Season/Episode naming formats to support for metadata scraper evilpenguin General Discussion 17 01-08-2009 04:43 PM
Season and episode information? CadErik SageTV EPG Service 7 10-03-2006 03:06 PM
season pass mtfred99 SageTV Software 14 07-24-2005 06:26 AM
Getting Episode/Season info in recorded show names? kelemvor SageTV Software 4 04-18-2005 07:58 AM


All times are GMT -6. The time now is 04:11 PM.


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