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
  #41  
Old 04-03-2005, 04:43 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by buzzerbee
sage couldn't call the wme.exe even thouugh the path was correct I think (WM encoder directory)
For this part to work, you need to use a .cmd file. I'll include the updated one with this post for simplicity sake and in future .zips for completeness.

-Adam

Edit: Removed attachement

Last edited by ajuhawk; 04-07-2005 at 05:36 PM.
Reply With Quote
  #42  
Old 04-03-2005, 05:20 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Ok i have to invest more time into seeing how that jobs folder intergrats in.
But I tried that batch and it does minimize the window. But with it not being automated just yet I would have to just bring it back up to the forground so I can start it.
Reply With Quote
  #43  
Old 04-03-2005, 05:52 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Ok got that compression thing down. Didnt realize till you said something that it was linked with Cyars stuff. But this might be a bug. When I told it to just do all of them it almost always bombed out on one saying that it can't find the XML even though I didnt tell it to use the compress/job directory for it work.
Reply With Quote
  #44  
Old 04-03-2005, 06:21 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by Dorien
Ok got that compression thing down. Didnt realize till you said something that it was linked with Cyars stuff. But this might be a bug. When I told it to just do all of them it almost always bombed out on one saying that it can't find the XML even though I didnt tell it to use the compress/job directory for it work.
I'll have to look into that...I think it's an easy fix. Actually I was thinking about that last night I use the .mpg.xml files from the same location as the .mpg file to get the info on the show name and episode title as it's easy to bring in from the XML in a clean format... thought I had it covered if it doesn't exist but I'll take a look.
Reply With Quote
  #45  
Old 04-03-2005, 07:45 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Yeah I just tried it with a single show using the Compress option and it picks the show correctly and even gets to the end of the compression. Then errors out saying that it can no longer find the XML file. I checked the location and there is indeed a XML file there. I take it that it doesnt actually use any of the info inside? My guess is that it just uses it as a maker, correct? I will try moving it in to the mpg directory and see what happens.
Reply With Quote
  #46  
Old 04-03-2005, 08:07 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by Dorien
Yeah I just tried it with a single show using the Compress option and it picks the show correctly and even gets to the end of the compression. Then errors out saying that it can no longer find the XML file. I checked the location and there is indeed a XML file there. I take it that it doesnt actually use any of the info inside? My guess is that it just uses it as a maker, correct? I will try moving it in to the mpg directory and see what happens.
Yeah, just found the error... I make the "assumption" that there will be a .mpg.xml in the input directory along with the .VPrj and the .mpg... I guess that may not be a valid assumption.

I use the jobs .xml file just as a indicator, I'm using the one in the input folder to grab the showname, etc... Anyway, let me see about fixing that, may be tomorrow night before I get it out, but I know what's wrong now anyway. Thanks for the feedback.
Reply With Quote
  #47  
Old 04-03-2005, 08:13 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Cool.

Well i put it in the video dir (XML) and it works as it should now. It makes the sub folder with the name as it should. It also creates and places within it a wmv, and two html files. One is the name of the show and one is index.html.

Niether one appear to be link in anyway to the actually wmv as it does not stream. Im sure if I wasn't so tired I could verify this for certain. I look into that tomorrow.

Also one directory up where the Main "shows_index.html" is, that is suppose to link to all others, doesnt appear to be working at all. No updates to it at all after a successful run.

I'll keep you posted with any other things I might find but going to bed now. Damn daylight savings!

Keep up the good work. Both you and Seamonkey420!
Reply With Quote
  #48  
Old 04-03-2005, 08:24 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by Dorien
Niether one appear to be link in anyway to the actually wmv as it does not stream. Im sure if I wasn't so tired I could verify this for certain. I look into that tomorrow.

