Project

General

Profile

Bug #3293

API Create channel autoname

Added by Al B almost 9 years ago. Updated almost 9 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Start date:
2015-11-13
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-971~g5192186
Affected Versions:

Description

I have just noticed when creating a channel through the api using the address "serverip:9981/api/channel/create?conf=" (from a python script) the autoname attribute of the channel is either always set to false or is being ignored. Though the channel is created with all other settings passed to it.

Noticed on git tvheadend as of 13/11/2015 version 4.1-971~g5192186.

History

#1

Updated by Al B almost 9 years ago

Adding an example of the data I am passing to the api:

{"number": "2310", "name": "Sky Greats", "autoname": true, "icon_public_url": "imagecache/35280316", "uuid": "ade11ee98ba7bb510a38ba7c7eb5898d", "epgauto": true, "tags": ["bd4960493124447fdfe8f80bfeadd09b"], "bouquet": "", "icon": "picon://1_0_1_1612_7DC_2_11A0000_0_0_0.png", "dvr_pst_time": 0, "dvr_pre_time": 0, "epg_running": -1, "enabled": true, "services": ["bc659f184e32c6deb9417aac28b33b7d"], "epggrab": []}
#2

Updated by Jaroslav Kysela almost 9 years ago

  • Status changed from New to Invalid

It's correct. You can set either name or autoname. They cannot be set both. Set the empty name to set autoname.

Also available in: Atom PDF