SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

View Poll Results: Is anyone interested in a java script that can read the wiz.bin file info?
Yes 66 95.65%
No 2 2.90%
Maybe 1 1.45%
Voters: 69. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-10-2004, 11:53 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
wiz.bin viewer

Is anyone interested in a java script that prints out the show info for recorded shows and also can list all the shows every watched?

Sample:
----Files----
Title: Dilbert
Episode: Charity
Description: Charity groups solicit donations at Dilbert's office.
Category: Sitcom/Animated
Starring: Daniel Stern, Chris Elliott, Kathy Griffin, Gordon Hunt, Larry Miller, Jackie Hoffman
Guest Star: Tress MacNeille, Tom Kenny, Jim Wise, Gary Kroeger
Writer: Stephen Sustarsic, David Silverman
Executive Producer: Scott Adams, Larry Charles
Language: English
Originally Aired: 5/9/1999
Show ID: EP2913840011
Airing Time: Mon 2/2 2:30 AM
Duration: 30 min.
Closed Captioned, Stereo, TVPG
Station: Comedy Central
Channel: COMEDY
Encoded by: Hauppauge WinTV PVR PCI II Capture #2 DVD Extra Long Play ~ 1.8GB per hr
File: D:\TV\Dilbert-Charity-828346-0.mpg
Recorded: Mon 2/2 2:28 AM to Mon 2/2 3:02 AM

----Watched----
Dilbert - The Name - 1/24/1999
Dilbert - The Competition - 1/31/1999
Dilbert - The Prototype - 2/7/1999
Dilbert - The Takeover - 2/14/1999
Dilbert - Testing - 2/21/1999
Reply With Quote
  #2  
Old 02-10-2004, 01:21 PM
fidget's Avatar
fidget fidget is offline
Sage Icon
 
Join Date: Jun 2003
Location: Cedar Rapids, Iowa, USA
Posts: 1,186
I would like to have a utility that will dump the database (in XML?) and then allow it to be loaded back. This would be a more convenient way to archive the data that is stored in the wiz.bin file so that I can do a clean install and still retain the important data that is stored there.
Reply With Quote
  #3  
Old 02-10-2004, 01:34 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
I think this could be very handy. Like fidget replied an export of this info would be very good too. XML, comma delimited, any type of dump would be helpful. Nice work.


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.
Reply With Quote
  #4  
Old 02-10-2004, 01:44 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
nd if you can see what is watched... perhaps you could unmark them.

- Andy
Reply With Quote
  #5  
Old 02-10-2004, 04:32 PM
Deadbolt's Avatar
Deadbolt Deadbolt is offline
Sage Expert
 
Join Date: Nov 2003
Posts: 687
I would love a way in SageTV to automatically delete "watched" episodes after a certain amount of time (per each individual favorite and manual recording)...ie Watched episode of Seinfeld...30 days later it would record the same episode again.

Deadbolt
Reply With Quote
  #6  
Old 02-11-2004, 10:13 AM
falchulk falchulk is offline
Sage Icon
 
Join Date: Sep 2003
Posts: 1,150
Hmm, I thought the wiz.bin was an encrypted file?
Reply With Quote
  #7  
Old 02-11-2004, 11:45 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Well, it may or may not be encrypted but it certainly is binary and doesn't have a published file format. I could live without a viewer if I knew the file format. My main issue is with portability. I want to be able to restore wiz.bin if I need to move the Sage server from one machine to another, but without knowing how it interacts with sage.properties I don't think it would be wise.
Reply With Quote
  #8  
Old 02-11-2004, 01:32 PM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
I recently purchased a DVD recorder and while experimenting with making my own DVD, I became annoyed by the chapter titles which came from the file names. Rather than spend a few minutes renaming the files by hand, I figured it would be a good idea to spend hours staring at a hex editor. Eventually, I figured out that wiz.bin is a relational database, which requires joining several different tables of information together to get the complete show information. Unless someone from Frey Technologies asks me not to, I plan on posting the java source code for my viewer. This will allow people to add any additional functionality they like and show the file format as I understand it.
Reply With Quote
  #9  
Old 02-11-2004, 01:42 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
That's great... you might want to send them an email before publishing since I don't think they're actively monitoring the forum lately (presumably that had something to do with the change in moderators).
Reply With Quote
  #10  
