SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-29-2010, 10:50 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Plugin: Recipe (Text File) Viewer

This is a port of the SageMC Recipe Viewer. It allows you to specify a home directory and then browse, search, view, and print recipes (as text files). It is useful as a recipe viewer but can be used for any text files. A Recipes submenu item is added to the main menu Search item.



Attached Images
File Type: jpg recipes_1.jpg (72.2 KB, 1885 views)
File Type: jpg recipes_2.jpg (87.8 KB, 1718 views)
__________________
-Craig

Last edited by cncb; 09-05-2010 at 08:34 PM.
Reply With Quote
  #2  
Old 08-29-2010, 11:59 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Excellent! I will definitely use this (for various text files).
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #3  
Old 08-30-2010, 05:23 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
cncb,
Is there any way to filter the files that this plugin shows down to only .txt files? I have it pointed at the folder where the YAC (caller ID program from the infopopup plugin) log file gets written. This gives me a Caller ID log that I can check through Sage. However, YAC isn't configurable, and the log file writes in the YAC folder, and there are a bunch of other files in that folder as well. It would be great if it could filter those out.
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #4  
Old 08-30-2010, 07:24 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by cncb View Post
This is a port of the SageMC Recipe Viewer. It allows you to specify a home directory and then browse, search, view, and print recipes (as text files). It is useful as a recipe viewer but can be used for any text files. A Recipes submenu item is added to the main menu Search item.
Sounds like a good reason to get a tablet PC to mount on a kitchen cabinet or fridge. Apparently it has already been done with an iPad. Another reason why we need a Sage Placeshifter client for iDevices.

Youtube

__________________
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
Reply With Quote
  #5  
Old 08-30-2010, 08:08 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by pjpjpjpj View Post
Is there any way to filter the files that this plugin shows down to only .txt files?
Not currently, but I should be able to add this as an option.
__________________
-Craig
Reply With Quote
  #6  
Old 08-30-2010, 08:10 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by wayner View Post
Sounds like a good reason to get a tablet PC to mount on a kitchen cabinet or fridge. Apparently it has already been done with an iPad. Another reason why we need a Sage Placeshifter client for iDevices.
That would be cool but I foresee food stains on my iPad (if I had one) .
__________________
-Craig
Reply With Quote
  #7  
Old 09-05-2010, 09:38 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
I forgot to fill in the release notes but I updated the plugin to filter files by type. By default it filters only txt files but this can be changed in the options (there can be multiple files types e.g. 'txt;log' or '*' does no filtering). It also handles empty directories and/or searches better.
__________________
-Craig
Reply With Quote
  #8  
Old 09-06-2010, 08:47 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
The plugin update removed the viewer entirely for me.

I did the update, and it was no longer there. Then I uninstalled and reinstalled it, and it's still not there.

Any ideas? Is there a log file I could post or something?
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #9  
Old 09-06-2010, 09:28 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by pjpjpjpj View Post
The plugin update removed the viewer entirely for me.
It shows up under "Search" as expected for me. I'm still using 7.0.15, though, so are you using 7.0.16 (maybe there is an issue with the new beta)?
__________________
-Craig
Reply With Quote
  #10  
Old 09-06-2010, 07:32 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Quote:
Originally Posted by cncb View Post
It shows up under "Search" as expected for me. I'm still using 7.0.15, though, so are you using 7.0.16 (maybe there is an issue with the new beta)?
Actually, I'm using 7.0.14. Planning to upgrade this week some time. I'll let you know.

On edit: Looks like I just needed to restart Sage (perhaps you ought to add a "you must restart Sage, do you want to do so now" at the installation?).

Working great, thanks!
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.

Last edited by pjpjpjpj; 09-07-2010 at 05:36 AM.
Reply With Quote
  #11  
Old 09-07-2010, 06:26 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by pjpjpjpj View Post
On edit: Looks like I just needed to restart Sage (perhaps you ought to add a "you must restart Sage, do you want to do so now" at the installation?).
The new plugin system automatically takes care of restarts so I'm not sure why you didn't get the prompt but I'm glad it's working now.
__________________
-Craig
Reply With Quote
  #12  
Old 09-07-2010, 08:21 AM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Quote:
Originally Posted by cncb View Post
The new plugin system automatically takes care of restarts so I'm not sure why you didn't get the prompt but I'm glad it's working now.
I've only noticed a handful of plugins that require restarting Sage. Most just require refreshing the UI....

Hey, just curious, what would happen if you used this program to open something other than a text file? Say, an HTML file?
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #13  
Old 09-07-2010, 09:24 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by pjpjpjpj View Post
I've only noticed a handful of plugins that require restarting Sage. Most just require refreshing the UI....

Hey, just curious, what would happen if you used this program to open something other than a text file? Say, an HTML file?
I meant refreshing the UI which is all that is required for this plugin since it doesn't add any JAR files.

It will display any file as text so html will just show the source, binary files will show meaningless characters, etc.
__________________
-Craig
Reply With Quote
  #14  
Old 10-11-2010, 07:35 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Thanks for this amazing addon! Two quick questions:

1) How do I print a recipe? If I'm on my extender, is it smart enough to print to the default printer on my sageTV server? I know the sageMC version has a print function.

2) Where can download text based new recipes compatible with this program?

