How to clear EPdatabase in TV Server (1 Viewer)

BKCH

MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    Hi Guys - can anyone tell me how to clear the EPG database in TV Server?? Thanks.

    (Just changed my XMLTV script to allow for daylight savings change but everything that is already in the database is now wrong :( )
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    the "grab EPG" button in manual control should clear the EPG.
    you can also clear the dbo.Program Table with SQL management Studio
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    As above, the 'refresh EPG' button in the TV server management console /manual control works great in clearing the whole EPG database and the next grab is fresh.

    I have had to use it a couple of times lately as the EPG grabs haven't corectly populated new times or new data in the existing database.

    Unfortunately existing schedules don't have their times corrected witht the new data, so double check after the next new grab.
     

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,643
    775
    Göteborg
    Home Country
    Sweden Sweden
    Looks like the Refresh EPG button in Manual Control just clears the EPG. No refreshing since the Tvguide.xml was already imported before "Refreshing" it won't be imported until a new xml file is written...?

    Perhaps the button should be renamed to "Clear EPG" or if a reload will be included - "Clear and refresh EPG".
     

    kuehnch

    MP Donator
  • Premium Supporter
  • June 14, 2006
    303
    9
    44
    Cologne (Köln)
    Home Country
    Germany Germany
    I am not sure - but in my mind this button starts the EPGGrabber (that parses the EIT-EPG) after the database was cleaned up. That means, that the button-text is Ok so far and has nothing to do with XMLTV-imports. They are handled by the XMLTV-plugin itself.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Looks like the Refresh EPG button in Manual Control just clears the EPG. No refreshing since the Tvguide.xml was already imported before "Refreshing" it won't be imported until a new xml file is written...?

    Perhaps the button should be renamed to "Clear EPG" or if a reload will be included - "Clear and refresh EPG".
    the refresh epg button deletes all EPG data in the database
    the TV-Server then notices that there is no data and starts the dvb-epg grabber

    if you use XMLTV to get your guide, then you havte to starte the import in this plugin manualy :)
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,994
    29
    Melbourne
    If you want to re-import an existing xml, just open it in notepad, change one character in a program description and then save.
    MP sees this as a new XML and will import it again.
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 Picture-in-picture DE
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many tries, and it’s not clear what I am doing that makes it work on those occasions when it does. Cannot find guidance on the site. Thanks, N. Again, if anyone knows how to do this, would be much...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Replies
    0
    Views
    1K
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    1K
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue...
    I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
    Replies
    8
    Views
    787
    Hey CyberSimian you nailed it! Looks like the secret is:- After EPG Collector has Run and provided the TVGuide.xml Open MediaPortal - TV Server Configuration "Force Import" on the Plugins/Xmltv/General dialogue, (ignore the status) Go to the Mappings dialogue and Load/Refresh and Save a Group - (It does not appear to matter which...
    Hey CyberSimian you nailed it! Looks like the secret is:- After EPG Collector has Run and provided the TVGuide.xml Open...
    Hi everyone I posted in the EPG section a while back concerning MediaPortal EPG using EPG Collector and MediaPortal xmltv plugin...
    Replies
    51
    Views
    9K
    MP1 MP2 MP2 - V2.5 MP2 - V2.5 Server on Windows 11 Pro DE
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working after changing EPG from EPG Buddie to Clickfinder (TV Movie). The OS and the MP2.5 Server Software were installed several times new, but in general nothing changed. Are there any changes or setting needed for...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Replies
    0
    Views
    905
    Top Bottom