Old 02-11-2004, 04:24 PM
falchulk falchulk is offline
Sage Icon
 
Join Date: Sep 2003
Posts: 1,150
Malore, does this viewer also show the guide data? If so, I have a feeling they are going to have a problem with it. I assumed since it contained the guide data, that it was encrypted. Thats why I never tried to access it at all. Otherwise an editor would be sweet. Having an application delete the entry from the database remotely would be awesome. I have other PC's that just play the files from a share on the sage box. Now that I know this, I will have to dig around........

Last edited by falchulk; 02-11-2004 at 04:28 PM.
Reply With Quote
  #11  
Old 02-12-2004, 08:37 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Falchulk, yes it can read the guide listings, it is necessary in order to the look up the information for the recorded files.

Last edited by malore; 02-13-2004 at 02:17 PM.
Reply With Quote
  #12  
Old 02-12-2004, 01:27 PM
dvsing's Avatar
dvsing dvsing is offline
Sage Advanced User
 
Join Date: Sep 2003
Posts: 193
I think a really nice feature would be to back up your favorite settings from the wiz.bin file. These are always a pain to restore if sage crashes and takes wiz.bin with it.
Reply With Quote
  #13  
Old 02-13-2004, 10:26 AM
sudipto sudipto is offline
Sage Advanced User
 
Join Date: Nov 2003
Posts: 239
This sounds like this will be a useful utility ... but of course, you should first check with Dan and Jeff if it is okay with them if you "reverse engineer" the wiz.bin file
Reply With Quote
  #14  
Old 02-13-2004, 01:14 PM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Sorry to disappoint anyone, but Jeff won’t authorize the release of my program, because he feels it violates the license agreement. I feel it falls more in the gray area of making things compatible with Microsoft documents, but the wiz.bin does contain more than just the user’s data, so he may have a point. I also hoped it wouldn’t be a problem because, back in September I asked this about SageTV 2: Will it provide any sort of access to the data in the Wiz.bin file? I don't know how much info is stored to mark a program is watched, but if possible I would like to be able to see for example how many episodes of the Simpsons, etc. I've watched.
Narflex (Jeff) responded:
You'll be able to do that no problem. There's extensive searching, filtering, sorting & grouping capabilites with the Studio.
You'll even be able to edit EPG data from within the UI.

So, I’ll have to wait and see what the studio can do, and maybe I’ll be able to make some add-ons for it. Apparently the SageTV 2 uses a different file format, so the usefulness of this viewer would be limited anyway.

Last edited by malore; 02-13-2004 at 02:37 PM.
Reply With Quote
  #15  
Old 02-13-2004, 03:48 PM
falchulk falchulk is offline
Sage Icon
 
Join Date: Sep 2003
Posts: 1,150
Thats what I thought his response would be. The guide data is a closely protected property for all pvr software. If you can access the file, you can redistribute it.
Reply With Quote
  #16  
Old 02-13-2004, 04:24 PM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
Credit to malore for being a good Sage user and checking before releasing something that could cause Frey problems. I think we'll all be happy with the Studio when it comes out.
__________________
"Between you and me, my name's irrelevant."
Reply With Quote
  #17  
Old 03-19-2004, 10:21 AM
Jason's Avatar
Jason Jason is offline
Sage Expert
 
Join Date: Nov 2003
Location: Texas
Posts: 598
Lightbulb Wiz.bin and the MediaMVP

Quote:
Originally posted by falchulk
Thats what I thought his response would be. The guide data is a closely protected property for all pvr software. If you can access the file, you can redistribute it.


Well, here comes the dilemna... which came first... the chicken or the egg? It seems that a MediaMVP client from Frey is not coming (in the near future...) until an SDK from Hauppauge is released. Hauppauge is not releasing one soon... Which then turns all of the MVP users to third party coders to help setup a 'frontend'. Part of setting up the frontend would be the ability to review the EPG. Alas, Frey cannot allow us access to the data for fear that someone (and they are right... someone would ) distribute that info. Which leads us back to waiting for Frey to release a client for the MVP... Does anyone see the dilemna?

So now we have another dilemna... Sage and BTV are in close competition (so to speak...) for the PVR software package of choice for most folks out there. BTV users have access to the EPG data and thus have been able to put together a kludge of a front end for the MVP. This effectively gives them a MediaMVP/BTV client... something that has already been announced from Frey!

