NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 168 169 170 171 172 … 433 Next »
How does ... use season & episode if possible and Title match work ?

How does ... use season & episode if possible and Title match work ?
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#1
2015-08-31, 12:42 PM
Hi All,

I have written a small app to update the Season and Episode columns with data gleaned from the Description column.
See http://forums.nextpvr.com/showthread.php...-EPG_EVENT

I am still getting recordings without the season and or the episode Sad
Eg. "Top Gear (Includes Sneak Peek - The Block at 928 PM)_20150831_20012130.ts" instead of "Top Gear (Includes Sneak Peek - The Block at 928 PM).S00E01.ts"

From EPG_EVENT Table
Title = "Top Gear (Includes Sneak Peek - The Block at 9:28 PM)"
Description = "Patagonia - Part 1Clarkson, Hammond and May embark on a journey to the southernmost point of South America."
Season = "0" Episode ="1"

Has anyone got any ideas why?

Match Start Of Title and Match Exact Title ... How do these work? It could save from writing another RexX Program to "CLEAN" up the FTA Data.
... to Remove the likes of "- New Episode" , " - New (Includes Sneak Peek...." etc.
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#2
2015-08-31, 01:13 PM
You might want to turn this on its head.

DVBguide will collect the EPG data from the OTA stream and create an XMLTV file. NextPVR can input EPG data from the XMLTV file ... http://myweb.tiscali.co.uk/pclare/DVBGuide/
You can manipulate the XMLTV data before NextPVR reads the file as part of updateepg.bat ... http://www.nextpvr.com/nwiki/pmwiki.php?...BatchFiles
I use this which copies the Series and Episode into the subtitle (among other transforms) but the syntax is utterly opaque ... http://forums.nextpvr.com/showthread.php...post434477

I used REXX in my mainframe days. I reckon that REXX would be good for manipulating xmltv files but I have never got around to doing anything about it.
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#3
2015-08-31, 11:21 PM
Hi Graham,

I can clean up the Database easier than I could collect and edit the XML. Smile

The data in the xml is the same as the Database (at a glance). It contains the likes of "Locked Up Abroad - New Episode" and
"Nine's Morning News (Includes Sneak Peek - House Husbands at 12:00 PM)"

I did notice that there was a single GENRE rather than composite genre as used in the db.
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#4
2015-08-31, 11:54 PM
puck64 Wrote:Hi All,

I have written a small app to update the Season and Episode columns with data gleaned from the Description column.
See http://forums.nextpvr.com/showthread.php...-EPG_EVENT

I am still getting recordings without the season and or the episode Sad
Eg. "Top Gear (Includes Sneak Peek - The Block at 928 PM)_20150831_20012130.ts" instead of "Top Gear (Includes Sneak Peek - The Block at 928 PM).S00E01.ts"

From EPG_EVENT Table
Title = "Top Gear (Includes Sneak Peek - The Block at 9:28 PM)"
Description = "Patagonia - Part 1Clarkson, Hammond and May embark on a journey to the southernmost point of South America."
Season = "0" Episode ="1"

Has anyone got any ideas why?

Match Start Of Title and Match Exact Title ... How do these work? It could save from writing another RexX Program to "CLEAN" up the FTA Data.
... to Remove the likes of "- New Episode" , " - New (Includes Sneak Peek...." etc.

you'd have to run nextpvr.exe -recurring after making any changes to the database, so that the scheduled recurring recordings will pick up the new epg_event details.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#5
2015-09-01, 02:55 AM (This post was last modified: 2015-09-01, 04:12 AM by puck64.)
johnsonx42 Wrote:you'd have to run nextpvr.exe -recurring after making any changes to the database, so that the scheduled recurring recordings will pick up the new epg_event details.

Thanks for the hint...

As for the unwanted data in the Title, no need to write a program Smile just use <StrippedEPGPrefixes> in the config.xml

Problem solved. Big Grin

Problem NOT solved Sad Like it says "<StrippedEPGPrefixes>" only strips off leading rubbish
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#6
2015-09-02, 09:06 AM
puck64 Wrote:Problem NOT solved Sad Like it says "<StrippedEPGPrefixes>" only strips off leading rubbish

Hi All,

I have updated my script that extracts the season and episode data from the Program Description.

It will now remove "annoying" (to me anyway) extraneous data, like "New", "Encore", "Season Return" and the like.
The removed data (for the most part) is appended to the description.
Entries like "Top Gear (Includes Sneak Peek - The Block at 928 PM)" all you are left with is "Top Gear"

I have attached the new RexX script, its log file and PostUpdateEpg.bat

I think that this script will mainly be used by Australian Free To Air "viewers" but the logic is valid for all regions.

The main stations hit are SBS (Season/Episode info) Nine Sydney (read Network Nine) (delete "(Includes Sneak Peek .....")

The required software to run the script (RexX and ooSqllite3) can be found here .....
Open Object Rexx is available from --> http://www.oorexx.org/download.html
ooSQLite3 is available from --> http://sourceforge.net/projects/oorexx/files/ooSQLite/

As before ...

There is no copyright or copyleft on the code I have written, use it at your own peril Big Grin

I would suggest that you copy your npvr.db3 database to a work folder and point the RexX program at that. when you are satisfied it works to your needs then point the RexX program at the Live database.
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#7
2015-09-02, 11:17 AM
johnsonx42 Wrote:you'd have to run nextpvr.exe -recurring after making any changes to the database, so that the scheduled recurring recordings will pick up the new epg_event details.

Are there any other (undocumented ???????) goodies like this ?
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#8
2015-09-02, 03:40 PM
http://www.nextpvr.com/nwiki/pmwiki.php?...ineOptions
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#9
2015-09-02, 11:06 PM
johnsonx42 Wrote:http://www.nextpvr.com/nwiki/pmwiki.php?...ineOptions

Thanks, Much appreciated. I should know by now RTFM!!!!! :o

New version of Season_Title.rex - Caters for Pt. in Description and adds to episode.
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Add Series/Episode Info to Recording Metadata andrewj 2 1,076 2023-11-20, 03:42 PM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,168 2021-09-25, 02:25 AM
Last Post: madbrain
  Rec service crashing when trying iptv streams that work in vlc pBS 30 7,264 2019-11-30, 04:27 AM
Last Post: pBS
  Channel Titles change, recurring recordings cannot be pointed to new title. GuruSR 3 1,895 2019-08-18, 06:18 AM
Last Post: sub
  Series/Episode question Bobins 4 1,736 2019-06-27, 08:50 PM
Last Post: sub
  Title/Filename Issue macgyver 2 1,130 2019-05-14, 04:51 PM
Last Post: mvallevand
  [title].ts.map jcole998 6 2,158 2019-05-12, 08:33 AM
Last Post: sub
  'FRITZ!Box 6590 Cable' as "SAT>IP" device (actually DVB-C) does not work well _Michael_ 53 11,436 2019-04-29, 05:31 PM
Last Post: mvallevand
  Season Folder Setting - What makes it Work? jksmurf 29 6,002 2019-04-10, 07:18 AM
Last Post: jksmurf
  Episodes Recorded - Sort By Season and Episode dsaunders 9 2,651 2019-04-05, 09:56 AM
Last Post: dsaunders

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode