|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SageMC - .my files
I've searched around the forums and haven't been able to decipher what exactly .my files do for me.
Can anyone give a quick run-down for me of what they are and why they'd be beneficial? -DAn |
#2
|
|||
|
|||
Quote:
.my files are simple text files that contain show info like Title, Description, Year, etc, and are named exactly the same as the corresponding video file, just with a .my extension. If a .my file is present in the same directory as the video file, SageMC will show this information in the 'Program Info' menu, instead of the info available in the wiz.bin. .my files are useful for those who externally compress their TV shows and want to preserve the show information (after the compression and moving the video into the Video Library all that info is gone, unless you use the V6 built-in compression).It can also be valuable if you have imported videos for which neither IMDB or DVD Profiler can provide show info, or if you simply want to customize the info shown for certain videos. Dirk |
#3
|
|||
|
|||
Quote:
What seems to have happened with my Sage is that during a system upgrade (involving a disk clone), my compressed shows have been removed from the "Recorded Shows" section and now only show up in the "Video Library." (the MPEG2 shows show up just as before). In the future, I can create .my files even for compressed shows using the built-in compression and use that info as a back-up in case anything ever happens to wiz.bin?? -Dan |
#4
|
|||
|
|||
H
I'm also a newbe and as such interested in everything. Cane anybody tell me how a .my should look like? Which format is necessary, which fields can be used? Thanks webdb |
#5
|
||||
|
||||
Here you will find an example of a .my file as well as information and an import to use them if you do not have SageMC installed.
Quote:
Example Star Trek. I had watch some episodes prior to buying the DVD set then I ripped the episodes to .mp4 files. I used the .my file stvi to make .my files for all Airings of Star Trek. This created a .my file for every ST episode that I had marked as watched and all future airings in the guide (2 weeks worth).
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#6
|
|||
|
|||
Quote:
Dirk |
#7
|
|||
|
|||
Will SageMC generate .my files when running in service mode?
It never seems to work for me. Only when I run SageTV server directly. I've set for automatic generation but no dice. Following are set in my sage.properties sagemc/generate_my_files=true sagemc/enable_my_files=true Last edited by mreamy; 01-04-2007 at 07:36 PM. |
#8
|
|||
|
|||
Quote:
Dirk |
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
Dirk,
For me the .my file addition is one of the best updates in SageMC. However, there is a problem which spoils the fun: My epg is produced by xmltv. In the programdescription part of all programs in my epgdata.xml there are double Linefeeds (most of the time immediately after the first word of the descriptioncontent). I get the impression that the translation from epgdata to .my-file sees these Linefeeds as the termination of the descriptionpart (in stead of </desc>). The result is that in all .my-files the program-info shows only the first word of the description. Am I wright in my assumption and if yes, could you please do something about it? jan |
#11
|
|||
|
|||
I have solved my problem (fixed the symptoms) by adding to my grabber a script that replaces the linefeeds in the middle of the programdescriptions by spaces. It works now the way it should, so I am happy with it.
I am surprised though, that nobody reacted to my post. I use TVGIDS.nl as the source of my epgdata and thought most people in Holland (and some in Begium?) do the same. So I just wonder if they don't have the problem I had (?). Or is nobody using the .my-file, which I can hardly believe? jan |
#12
|
||||
|
||||
Jan,
I'm also using XMLTV - Belgium/Flanders - but get the data from www.teveblad.be. I use JXMLTV v0.4.0. - should upgrade to v0.6. The EPG data provided does not include linefeeds, so I do not have that issue. However, would like to know if you checked at the time the .my file? I believe that if the .my file includes in its description a linefeed, SageTV only displays the text until the first linefeed (so same result as you had). If you haven't checked the .my file at the time, it may not have been a problem of not all data being copied into the .my file, but actually to be copied too good - linefeeds included. And those linefeeds caused the problem when SageTV was reading the .my file. Jan
__________________
If we knew what we were doing, it wouldn't be called research, would it? Albert Einstein (1879-1955) |
#13
|
|||
|
|||
Jan,
Yes the timing of the creation of the .my-file may have to do with it. I cannot check that, since at the moment my epgdata.xml does not have any linefeeds in the descriptionpart any more. What I know for sure is that: When I record a program, Sage creates the mpg file in my capture directory. When after that I select this recorded program, Sage shows the complete description, including linefeeds. When I now do a "send to .my File" Sage creates a .my file with the same name as the recording. When I move the recording and the .my file (with or without changing both names) to one of my video-library directories and do a rescan, the recording shows up in this new directory, but the program-info only shows (in many cases) a one-word description. When I open the .my file in notepad, all the description-info is there, but (in many cases) after the first word of the description, there are one or two characters which I cannot produce on my keyboard. They look like little square zero's. If I look in the epgdata.xml file, it shows in this position of the programdescription two linefeeds. When in notepad I change the little square zero's by a space and save the .my file, the problem is solved and the program-info shows the complete description again (now without a linefeed after the first word). I could of course always do it this way, and modify the .my file if I decide I want to keep a recording in my video-library, but I have chosen to automate this by taking the linefeeds out of the description in the epgdata.xml. I call this fixing the symptoms, because the real solution would be if the .my file (that is created after the recording) would be allowed to have linefeeds. jan |
#14
|
||||
|
||||
SageTV .my file bug?
Jan,
Yep, that's it. Those squares are the linefeeds. I would even consider naming this a SageTV issue, not a .my file issue. The linefeeds are processed correctly through the EPG data into the SageTV data, and are displayed correctly. They are copied correctly in the .my file, but than SageTV does not display them anymore correctly. Jan
__________________
If we knew what we were doing, it wouldn't be called research, would it? Albert Einstein (1879-1955) |
#15
|
||||
|
||||
Quote:
It may be possible for flachbar to remove the linefeeds when creating the .my files. In the import for the default STV I needed to do that with some IMDB data. John |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|