2014-11-30, 13:55
could you please paste your jsonRCP code to perform the Player operation.
(2014-11-30, 10:14)xhaggi Wrote: Thank you for your response. The fix is merged into mainline and should become available in the next nightly.
If i found time i'll check why the built-in Player(...) command fails with pvr://channels/tv/All channels/0.pvr.
does it also fail if you use 1.pvr or 2.pvr etc?
18:53:24 T:21160 DEBUG: Loading settings for pvr://channels/tv/All TV channels/1.pvr
18:53:24 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:24 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All TV channels/1.pvr)
18:53:24 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
18:53:24 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
18:53:24 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
18:53:24 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
18:53:24 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
18:53:24 T:17016 DEBUG: VideoInfoScanner: Found matching Full NFO file: smb://192.168.0.51/TV/Scrubs/Season 05/Scrubs - S05E20 - My Lunch [SD DVD].nfo
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
18:53:25 T:17016 DEBUG: VideoInfoScanner: Adding new item to tvshows:smb://192.168.0.51/TV/Scrubs/Season 05/Scrubs - S05E20 - My Lunch [SD DVD].avi
18:53:25 T:13416 DEBUG: CDDSImage::Compress - using DXT1 (min error is: 13.23:0.00)
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:17016 DEBUG: Mysql execute: insert into files (idFile, idPath, strFileName) values(NULL, 4499, 'Scrubs - S05E20 - My Lunch [SD DVD].avi')
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:13416 DEBUG: Creating DDS version of: special://masterprofile/Thumbnails/3/3a8d447d.jpg
18:53:25 T:17016 DEBUG: Mysql execute: update files set dateAdded='2014-10-22 20:10:12' where idFile=16439
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:17016 DEBUG: Mysql execute: insert into episode (idEpisode, idFile, idShow) values (NULL, 16439, 279)
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:17016 DEBUG: Mysql Start transaction
18:53:25 T:18028 NOTICE: ArtService
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
18:53:25 T:17016 DEBUG: Mysql execute: delete from actorlinkepisode where idEpisode=14831
18:53:25 T:11416 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:53:25 T:11416 NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
18:53:25 T:13416 DEBUG: CDDSImage::Compress - using DXT1 (min error is: 9.00:0.00)
18:53:25 T:17016 DEBUG: Mysql execute: delete from directorlinkepisode where idEpisode=14831
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:18028 NOTICE: ArtService_Start = 2014-11-30 18:53:25.244000
18:53:25 T:17016 DEBUG: Mysql execute: delete from writerlinkepisode where idEpisode=14831
18:53:25 T:21160 NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/1.pvr
18:53:25 T:21160 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:53:25 T:21160 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
18:53:25 T:18028 NOTICE: PreArtService
18:53:25 T:19788 NOTICE: Thread DVDPlayer start, auto delete: false
18:53:25 T:14528 NOTICE: script.pseudotv.live-service: MyMonitor - HubSwap
18:53:25 T:19788 NOTICE: Creating InputStream
18:53:25 T:14528 NOTICE: script.pseudotv.live-service: HubSwap
18:53:25 T:19788 ERROR: PVRFile - XFILE::CPVRFile::Open - channel not found with filename pvr://channels/tv/All TV channels/1.pvr
18:53:25 T:19788 ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/1.pvr]
18:53:25 T:19788 NOTICE: CDVDPlayer::OnExit()
18:53:25 T:19788 DEBUG: CDVDInputStreamPVRManager::Close - stream closed
18:53:25 T:19788 DEBUG: CApplication::OnPlayBackStopped: play state was 1, starting 1
18:53:25 T:11416 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:53:25 T:11416 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
18:53:25 T:19788 DEBUG: Thread DVDPlayer 19788 terminating
18:53:25 T:21160 ERROR: Playlist Player: skipping unplayable item: 0, path [pvr://channels/tv/All TV channels/1.pvr]
18:53:25 T:14528 DEBUG: script.pseudotv.live-ChannelList: plugin_ok, plugin= plugin.program.addoninstaller
18:53:25 T:11416 ERROR: XFILE::CFileCache::Open - failed to open source <https://dudehere-repository.googlecode.com/git//addons/addons.xml.md5>
18:53:25 T:21160 DEBUG: Loading settings for pvr://channels/tv/All TV channels/1.pvr
18:53:25 T:18028 DEBUG: script.pseudotv.live-Settings: Loading settings from D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\settings2.xml
18:53:25 T:11416 WARNING: XFILE::CSimpleFileCache::Close: failed to delete temporary file ""
18:53:25 T:21160 WARNING: Previous line repeats 1 times.
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All TV channels/1.pvr)
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
18:53:25 T:14528 DEBUG: script.pseudotv.live-ChannelList: plugin_ok, Using Cached addonFileDetails
18:53:25 T:11416 WARNING: XFILE::CSimpleFileCache::Close: failed to delete temporary file ""
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
18:53:25 T:11416 WARNING: XFILE::CSimpleFileCache::Close: failed to delete temporary file ""
18:53:25 T:11416 DEBUG: CFileCache::Open - opening <git/addons/addons.xml> using cache
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
18:53:25 T:17016 DEBUG: Mysql execute: insert into actorlinkepisode (idActor, idepisode, strRole, iOrder) values(18725,14831,'',0)
18:53:25 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\settings2.xml
18:53:25 T:11416 WARNING: XFILE::CSimpleFileCache::Close: failed to delete temporary file ""
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
18:53:25 T:11416 DEBUG: CurlFile::Open(17FD9D00) https://dudehere-repository.googlecode.com/git/addons/addons.xml
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
18:53:25 T:14528 NOTICE: plugin.program.addoninstaller
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
18:53:25 T:14528 NOTICE: PluginFound = True
18:53:25 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
18:53:25 T:17016 DEBUG: Mysql execute: insert into actorlinkepisode (idActor, idepisode, strRole, iOrder) values(6527,14831,'',1)
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
18:53:25 T:14528 NOTICE: script.pseudotv.live-service: HubSwap - Hub Edition
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
18:53:25 T:11416 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
18:53:25 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_1.m3u
18:53:25 T:11416 NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
18:53:25 T:21160 NOTICE: CDVDPlayer::CloseFile()
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 NOTICE: DVDPlayer: waiting for threads to exit
18:53:25 T:17016 DEBUG: Mysql execute: insert into actorlinkepisode (idActor, idepisode, strRole, iOrder) values(68697,14831,'',2)
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_2.m3u
18:53:25 T:21160 NOTICE: DVDPlayer: finished waiting
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/1.pvr
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:21160 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
18:53:25 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_3.m3u
18:53:25 T:14800 NOTICE: Thread DVDPlayer start, auto delete: false
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:14800 NOTICE: Creating InputStream
18:53:25 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:25 T:14800 ERROR: PVRFile - XFILE::CPVRFile::Open - channel not found with filename pvr://channels/tv/All TV channels/1.pvr
18:53:25 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_4.m3u
18:53:25 T:14800 ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/1.pvr]
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:17016 DEBUG: Mysql execute: insert into actors (idActor, strActor, strThumb) values( NULL, 'Jordan Zucker','')
18:53:26 T:14800 NOTICE: CDVDPlayer::OnExit()
18:53:26 T:14800 DEBUG: CDVDInputStreamPVRManager::Close - stream closed
18:53:26 T:14800 DEBUG: CApplication::OnPlayBackStopped: play state was 1, starting 1
18:53:26 T:17016 DEBUG: Mysql execute: insert into actorlinkepisode (idActor, idepisode, strRole, iOrder) values(68770,14831,'',3)
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_5.m3u
18:53:26 T:11416 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:14800 DEBUG: Thread DVDPlayer 14800 terminating
18:53:26 T:21160 ERROR: Playlist Player: skipping unplayable item: 1, path [pvr://channels/tv/All TV channels/1.pvr]
18:53:26 T:11416 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_6.m3u
18:53:26 T:21160 DEBUG: Loading settings for pvr://channels/tv/All TV channels/1.pvr
18:53:26 T:11416 ERROR: XFILE::CFileCache::Open - failed to open source <https://dudehere-repository.googlecode.com/git/addons/addons.xml>
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All TV channels/1.pvr)
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
18:53:26 T:11416 WARNING: XFILE::CSimpleFileCache::Close: failed to delete temporary file ""
18:53:26 T:17016 WARNING: Previous line repeats 2 times.
18:53:26 T:17016 DEBUG: Mysql execute: insert into actors (idActor, strActor, strThumb) values( NULL, 'Brent Weber','')
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_7.m3u
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
18:53:26 T:11416 ERROR: Repository dudehere addons returned no add-ons, listing may have failed
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
18:53:26 T:17016 DEBUG: Mysql execute: insert into actorlinkepisode (idActor, idepisode, strRole, iOrder) values(68771,14831,'',4)
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_8.m3u
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:16396 DEBUG: script.pseudotv.live-FileLock: refreshLocks
18:53:26 T:11416 WARNING: XFILE::CSimpleFileCache::Close: failed to delete temporary file ""
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:11416 DEBUG: CFileCache::Open - opening <t0mm0/t0mm0-xbmc-plugins/raw/master/addons.xml.md5> using cache
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_9.m3u
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
18:53:26 T:11416 WARNING: XFILE::CSimpleFileCache::Close: failed to delete temporary file ""
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
18:53:26 T:11416 DEBUG: CurlFile::Open(17FDC278) http://github.com/t0mm0/t0mm0-xbmc-plugins/raw/master/addons.xml.md5
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
18:53:26 T:17016 DEBUG: Mysql execute: insert into actorlinkepisode (idActor, idepisode, strRole, iOrder) values(68645,14831,'',5)
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_10.m3u
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:21160 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_11.m3u
18:53:26 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_12.m3u
18:53:26 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:17016 DEBUG: Mysql execute: insert into actorlinkepisode (idActor, idepisode, strRole, iOrder) values(68617,14831,'',6)
18:53:26 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
18:53:26 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
18:53:26 T:18028 DEBUG: script.pseudotv.live-FileAccess: trying to open D:\Kodi\portable_data\userdata\addon_data\script.pseudotv.live\cache/channel_13.m3u
18:53:26 T:21160 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
18:53:26 T:21160 NOTICE: CDVDPlayer::CloseFile()
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:11416 DEBUG: CCurlFile::Open - effective URL: <https://raw.githubusercontent.com/t0mm0/t0mm0-xbmc-plugins/master/addons.xml.md5>
18:53:26 T:21160 NOTICE: DVDPlayer: waiting for threads to exit
18:53:26 T:19672 ERROR: XFILE::CWin32File::Write: Attempt to write file opened for reading
18:53:26 T:13796 NOTICE: Thread FileCache start, auto delete: false
18:53:26 T:21160 NOTICE: DVDPlayer: finished waiting
18:53:26 T:13796 INFO: CFileCache::Process - Hit eof.
18:53:26 T:21160 NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/1.pvr
(2014-12-01, 20:14)xhaggi Wrote: could you please paste the python snippet too? i want to know how you call the pvr file.
pvr://channels/tv/All TV channels/0.pvr
(2014-12-02, 14:31)xhaggi Wrote: the issue is caused by a rename of the internal channel group names. currently we use "All channels" and do not have different group names for TV and Radio.
BTW it's also possible to rename the internal groups which makes the link invalid in that case too. The best way is to fetch the internal groups before you call the pvr link. You can call jsonRPC PVR.GetChannelGroupDetails and use the following static ID's for the internal groups:
RadioGroup = 1
TVGroup = 2