this post was submitted on 02 Feb 2025
56 points (98.3% liked)

Asklemmy

44653 readers
869 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 3 hours ago* (last edited 3 hours ago)

The last statement was me wrangling with XMLTV getting EPG data to import for japanese ~~pirated~~ rebroadcasted IPTV.
It was actually painful to configure the XML statements to scrape the data as I had to both understand how the values were derived and how I need to change them as they were regional stations.

In the end it was this syntax:
Example from their page: site_id="23##10##101040" xmltv_id="ๆ—ฅใƒ†ใƒฌ">ๆ—ฅใƒ†ใƒฌ</channel>
Actually needed was the info inside the site_id:

  • 23 = Region
  • 10 = Terrestrial (they seem to have different digital networks)
  • 10140 = The number of the channel (same channel-name for different regions
  • (unmentioned here but in another example they had an additional nimber after the 10140 which incremented by one or two without any understandable reason)

I had to get the region from the URL/source code out of the dropdown menu and find out that the type of broadcast is somewhere hidden in the html table and that there is is a small number besides each channel name dependant on the region)

Edit: This whole endavour took me 3 weekends to implement into my setup