Manual recording does not work (1 Viewer)

matejdro

Portal Pro
May 28, 2010
361
16
Home Country
Slovenia Slovenia
I never said its issue in MediaPortal code. Its probably something wrong with my setup and I'm looking for some advice what could be wrong.
 

matejdro

Portal Pro
May 28, 2010
361
16
Home Country
Slovenia Slovenia
I don't get to pick channel, it stops before that. So I have no idea what channel is offending.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    @matejdro
    Do you have any custom channel groups?
    Please try to reproduce by first starting TV, then attempting to create the schedule.

    I have the suspicion that the exception is in the first part of the function.
    This:
    Code:
    IList<GroupMap> channels = TVHome.Navigator.CurrentGroup.ReferringGroupMap();
    ...this:
    Code:
    GUIListItem item = new GUIListItem(chan.ReferencedChannel().DisplayName);
    ...or this:
    Code:
    Channel selectedChannel = (channels[dlg.SelectedLabel]).ReferencedChannel();

    mm
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    When i have do the test, it show lastest channel list from latest selected Group :)
    So if no group involved or something can maybe trigger this issue :)
    Good finding mm :)
     

    matejdro

    Portal Pro
    May 28, 2010
    361
    16
    Home Country
    Slovenia Slovenia
    Tried with TV on, same error.

    I'm using default All Channels group. I just noticed I had one empty group, but deleting it did not change anything.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    My suggestion still stands. Delete all of your channels. Rescan. Then try. I know it is a pain, but there is probably something wrong in one of your channels. It will be hard to work out what it is.

    Also, you could try searching the forum for 'repair TV database'. This will tell you how to check for faults and fix them.
     

    seco

    Retired Team Member
  • Premium Supporter
  • August 7, 2007
    1,575
    1,239
    Home Country
    Finland Finland
    My suggestion still stands. Delete all of your channels. Rescan. Then try. I know it is a pain, but there is probably something wrong in one of your channels. It will be hard to work out what it is.

    Also, you could try searching the forum for 'repair TV database'. This will tell you how to check for faults and fix them.


    Still would be nice to figure out where the exception actually comes from. If this fixes the problem we don't know if it's a really bug that comes up in his system ..
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Tried with TV on, same error.

    I'm using default All Channels group. I just noticed I had one empty group, but deleting it did not change anything.


    You can always for testing create a new channel DB (the testing one with fresh scan) and go back to old one with all your current setting :)

    To do that :

    1) Stop TVService (from command prompt (net stop tvservice) or setuptv from manual control).
    2) Start this command line : "C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\setuptv" /configure-db
    3) Default db is : 'MpTvDb' change the name to 'MpTvDbTEST' -> Click SAVE.

    It will create a new TV db schema.
    4) Start SetupTV and start to scan and try again if you et the exception.

    If all is ok or if you always get the error, we know that it's not a db issue :)

    So you can come back to your original db by doing 1) 2) 3) and 4) (just put your old db name 'MpTvDb' in part 3)

    Seb. :)
     
    Last edited:

    Users who are viewing this thread

    Top Bottom