Thanks!
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #15  
Old 10-12-2010, 08:09 AM
OneOfMany OneOfMany is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Winnipeg
Posts: 374
I'm not sure about the Print capability in the new version since I am still on v.6.

As far as recipes, we often search the net for recipes based on ingredients we have on hand. Then in the web browser, we simply copy/paste the recipe into Notepad, add a few returns to make it look good, then save the .txt file to the recipe shared directory with a nice descriptive name, and voila!

Grant
Reply With Quote
  #16  
Old 10-12-2010, 10:53 AM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Okay, so where are all the text based recipe files??

Okay, I've already spent a half an hour searching for collection of recipes in txt file format. I've ever found stuff files labled E343.txt, Eser.txt, etc or files with almost a dozen separate recipes in them.

Can someone please point me to a zip file I can download with a huge collection of recipes with text files labeled correctly? I certainly dont want to have to go through each recipe and copy and paste one screen at a time. That would take years, not a few minutes. I can guarantee my wife wont download these files. However, she will cook them for me if I can provider her the repository of cleanly labeled text files.

If there isn't a free, large collection of txt files with which are correctly labeled and have a gigantic variety of foods and deserts, could someone please be kid enough to zip up their txt folder and send it to me via a private message?

Thanks in advance,
Michael
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #17  
Old 10-12-2010, 11:23 AM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Quote:
Originally Posted by mkanet View Post
If there isn't a free, large collection of txt files with which are correctly labeled and have a gigantic variety of foods and deserts, could someone please be kid enough to zip up their txt folder and send it to me via a private message?

Thanks in advance,
Michael
Or, post in the forum for all to use.

Years ago I had a file that had about every mixed drink you could think of. This seems like a great idea for an extender in the bar. Gee... another project for me. LOL
Reply With Quote
  #18  
Old 10-12-2010, 11:37 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Try this:

FireFox addon to grab recipes from the net

Then go to grassroots recipe in Mastercook format
or Living Cookbook
or MealMaster

This addon works as the MasterCook IE webimport toolbar, but is more powerful:

- It can export directly to MasterCook or to a file in different formats that then can be imported in other recipe systems.
- It can export directly to Living Cookbook.
- For sites that recipefox recognize it can import the entire recipe with one click (Grab It).

GrabIt is really powerful. You navigate to a recipe on a supported web page, press the 'Grab It' button, then select 'Export Them', and select MasterCook. MasterCook opens and asks what cookbook to put the recipe into. Two mouse clicks.

It works for other web sites by identifying the different recipe parts, like MasterCook's web import bar. You can collect recipes from several web sites at one time, before you transfer them to MasterCook. You can even use multiple tabs for multiple sites at one time, grabbing recipes from them and holding them for export to MasterCook or Living Cookbook.

I haven't used to but give it a try.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.

Last edited by gplasky; 10-12-2010 at 11:41 AM.
Reply With Quote
  #19  
Old 10-12-2010, 07:09 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by mkanet View Post
1) How do I print a recipe? If I'm on my extender, is it smart enough to print to the default printer on my sageTV server? I know the sageMC version has a print function.
By default it uses notepad to print on the server, so make sure you can print from notepad directly on the server first before you try it from an extender. If you are running Sage as a service, I think you have to check "Allow service to interact with desktop" in the service login settings before the extender can launch notepad and print (I didn't change any of the printing "code" so it should work the same as the SageMC plugin).
__________________
-Craig
Reply With Quote
  #20  
Old 10-12-2010, 07:36 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Thanks Gerry, but what I was hoping for was someone with a large list of text files zipped up ready for download.. I guess Im just being lazy. Surely there has to be someone here who uses this app seriously with an extensive library. I installed the firefox addon, not sure how it would work if its expecting a program that I dnt have installed. MealMaster, couldnt have access to anything until I registered. I registered, but then now i I have to wait for a moderator to manually approve my registration.

Anyone here willing to zip up all their recipes? Low fat, deserts, italian, etc...

Quote:
Originally Posted by gplasky View Post
Try this:

FireFox addon to grab recipes from the net

Then go to grassroots recipe in Mastercook format
or Living Cookbook
or MealMaster

This addon works as the MasterCook IE webimport toolbar, but is more powerful:

- It can export directly to MasterCook or to a file in different formats that then can be imported in other recipe systems.
- It can export directly to Living Cookbook.
- For sites that recipefox recognize it can import the entire recipe with one click (Grab It).

GrabIt is really powerful. You navigate to a recipe on a supported web page, press the 'Grab It' button, then select 'Export Them', and select MasterCook. MasterCook opens and asks what cookbook to put the recipe into. Two mouse clicks.

It works for other web sites by identifying the different recipe parts, like MasterCook's web import bar. You can collect recipes from several web sites at one time, before you transfer them to MasterCook. You can even use multiple tabs for multiple sites at one time, grabbing recipes from them and holding them for export to MasterCook or Living Cookbook.

I haven't used to but give it a try.

Gerry
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
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
Best DVB Plugin? Dream vs MT vs Viewer xred Hardware Support 16 11-22-2008 02:58 AM
STV Import: Recipe Viewer for SageMC cncb SageMC Custom Interface 22 04-21-2008 11:49 AM


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


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