Code Monkey home page Code Monkey logo

Comments (11)

markcs avatar markcs commented on September 3, 2024

Are you building your own xml file or getting it from xmltv.net? Which region?

from xml_tv.

Cookester81 avatar Cookester81 commented on September 3, 2024

Getting it from xmltv.net, Newcastle.

Going to try Sydney next.

odd, their is programing data avail 284791auepg.com.au (ABCKids)

Yet, it does not come across vi Xteve > Jellyfin, at first no data was shown then, ABC news programing data was displaying in ABCKids channel.

Seems like a bad mapping. I'm using HDHomeRun, xteve connects to it by IP

from xml_tv.

Cookester81 avatar Cookester81 commented on September 3, 2024

Update: Sydney an issue as well

from xml_tv.

Cookester81 avatar Cookester81 commented on September 3, 2024

Update 2: I reckon the formatting of the 284791auepg.com.au (ABCKids) may be the issue, in Jellyfin, I can bypass use of Xteve altogether and again, ABC Kids, no data shown despite correct mapping, All other channels, guides comes through just fine

from xml_tv.

Cookester81 avatar Cookester81 commented on September 3, 2024

Logs from Jellyfin;

[2023-03-12 22:36:56.359 +00:00] [INF] [22] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Found epg channel in "XmlTV" null "ABCKids/TVPlus" "1007"
[2023-03-12 22:36:56.359 +00:00] [INF] [22] Emby.Server.Implementations.LiveTv.LiveTvManager: Refreshing guide with 7 days of guide data
[2023-03-12 22:36:56.359 +00:00] [DBG] [22] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Getting programs for channel "1007"-"ABCKids/TVPlus" from "XmlTV"-""
[2023-03-12 22:36:56.359 +00:00] [DBG] [22] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: Getting xmltv programs for channel "1007"
[2023-03-12 22:36:56.359 +00:00] [INF] [22] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: xmltv path: "http://172.3.0.2:34400/xmltv/xteve.xml"
[2023-03-12 22:36:56.359 +00:00] [DBG] [22] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: Opening XmlTvReader for "/cache/xmltv/3461633b5d984af3a20bc689680817d1.xml"

[2023-03-12 22:36:56.436 +00:00] [ERR] [22] Emby.Server.Implementations.LiveTv.LiveTvManager: Error getting programs for channel "ABCKids/TVPlus"
Constraint: SQLitePCL.pretty.SQLiteException: NOT NULL constraint failed: ItemValues.Type
at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
at SQLitePCL.pretty.StatementImpl.MoveNext()
at Emby.Server.Implementations.Data.SqliteItemRepository.InsertItemValues(Byte[] idBlob, List1 values, IDatabaseConnection db) at Emby.Server.Implementations.Data.SqliteItemRepository.UpdateItemValues(Guid itemId, List1 values, IDatabaseConnection db)
at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTransaction(IDatabaseConnection db, IEnumerable1 tuples) at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func2 f, TransactionMode mode)
at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action1 action, TransactionMode mode) at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(IEnumerable1 items, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList1 items, BaseItem parent, CancellationToken cancellationToken) at Emby.Server.Implementations.LiveTv.LiveTvManager.RefreshChannelsInternal(ILiveTvService service, IProgress1 progress, CancellationToken cancellationToken)

from xml_tv.

markcs avatar markcs commented on September 3, 2024

This appears to be an issue on your side rather than the XML file.

I checked the xml using the Chrome Extension EPG Viewer (https://chrome.google.com/webstore/detail/lnhfllpjnichiepbkgnfhpaakhicbelh) and when downloading the Newcastle xml file from xmltv.net, the ABCKids channels are there.

image

from xml_tv.

Cookester81 avatar Cookester81 commented on September 3, 2024

This appears to be an issue on your side rather than the XML file.

I checked the xml using the Chrome Extension EPG Viewer (https://chrome.google.com/webstore/detail/lnhfllpjnichiepbkgnfhpaakhicbelh) and when downloading the Newcastle xml file from xmltv.net, the ABCKids channels are there.

image

I've been at this all night, lol

Okay, see this log;

[2023-03-13 12:11:09.410 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.LiveTvManager: Channel "ABCTV HD" has 71 new programs and 0 updated programs
[2023-03-13 12:11:09.510 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Getting programs for channel "21"-"ABC TV" from "XmlTV"-""
[2023-03-13 12:11:09.510 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: Getting xmltv programs for channel "21"
[2023-03-13 12:11:09.510 +00:00] [INF] [28] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: xmltv path: "http://172.3.0.2:34400/xmltv/xteve.xml"
[2023-03-13 12:11:09.510 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: Opening XmlTvReader for "/cache/xmltv/2b970b9e697441219466e7fc09045884.xml"
[2023-03-13 12:11:09.523 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.LiveTvManager: Channel "ABC TV" has 71 new programs and 0 updated programs
[2023-03-13 12:11:09.576 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Getting programs for channel "22"-"ABCKids/TVPlus" from "XmlTV"-""
[2023-03-13 12:11:09.576 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: Getting xmltv programs for channel "22"
[2023-03-13 12:11:09.576 +00:00] [INF] [28] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: xmltv path: "http://172.3.0.2:34400/xmltv/xteve.xml"
[2023-03-13 12:11:09.576 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.Listings.XmlTvListingsProvider: Opening XmlTvReader for "/cache/xmltv/2b970b9e697441219466e7fc09045884.xml"
[2023-03-13 12:11:09.596 +00:00] [DBG] [28] Emby.Server.Implementations.LiveTv.LiveTvManager: Channel "ABCKids/TVPlus" has 174 new programs and 0 updated programs
[2023-03-13 12:11:09.608 +00:00] [ERR] [28] Emby.Server.Implementations.LiveTv.LiveTvManager: Error getting programs for channel "ABCKids/TVPlus"
Constraint: SQLitePCL.pretty.SQLiteException: NOT NULL constraint failed: ItemValues.Type

You can see the ABC News channels come across just fine where the ABC Kids channel does not

from xml_tv.

Cookester81 avatar Cookester81 commented on September 3, 2024

I suspect there is something wrong with the data for this particular channel, perhaps an incompatible formatting issue in one of the shows?

from xml_tv.

Cookester81 avatar Cookester81 commented on September 3, 2024

Update; No I have programing guide data coming through for ABC Kids, but no data on all other channels!?

from xml_tv.

markcs avatar markcs commented on September 3, 2024

Could this be a Jellyfin issue? I don't use Jellyfin or xteve.

jellyfin/jellyfin#8253

I saw your comment on reddit. Can you try to edit the xml file and only include the programs for ABC Kids and see if you can see them in Jellyfin?

If you can't, can you add a category for those programs where the category is empty and try again? see below.

                <title>Peppa Pig</title>
                <sub-title>Teddy Playgroup</sub-title>
                <category>Put Something Here</category>

from xml_tv.

cantenna avatar cantenna commented on September 3, 2024

Can confirm, the issue is indeed as you have discovered, all it takes is for one program to omit a category and the channel in its entirety will be omitted from Jellyfin.

Thank you for helping me sort this out.

from xml_tv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.