Feature #4366
closed
Create bouquet for all network types / per network (was: map all services through json api...)
Added by edit4ever ! almost 8 years ago.
Updated almost 8 years ago.
Description
The ability to start the map all services function was removed from the json api.
In the USA - we need a simple way to scan muxes (which does exist in the json api) and then have the new services automatically mapped to channels. With all of our ATSC 3.0 changes coming, stations are going to be changing frequencies. I would like to trigger this from my frontend without having to go through the web interface.
Could this "start" function for the mapping services api be put back in?? If not - what is the method to map services through the current json api options?
- Target version set to 4.2
Check the webui - you may send the service uuid list to the /api/service/mapper/load .
Anyway, it may be better to manage a bouquet of all services in network. Then users may enable the automatic service mapping through the bouquets. I'll work on it.
Sorry, it should be:
http://localhost:9981/api/service/mapper/save
JSON parameters:
node:{"services":["cb86b1f9fd5244f522b4792050f34773","501419945e4058bf11b5756491ed5f16"],"encrypted":true,"merge_same_name":false,"check_availability":false,"type_tags":true,"provider_tags":false,"network_tags":false}
You can use any browser's debugger (network view) to check which values the webui sends to tvh.
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|e76171c573492fe52d56bba25c768db901e017f7.
You can (since v4.3-60-ge76171c) create a bouquet per network now. It means that if you check 'Create bouquet' flag in the network settings, you can configure the auto channel mapping inside the created bouquet for your whole network. No external tool is required now.
- Subject changed from Map all services through json api... to Create bouquet for all network types / per network (was: map all services through json api...)
Awesome - thanks for this. I will test the new create bouquet feature.
Also - thank you for the tip on the debugging web ui. Now I can build out the rest of a kodi interface for basic setup of tvh!
@edit4ever ! : Don't use http requests for the kodi. All /api http requests are available through the htsp protocol / session, too. Just use "args" (map) and "path" (string) for the "api" method. The result is same htsmsg structure as json result for http calls.
Also available in: Atom
PDF