ukn_unknown This is true only if you keep the default settings ... if you want to preserve thins info you have to use the following settings:

You can see on the tooltip --> Zero means no rewrite. I think will preserve also the rest of the settings listed (beside Service ID).
Hey,
@apollo emailed me the link to this topic so I thought I could shed some light on why I opted for this - rather unusual - approach in that linked blog post π
Preserving the original MPEG service ID by using a single pass-through profile with the magic 0 value would certainly work for basic scenarios, but it would also break Windows Media Center when implementing more advanced setups: let's say you have a Tvheadend channel mapped to 2 services belonging to 2 muxes coming from 2 different networks ; for instance a DVB-T network (with a real MPEG-TS source and a "real" service ID) and an IPTV network fallback (for which a fake MPEG-TS has to be created with a fake service ID).
In that case, the MPEG-TS service, network and transport identifiers will differ between the two sources and a pass-through profile with the magic 0 value will reflect that: if you used the IDs of the DVB-T network when injecting the channels in WMC's database, it will only work when the Tvheadend stream comes from the DVB-T source: as soon as Tvheadend will try to use the IPTV source, the returned stream will have different MPEG-TS identifiers and WMC will just complain it can't find the requested service (which isn't unreasonable behavior, to be honest π).
Using MPEG-TS identifiers that are completely disconnected from the actual stream sources completely avoids this issue. But of course, it requires doing some gnarly things Tvheadend-side π
A clever way to solve that would be to have more elaborate MPEG-TS pass-through and spawn profiles that allow specifying dynamic identifiers directly in the query string. Something like http://tvheadend:9981/stream/channelnumber/2?profile=dynamic_pass&mpeg_network_id=8442&mpeg_original_network_id=8442&mpeg_transport_stream_id=1&mpeg_service_id=2
. Not sure how complicated it would be to implement that, tho'.
(I'm an absolute Tvheadend lover, which is really a fantastic piece of software! β€οΈ)