Also one directory up where the Main "shows_index.html" is, that is suppose to link to all others, doesnt appear to be working at all. No updates to it at all after a successful run.
Ok, that I find odd, to say the least... I've run it on my system without trouble... Looking at the code the only thing that I can immediately see that might be causing a problem is if the .txt files aren't located in the default encoder directory "C:\Program Files\Windows Media Components\Encoder\" as I have that hardcoded for now - Obviously I'll have to change that for the next release. If those files are there then I guess I'd like to see a copy of the .html files being created...

And yeah, I too dispise the time changes!

PS - seamonkey - how about changing the title of your first post so that people have a better idea of what this thread is about (as I've noticed there's 1 or 2 others going with about the same topic)?

Last edited by ajuhawk; 04-03-2005 at 08:27 PM.
Reply With Quote
  #49  
Old 04-04-2005, 08:59 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Well, I didn't quite make it to where I wanted with the program. But I've almost got it so that it'll run automated. Barring any major disasters I should be able to post that tomorrow. After that I'll start working on the extra encoding methods that seamonkey has requested.

-Adam
Reply With Quote
  #50  
Old 04-05-2005, 02:54 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Well the shows_index.html is being updated but isnt linking correctly. So I'll investigate more tonight. Did notice that it makes a directory by show name instead of date(which is good). But I think the problem would be that it would make a seperate sub folder for every episode. Even if its from the same series. At least that is how it looks like it might be.

Would it be possible to just grab the like maybe a partial part of the name or even give us a way we can change it somehow without editing the html. Just a thought.

Looking forward to your update.
Reply With Quote
  #51  
Old 04-05-2005, 05:08 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by Dorien
Well the shows_index.html is being updated but isnt linking correctly. So I'll investigate more tonight. Did notice that it makes a directory by show name instead of date(which is good). But I think the problem would be that it would make a seperate sub folder for every episode. Even if its from the same series. At least that is how it looks like it might be.

Would it be possible to just grab the like maybe a partial part of the name or even give us a way we can change it somehow without editing the html.
Actually that is what I'm all ready doing. I take only the showname and none of the episode to create the folder with. I'm very curious as to the problem you're having as it's been working flawlessly for me.

Update forthcoming...

Update: Still working on the updated program Keep finding stuff I want to add before I release it... I will get it out tonight though

Last edited by ajuhawk; 04-05-2005 at 07:45 PM.
Reply With Quote
  #52  
Old 04-05-2005, 07:50 PM
seamonkey420 seamonkey420 is offline
Sage User
 
Join Date: Mar 2005
Posts: 49
Wink

wassup.. well.. been busy lately playing w/my shiny new PSP ! hehe..

anywho.. got back into some batch file work.. prob will stop work on batch files do this stuff since the new app that ajuhawk is working on is going to do everythign we need to!! however, ajuhawk if you need any explanations on my logic used for the batch files let me know...

but my final batch file..

setup:
unzip all files to the windows media encoder folder (ie C:\Program Files\Windows Media Components\Encoder )
then just run the wme_psp9.bat

new variables/settings to set:

pdir = location where psp video 9 looks for files to auto convert
trigger = file type that batch looks for along with mpg file to start encoding

this uses a log file like the last one i did to prevent duplicate encoding, creates the web pages and index pages all linked together, and now will move the encoded mpg to a new folder for psp video 9 to check and convert to psp format..

