| |||||||
| General Support Post problems you have when using MediaPortal, or pre installation questions in here. |
![]() |
| | Thread Tools | Display Modes |
| | #21 (permalink) |
| Portal User Join Date: Mar 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
| ciao Nephilim .. ho provato il nuovo programma ma non funziona .. quando si lancia importa guida tv in MP dà errore .. file non valido non trovato ?! Sono tornato alla versione precedente e funzionava ! |
| | |
| | #22 (permalink) | |
| Portal Member Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts
Country: | Quote:
Bye, Nephilim | |
| | |
| | #24 (permalink) | |
| Portal Member Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts
Country: | Quote:
Lo trovi in allegato... Bye, Nephilim | |
| | |
| This User Say Thank You: |
| | #25 (permalink) |
| Portal Member Join Date: Jun 2005 Location: Bolzano Age: 37
Posts: 240
Thanks: 32
Thanked 5 Times in 5 Posts
Country: | Thanks I currently use xmltv -slow but this tools seems to be interesting, I'm going to try it as soon as possible and let you know.
__________________ Roby Download italian myvideos IMDB script yahoo.it Download italian myvideos IMDB script mymovies.it Visit my iPod Italian site: http://www.ipoditalia.it |
| | |
| | #27 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Venice Age: 41
Posts: 71
Thanks: 7
Thanked 2 Times in 2 Posts
Country: | Hi Nephilim, I have tried your new '--subtitle' switch. The value of the season number and of the episode number of series TV is now loaded in the MP database, but is not eliminated the text that precedes the episode title. This would not be a problem at skin level, but it confuses the MP function that assigns the file names to the recordings. This is a common template for TV Series recording: ![]() With the actual version of your grabber, this fragment of tvguide.xml... Code: <programme start="20080126210500 +0100" channel="898">
<title lang="it">Cold Case</title>
<sub-title lang="it">2' Stagione Ep.14 - 'Vittime di guerra'</sub-title>
<desc lang="it">Rush indaga su un omicidio del 1969, in cui il corpo di una giovane venne ritrovata...</desc>
<episode-num system="xmltv_ns">1.13.</episode-num>
<category lang="it">Fiction</category>
<category lang="it">Intrattenimento</category>
</programme>
...creates this file name after the recording... Code: Cold Case.1x13.2' Stagione Ep.14 - 'Vittime di guerra'.dvr-ms ...while it would be being desirable that it resulted so. Code: Cold Case.1x13.Vittime di guerra.dvr-ms You can notice as the season number and the episode number is wrong. IMHO, I think about a MP bug that the fact doesn't consider that the file TVGuide.xml has a base 0 numeration. This is a portion of XMLTVImport.cs that import the data: Code: if (nodeEpisodeNum.Attributes.GetNamedItem("system").InnerText == "xmltv_ns")
{
strSerEpNum = htmlUtil.ConvertHTMLToAnsi(nodeEpisodeNum.InnerText.Replace(" ", ""));
int pos = 0;
int Epos = 0;
pos = strSerEpNum.IndexOf(".", pos);
if (pos == 0) //na_dd grabber only gives '..0/2' etc
{
Epos = pos;
pos = strSerEpNum.IndexOf(".", pos + 1);
strEpisodeNum = strSerEpNum.Substring(Epos + 1, (pos - 1) - Epos);
strEpisodePart = strSerEpNum.Substring(pos + 1, strSerEpNum.Length - (pos + 1));
if (strEpisodePart.IndexOf("/", 0) != -1)// danish guide gives: episode-num system="xmltv_ns"> . 113 . </episode-num>
{
if (strEpisodePart.Substring(2, 1) == "1") strEpisodePart = "";
else
{
int p = 0;
int t = 0;
if (Convert.ToInt32(strEpisodePart.Substring(0, 1)) == 0)
{
p = Convert.ToInt32(strEpisodePart.Substring(0, 1)) + 1;
t = Convert.ToInt32(strEpisodePart.Substring(2, 1));
strEpisodePart = Convert.ToString(p) + "/" + Convert.ToString(t);
}
}
}
}
else if (pos > 0)
{
strSeriesNum = strSerEpNum.Substring(0, pos);
Epos = pos;
pos = strSerEpNum.IndexOf(".", pos + 1);
strEpisodeNum = strSerEpNum.Substring(Epos + 1, (pos - 1) - Epos);
strEpisodePart = strSerEpNum.Substring(pos + 1, strSerEpNum.Length - (pos + 1));
if (strEpisodePart.IndexOf("/", 0) != -1)
{
if (strEpisodePart.Substring(2, 1) == "1") strEpisodePart = "";
else
{
int p = 0;
int t = 0;
if (Convert.ToInt32(strEpisodePart.Substring(0, 1)) == 0)
{
p = Convert.ToInt32(strEpisodePart.Substring(0, 1)) + 1;
}
else
{
p = Convert.ToInt32(strEpisodePart.Substring(0, 1));
}
t = Convert.ToInt32(strEpisodePart.Substring(2, 1));
strEpisodePart = Convert.ToString(p) + "/" + Convert.ToString(t);
}
}
}
else
{
strSeriesNum = strSerEpNum;
strEpisodeNum = "";
strEpisodePart = "";
}
}
}
If my hypothesis is exact, it is not worth to wait the bug correction, could want us a lot of time. Considering that your grabber starts to be used by many other softwares (MCE, DVBViewer, ect.) rather of hard-code solution, would suggest to add a further switch ( --base1 ?) to correct the numeration. But this is only my modest opinion... A last thing. If you think that to cut a part of subtitle creates skin problems, don't worry. From GUITVGuideBase.cs, these are all the MP supported tags, inclusive SeriesNumber, EpisodeNumber and EpisodeName:Code: GUIPropertyManager.SetProperty("#TV.Guide.Title", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.Time", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.Description", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.Genre", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.EpisodeName", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.SeriesNumber", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.EpisodeNumber", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.EpisodePart", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.EpisodeDetail", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.Date", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.StarRating", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.Classification", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.Duration", string.Empty);
GUIPropertyManager.SetProperty("#TV.Guide.TimeFromNow", string.Empty);
King regards, xavier. |
| | |
| | #28 (permalink) |
| Portal Member Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts
Country: | Hi xavier, thank you for the feedback. About the episode and season number (as you recognized) it's a MP bug, because XMLTV guide is 0 based. Add a --base1 switch is easy. I'll do it soon. About to strip the subtitle... I'll try... Bye, Nephilim |
| | |
| | #29 (permalink) | |||
| Portal User Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Quote:
Grazie 1000 Nephilim, sei un grande , ora funziona alla PERFEZIONE con DvbViewer utilizzando il parametro --addstoptime !!! | |||
| | |
| | #30 (permalink) |
| Portal Member Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts
Country: | New version. - Added the "--base1" switch for episodes base 1 numeration - Strip subtitle when "--extrainfo" is set - Better download management - Litte bug-fix Please, let me know. Bye, Nephilim Last edited by NephilimDM; 2008-02-10 at 22:49. |
| | |
![]() |
| Bookmarks |
| Tags |
| epg, grabber, italy, sky |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sky EPG Listings? | kevin081780 | WebEPG | 0 | 2007-09-21 17:28 |
| proble strange with channel sky italy | malcom67 | pre 1.0 RC1 | 3 | 2007-03-26 11:08 |
| SKY EPG | xero01uk | General Support | 2 | 2006-08-17 23:52 |
| EPG in UK with sky | xero01uk | WebEPG | 4 | 2006-08-17 23:27 |
| EPG for UK Sky? | allanmb | Codecs, External Players | 1 | 2006-03-30 00:02 |