I cant get xmlTV to update without do it manually ? (1 Viewer)

JGT

Portal Pro
February 2, 2010
68
3
Country flag
Auto update is not working I must have done something wrong. Now I have to run update.bat then import "tvguide.xml" manually from mediaportal tvserver. Is there a easy way for someone to explain how i do it right maybe ?
 

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Did you restart the TV service after enabling and configuring the XMLTV plugin? It is important to do that.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Okay, then please post log files... because I am not able to guess what the problem is without them.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    1. Open TV Server configuration.
    2. Click "open log directory" in the top left corner.
    3. Zip up all the files in that folder.
    4. Post the zip file here.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    The service error log says:
    [2014-12-01 20:55:09,218] [Log ] [17 ] [ERROR] - plugin:xmltv StartImport - File [C:\Program Files\MyXmltv\tvguide.xml] doesn't have read access : The process cannot access the file 'C:\Program Files\MyXmltv\tvguide.xml' because it is being used by another process.

    So, I guess you are leaving the program that generates the file open, and this is blocking TV Server from accessing it.
     

    JGT

    Portal Pro
    February 2, 2010
    68
    3
    Country flag
    The service error log says:
    [2014-12-01 20:55:09,218] [Log ] [17 ] [ERROR] - plugin:xmltv StartImport - File [C:\Program Files\MyXmltv\tvguide.xml] doesn't have read access : The process cannot access the file 'C:\Program Files\MyXmltv\tvguide.xml' because it is being used by another process.

    So, I guess you are leaving the program that generates the file open, and this is blocking TV Server from accessing it.
    Ok maybe so, its the update.bat that generates that file I think. How do I close that ? Maybe only restart the server ?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Maybe I am wrong...

    A closer look at the log file shows that message may have been generated while the file was being updated. After that the data seems to have been imported successfully:
    [collapse]
    [2014-12-01 20:55:09,218] [Log ] [17 ] [ERROR] - plugin:xmltv StartImport - File [C:\Program Files\MyXmltv\tvguide.xml] doesn't have read access : The process cannot access the file 'C:\Program Files\MyXmltv\tvguide.xml' because it is being used by another process.
    [2014-12-01 20:56:09,218] [Log ] [XmlTvImporter] [INFO ] - plugin:xmltv importing C:\Program Files\MyXmltv\tvguide.xml
    [2014-12-01 20:56:09,265] [Log ] [XmlTvImporter] [INFO ] - xmltv import C:\Program Files\MyXmltv\tvguide.xml
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#0 xmlid:kunskapskanalen.svt.se name:Kunskapskanalen.svt.se dbsid:2
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#0 xmlid:kunskapskanalen.svt.se name:Kunskapskanalen.svt.se dbsid:2
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#0 xmlid:kunskapskanalen.svt.se name:Kunskapskanalen.svt.se dbsid:2
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#0 xmlid:kunskapskanalen.svt.se name:Kunskapskanalen.svt.se dbsid:2
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#0 xmlid:kunskapskanalen.svt.se name:Kunskapskanalen.svt.se dbsid:2
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#1 xmlid:svt1.svt.se name:confused:VT1.svt.se dbsid:7
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#1 xmlid:svt1.svt.se name:confused:VT1.svt.se dbsid:7
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#1 xmlid:svt1.svt.se name:confused:VT1.svt.se dbsid:7
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#1 xmlid:svt1.svt.se name:confused:VT1.svt.se dbsid:7
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#1 xmlid:svt1.svt.se name:confused:VT1.svt.se dbsid:7
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#2 xmlid:svt2.svt.se name:confused:VT2.svt.se dbsid:5
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#2 xmlid:svt2.svt.se name:confused:VT2.svt.se dbsid:5
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#2 xmlid:svt2.svt.se name:confused:VT2.svt.se dbsid:5
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#2 xmlid:svt2.svt.se name:confused:VT2.svt.se dbsid:5
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#2 xmlid:svt2.svt.se name:confused:VT2.svt.se dbsid:5
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#4 xmlid:svtb.svt.se name:svtb.svt.se dbsid:1
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#4 xmlid:svtb.svt.se name:svtb.svt.se dbsid:1
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#4 xmlid:svtb.svt.se name:svtb.svt.se dbsid:1
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#4 xmlid:svtb.svt.se name:svtb.svt.se dbsid:1
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#4 xmlid:svtb.svt.se name:svtb.svt.se dbsid:1
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#5 xmlid:tv4.se name:tv4.se dbsid:14
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#5 xmlid:tv4.se name:tv4.se dbsid:14
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#5 xmlid:tv4.se name:tv4.se dbsid:14
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#5 xmlid:tv4.se name:tv4.se dbsid:14
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#5 xmlid:tv4.se name:tv4.se dbsid:14
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#6 xmlid:tv6.viasat.se name:tv6.viasat.se dbsid:9
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#6 xmlid:tv6.viasat.se name:tv6.viasat.se dbsid:9
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#6 xmlid:tv6.viasat.se name:tv6.viasat.se dbsid:9
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#6 xmlid:tv6.viasat.se name:tv6.viasat.se dbsid:9
    [2014-12-01 20:56:09,281] [Log ] [XmlTvImporter] [INFO ] - channel#6 xmlid:tv6.viasat.se name:tv6.viasat.se dbsid:9
    [2014-12-01 20:56:09,328] [Log ] [XmlTvImporter] [DEBUG] - xmltvimport: Reading TV programs
    [2014-12-01 20:56:09,531] [Log ] [XmlTvImporter] [DEBUG] - xmltvimport: Sorting TV programs
    [2014-12-01 20:56:09,546] [Log ] [XmlTvImporter] [INFO ] - XMLTVImport: Inserting 259 programs for Kunskapskanalen.svt.se
    [2014-12-01 20:56:09,546] [Log ] [XmlTvImporter] [INFO ] - XMLTVImport: Inserting 516 programs for SVT1.svt.se
    [2014-12-01 20:56:09,546] [Log ] [XmlTvImporter] [INFO ] - XMLTVImport: Inserting 657 programs for SVT2.svt.se
    [2014-12-01 20:56:09,546] [Log ] [XmlTvImporter] [INFO ] - XMLTVImport: Inserting 958 programs for svtb.svt.se
    [2014-12-01 20:56:09,546] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: InsertProgramsThread started
    [2014-12-01 20:56:09,546] [Log ] [XmlTvImporter] [INFO ] - XMLTVImport: Inserting 470 programs for tv4.se
    [2014-12-01 20:56:09,546] [Log ] [XmlTvImporter] [INFO ] - XMLTVImport: Inserting 576 programs for tv6.viasat.se
    [2014-12-01 20:56:09,593] [Log ] [XmlTvImporter] [INFO ] - Xmltv: imported 7 channels, 3436 programs status:tvguide.xml:File imported successfully;
    [2014-12-01 20:56:09,625] [Log ] [XmlTvImporter] [INFO ] - Xmltv: waiting for database to finish inserting imported programs.
    [2014-12-01 20:56:11,625] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: Inserted 259 programs to the database
    [2014-12-01 20:56:16,109] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: Inserted 516 programs to the database
    [2014-12-01 20:56:21,250] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: Inserted 657 programs to the database
    [2014-12-01 20:56:30,421] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: Inserted 958 programs to the database
    [2014-12-01 20:56:34,906] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: Inserted 470 programs to the database
    [2014-12-01 20:56:39,218] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: Inserted 576 programs to the database
    [2014-12-01 20:57:22,921] [Log ] [8 ] [INFO ] - Controller: epg start
    [2014-12-01 20:57:49,234] [Log ] [SQL EPG importer] [INFO ] - schedule.SynchProgramStatesForAll
    [2014-12-01 20:57:49,234] [Log ] [SQL EPG importer] [DEBUG] - BusinessLayer: InsertProgramsThread exiting
    [2014-12-01 20:57:49,234] [Log ] [XmlTvImporter] [INFO ] - plugin:xmltv import done[/collapse]

    Did you run that update manually?

    I assume that you have somehow scheduled this "update.bat" to run daily or weekly or something? The XMLTV plugin will only import the tvguide.xml file if/when the tvguide.xml file changes. The file won't change unless "update.bat" runs. So something must cause "update.bat" to run, otherwise the EPG will never be updated...
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    A [solved] Cant see all recorded programs General 9
    G MP 1.21 TVserver race condition when cant delete recording triggered by episode management General Support 0
    craige1 MP2 - V2.1 Cant Install Older releases 12
    framug No color in TVGuide when XMLTV without DVB EPG MediaPortal 1 Talk 59
    B xmltv - cannot import tvguide.xml australia Installation, configuration support 0
    geotwticher TV Guide EPG Grabber for Australia 2020 RIP freepg.tv General 4
    P Timeshifting in XMLTV General 2
    C Can the XmlTv Plugin handle 600+ channels? General 3
    JJDoherty 1.22.0 XMLTV not raising the following OnImportEpgPrograms event... 1.22 0
    lacanox XMLTV not writing the tv schedule Electronic Program Guide 3
    A [solved] XmlTv not importing programs General 8
    dcapslock TV Server xmltv IWakeupHandler Bug Television (MyTV frontend and TV-Server) 6
    T No data available using xmltv and mc2xml xmlTV 2
    W XMLTVImport duplicate item error xmlTV 5
    J Schedules Direct - XmlTV Plugin xmlTV 6
    G Update von MediaPortal Installationsprobleme? 0
    morpheus_xx [Evaluate] Update to VS 2019? MediaPortal 2 4
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    B MPEM update list never completes. General Support 0
    JJDoherty Updated DTT frequencies for Ireland... Submit: EPG-Grabbers and tuningdetails 1
    Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
    R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
    M.Hulot Moving Pictures lässt sich nach Windows-Update nicht mehr öffnen Plugins & Erweiterungen 1
    R Files moved to different location - Easy way to update database? Moving Pictures 2
    k12158 [solved] Kein direkter Wechsel von TV-Kanal zu TV-Kanal mehr nach Update? Allgemeines Support- und Diskussionsforum 16
    Similar threads

























    Top Bottom