| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Developer Join Date: Oct 2006 Age: 32
Posts: 1,262
Thanks: 24
Thanked 188 Times in 99 Posts
Country: | Since the last addition, we have several fields which are grabbed from the DVB EPG. These are: - title - description - star rating - parental rating - classification (according to MPAA) - genre I added the ability to name the title and description by a template. (see the screenshot below) The template is evaluated directly before the epg event is written to the db. So you can e.g. have a title template like "%TITLE% (%PARENTALRATING% years)" which would show up in the guide as "Transformers (16 years)". I thought that might be useful for some people This only works for DVB-EPG and only for newly grabbed events.
__________________ ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600 |
| | |
| This User Say Thank You: |
| |
| | #2 (permalink) |
| Portal Member Join Date: Dec 2006 Location: Graz Age: 42
Posts: 89
Thanks: 11
Thanked 0 Times in 0 Posts
Country: | This is really great! btw. is there a way to get the line-breaks from the description into the db (and probably also have a placeholder for a line-break for this new feature)? |
| | |
| | #5 (permalink) | |
| Portal Developer Join Date: Oct 2006 Age: 32
Posts: 1,262
Thanks: 24
Thanked 188 Times in 99 Posts
Country: | Quote:
Will have a look at this
__________________ ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600 | |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Apr 2007 Location: Kingston
Posts: 112
Thanks: 10
Thanked 9 Times in 6 Posts
Country: | Thanks for this addition to the epg grabber. For me, when I enable the %STARRATING_STR%, programs what have no star rating(not a movie) have the guide entry show up as TITLE <undefined>. For example, %TITLE (%STARRATING_STR%), will show up as TITLE (<undefined>) in the Guide inside MP, and as TITLE () in the web server program guide. Programs that do have a star rating, will show up with a "+" following the stars, eg. TITLE (***+) Last edited by ronsonol; 2007-09-19 at 18:38. |
| | |
| | #7 (permalink) | ||
| Portal Developer Join Date: Oct 2006 Age: 32
Posts: 1,262
Thanks: 24
Thanked 188 Times in 99 Posts
Country: | Hi ronsonol, Quote:
Quote:
* *+ ** **+ *** ***+ ****
__________________ ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600 | ||
| | |
| | #8 (permalink) |
| Portal Developer Join Date: Oct 2006 Age: 32
Posts: 1,262
Thanks: 24
Thanked 188 Times in 99 Posts
Country: | Just added the %NEWLINE% template item
__________________ ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600 |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Apr 2007 Location: Kingston
Posts: 112
Thanks: 10
Thanked 9 Times in 6 Posts
Country: | Hi gemx, Yes I think, when no star rating is available it should display nothing. As I mentioned, inside the guide is actually says <undefined> beside the TITLE of the show. As for the star rating indicator, every entry I see that has some stars beside it always has the plus. I only see *+, **+, ***+. I've checked the guide over multiple times to confirm this. The %STARRATING% seems to be numbers like 2, 4, 6, so Does the %STARRATING_STR% get determined from this value? Many thanks for your great work. |
| | |
| | #10 (permalink) | |
| Portal Developer Join Date: Oct 2006 Age: 32
Posts: 1,262
Thanks: 24
Thanked 188 Times in 99 Posts
Country: | Quote:
The %STARRATING_STR% is derived from this value. So if you only have 2,4,6 in the db the derived string is correct. That's how it's received from the DVB stream
__________________ ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600 | |
| | |
![]() |
| Bookmarks |
| Tags |
| added, based, description, dvb, epg, naming, template, title |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wrong title in EPG from dutch DVB-c | VpR | 0.2.3.0 RC1 and SVN Builds | 1 | 2007-09-01 19:47 |
| epg description - strange symbol | bindalf | Electronic Program Guide | 0 | 2007-06-21 20:58 |
| [PATCH]: Epg mhw program description grabber | crazyboy | pre 1.0 RC1 | 2 | 2007-03-14 21:55 |
| EPG description when searching using genre | Nemulate | Improvement Suggestions | 1 | 2007-01-13 11:28 |
| Movie title and description are not shown in videoOSD | Ralph | 0.2.0.0 Release Candidate 2 CVS Bugs | 1 | 2006-03-03 10:59 |