to get auto converting to work in psp video 9 ( http://www.pspvideo9.com ) , you have to install videora or just create a folder here: c:\program files\videora and then setup psp video 9 with the folder location and also setup the default profile to one that you want to have autoconvert the mpg movies/tv shows with...


i haven't gotten the auto converting to work in psp video 9 but once that does.. well... i'm good for a while! i'll be able to have freshly served tv on my new psp every morning.... hehe... :-)
peace

seamonkey420
Attached Files
File Type: zip psp9_wme.zip (5.5 KB, 379 views)
__________________
My HTPC:
Athon 64 3000+ 939 | MSI ATI Xpress2 Chipset mobo
ATI X600XT pci-e | Avermedia PVR 150MCE
200GB + 80GB int HD, 100GB ext
NmediaPC HTPC case w/remote/keyboard
19" & 15" LCD monitors

Sony PSP
"knowledge is power, spread the power"
http://seamonkey420.tech-recipes.com
Reply With Quote
  #53  
Old 04-05-2005, 08:16 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Man I wish i had a PSP. A buddy of mine does. It looks awsome.


ajuhawk,
This line in Shows_index.html dosent seem to be pointing it to the right directory even if i manually do it from the drive. Any ideas?
<a href="../index.htm"><font size="1">back to main page</font></a>

And it creates these two HTML files (index & fullnameofshow.html). I dont even know what the use is for the second one it creates. Because the first one has all the info it needs but seems that the index wants to go to the other to actually view. Not sure but seems a little redundent.

Even so, those links (either one) dont link to the wmv either. Man I have tried everything.

Anyway I hope this helping some.
Reply With Quote
  #54  
Old 04-05-2005, 08:23 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by Dorien
Even so, those links (either one) dont link to the wmv either. Man I have tried everything.
How about attaching a zip with a couple of your .html files in it so I can look at them and compare them to how mine look.

html structure:
shows_index.html has the index of all the shows available
index.html <-- created in each directory and contains a list of all shows in that directory.
showname.html <-- actually embeds the .wmv file to allow playback. Thus they are all relavent...
Reply With Quote
  #55  
Old 04-05-2005, 08:32 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Latest Version of SageEncoder v0.1.0

My 100th post, and it's an update to a program...

Ok, so this is v0.1.0 with lots and lots of updates, so hopefully it works wonderfully for everyone and I never have to touch it again. well, other then the updates seamonkey wants.

This program can now run automatically and will scan the input/jobs directory every 5 minutes for new files to encode. This is all driven by the check boxes on the dialog.

IMPORTANT!!! The .ini file no longer exists, therefore on first run you MUST select the setup menu and change the directories to match your setup. Mine are in there by default so I'm guessing you'll really want to do this.

Not sure what else to add as it's fairly straightforward - if you get stuck look under Quick Help and see if that answers your questions, if not, I guess I can try to help

Hope it works!

PS - when you minimize it, look by the clock, it'll be hiding there out of the way.

Attachment removed, see later posts

Last edited by ajuhawk; 04-06-2005 at 12:45 PM.
Reply With Quote
  #56  
Old 04-05-2005, 08:36 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by seamonkey420
but my final batch file..
I'll take a look at this Thursday evening and see about getting it incorporated. Shouldn't be too hard.
Reply With Quote
  #57  
Old 04-05-2005, 08:49 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
As requested.


Quote:
Originally Posted by ajuhawk
How about attaching a zip with a couple of your .html files in it so I can look at them and compare them to how mine look.

html structure:
shows_index.html has the index of all the shows available
index.html <-- created in each directory and contains a list of all shows in that directory.
showname.html <-- actually embeds the .wmv file to allow playback. Thus they are all relavent...
Attached Files
File Type: zip shows_index.zip (1.7 KB, 369 views)
Reply With Quote
  #58  
Old 04-05-2005, 08:53 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by Dorien
As requested.
lol - Think I just found the bug

Standby for update...
Reply With Quote
  #59  
Old 04-05-2005, 09:06 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
YAY you mean it's not just me! YAY hehe

Quote:
Originally Posted by ajuhawk
lol - Think I just found the bug

Standby for update...
Reply With Quote
  #60  
Old 04-05-2005, 09:19 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Well...

found another bug in the process...so hopefully I got them both fixed...let me know if this still doesn't do it (I'm running on the half asleep side...)

Make sure the timestamp on the wme.exe is 9:21PM or it's an old version.

Edit: Attachment removed, please see post #79 here .

Last edited by ajuhawk; 04-07-2005 at 05:38 PM.
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


All times are GMT -6. The time now is 06:31 PM.


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