So, I ask everyone... why can it be done for other software? Is there no way to allow access to the data? We all have keys that we recevied when we purchased Sage... could those keys not be integrated into the access somehow?

If we keep on waiting for Hauppauge to release an MVP SDK, and then wait for the Frey version of the client, we will be waiting a VERY Long time. Sage is the best package so far... let's try and keep it there, by not arbitrarily stifling third party development. There has to be some middle ground that will satisfy all the parties involved... No?

-Jason
Reply With Quote
  #18  
Old 03-19-2004, 10:59 AM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
Not to harp on the subject but BTV has another advantage over SageTV when dealing with external hardware devices too (MVP or others).

BTV lets you setup folders for specific shows or types of shows. Put all adult recordings in an Adult folder (on hard drive), put all kids shows in a "Kids" folder, all normal TV shows in a "TVShows" folder and all movies in a "movies" folder. Can be done any way you want.

Because of the true directory structure on hard drive it makes it very easy to setup external devices like the MVP to access your content without special hooks. Most devices allow you to set password restrictions at the folder level (Parental control). Besides parental control/security, it makes for easy navigation on the device.

You could setup one MVP with folder mapping only to the kids shows and give this MVP to the kids. You could setup another MVP in the house with access to everything but adult content and give this to the teanager, etc...

The point of this post is to get Dan/Jeff to maybe think about letting us setup specific folders in SageTV in future versions and allow us to pick where a favorite is recorded to. This time/testing to get this working in SageTV would be an investment in the future to allow much greater out "of-the-box" functionality with the external devices.

Carlo
Reply With Quote
  #19  
Old 03-19-2004, 11:12 AM
Jason's Avatar
Jason Jason is offline
Sage Expert
 
Join Date: Nov 2003
Location: Texas
Posts: 598
Quote:
Originally posted by Cayars
Not to harp on the subject but BTV has another advantage over SageTV when dealing with external hardware devices too (MVP or others).

BTV lets you setup folders for specific shows or types of shows. Put all adult recordings in an Adult folder (on hard drive), put all kids shows in a "Kids" folder, all normal TV shows in a "TVShows" folder and all movies in a "movies" folder. Can be done any way you want.

Because of the true directory structure on hard drive it makes it very easy to setup external devices like the MVP to access your content without special hooks. Most devices allow you to set password restrictions at the folder level (Parental control). Besides parental control/security, it makes for easy navigation on the device.
I agree! While I do not want to take away the focus from the wiz.bin issue, this is a great point! The auto_categorize_epg=true in the sage.properties file does not truly perform like I had envisioned. Let the file system categorize the files...

-Jason
Reply With Quote
  #20  
Old 03-20-2004, 12:22 AM
ToonGal's Avatar
ToonGal ToonGal is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: Bay Area, CA, USA
Posts: 306
Re: Wiz.bin and the MediaMVP

Quote:
Originally posted by Jason
1) Is there no way to allow access to the data?
2) could those keys not be integrated into the access somehow?
1) There's a very EASY way to access this data. Malore showed you that he understands the structure (in the first post) and wrote a utility to decode it. Before I found this thread, I took Hackman Hex Editor to the 'wiz.bin' file and deconstructed the basic parameters of the file within two hours. Most of that time was figuring out that weird time value; hint: Unix=(hex(date*15180)/hex(5265C)). I documented the structure, but never pursued writing the utility similar to his, given I am not sure if v2 uses the same format; I really didn't want to waste my time were they different.

2) Again, easily achieved. However, Frey isn't thrilled with the potential non-customers accessing this information, and there are problems on two fronts: a) a utility that decodes wiz.bin - malore abided by their wish to not publish it, a request I will also honor, and b) any access integration is easily spoofed, by those who would care to do so, causing the same protection problem to that data.

Personally, I'm of the opinion that the data should be made "public" by opening some SDK which works with a plug-in mentality. My main attraction to Sage is the techno-savvy group which is here. Most other PVRs (non-Linux/open ones) seem to be packaged and not expandable. Sage has possibilities from its architecture which are unlimited.

I've posted before that I like the myHTPC approach, where external XML models (worst case) can be integrated into the core. I would -SO- love to become a developer for Sage, merely for the benefit of using the improved product. Hope the 'open' approach is the long-term plan to help keep up with the competition. If Sage doesn't, I know Linux ones will...
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 07:43 AM.


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