Radio is not recording (1 Viewer)

Noteb

Portal Member
April 8, 2012
6
0
45
Home Country
Ukraine Ukraine
MediaPortal Version: 1.2.3

Description

Radio is not recoding.

tv.log shows:
2012-04-17 20:32:36.625000 [scheduler thread(9)]: Scheduler: Time to record BBC Radio 4 Extra - BBC Radio 4 Extra 20:32-20:45 Simon Bovey: Slipstream
2012-04-17 20:32:36.625000 [scheduler thread(9)]: Controller: find free card for channel BBC Radio 4 Extra - BBC Radio 4 Extra
2012-04-17 20:32:36.625000 [scheduler thread(9)]: Controller: find card for channel BBC Radio 4 Extra - BBC Radio 4 Extra
2012-04-17 20:32:36.625000 [scheduler thread(9)]: Controller: got 1 tuning details for BBC Radio 4 Extra - BBC Radio 4 Extra
2012-04-17 20:32:36.625000 [scheduler thread(9)]: AdvancedCardAllocation.GetAvailableCardsForChannel took 2 msec
2012-04-17 20:32:36.625000 [scheduler thread(9)]: AdvancedCardAllocation.GetFreeCardsForChannel took 3 msec
2012-04-17 20:32:36.625000 [scheduler thread(9)]: scheduler: SchedulerWorker inner exception System.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
в TvService.Scheduler.StartRecord(RecordingDetail RecDetail)
в TvService.Scheduler.StartAnyDueRecordings()
в TvService.Scheduler.DoScheduleWork()
в TvService.Scheduler.SchedulerWorker()
2012-04-17 20:32:42.062500 [(4)]: xmlTvLastUpdate not found, forcing import Строка не распознана как действительное значение DateTime.
2012-04-17 20:32:51.640625 [scheduler thread(9)]: Scheduler: Time to record BBC Radio 4 Extra - BBC Radio 4 Extra 20:32-20:45 Simon Bovey: Slipstream
2012-04-17 20:32:51.640625 [scheduler thread(9)]: Controller: find free card for channel BBC Radio 4 Extra - BBC Radio 4 Extra
2012-04-17 20:32:51.640625 [scheduler thread(9)]: Controller: find card for channel BBC Radio 4 Extra - BBC Radio 4 Extra
2012-04-17 20:32:51.640625 [scheduler thread(9)]: Controller: got 1 tuning details for BBC Radio 4 Extra - BBC Radio 4 Extra
2012-04-17 20:32:51.640625 [scheduler thread(9)]: AdvancedCardAllocation.GetAvailableCardsForChannel took 2 msec
2012-04-17 20:32:51.640625 [scheduler thread(9)]: AdvancedCardAllocation.GetFreeCardsForChannel took 4 msec
2012-04-17 20:32:51.640625 [scheduler thread(9)]: scheduler: SchedulerWorker inner exception System.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
в TvService.Scheduler.StartRecord(RecordingDetail RecDetail)
в TvService.Scheduler.StartAnyDueRecordings()
в TvService.Scheduler.DoScheduleWork()
в TvService.Scheduler.SchedulerWorker()
and so on...

error.log shows:
2012-04-17 20:32:36.625000 [scheduler thread(9)]: Exception :confused:ystem.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
в TvService.AdvancedCardAllocation.GetAvailableCardsForChannel(Dictionary`2 cards, Channel dbChannel, IUser& user, Dictionary`2& cardsUnAvailable)
2012-04-17 20:32:36.625000 [scheduler thread(9)]: Exception :confused:ystem.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
в TvService.AdvancedCardAllocation.GetFreeCardsForChannel(Dictionary`2 cards, Channel dbChannel, IUser& user, TvResult& result)
2012-04-17 20:32:51.640625 [scheduler thread(9)]: Exception :confused:ystem.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
в TvService.AdvancedCardAllocation.GetAvailableCardsForChannel(Dictionary`2 cards, Channel dbChannel, IUser& user, Dictionary`2& cardsUnAvailable)
2012-04-17 20:32:51.640625 [scheduler thread(9)]: Exception :confused:ystem.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
в TvService.AdvancedCardAllocation.GetFreeCardsForChannel(Dictionary`2 cards, Channel dbChannel, IUser& user, TvResult& result)

and so on...


By the way:
1. in the bug-report form there is no option to choose a 1.2.3 version.
2. at topic [Info] Only post Bugreports from MP 1.2.0 final and 1.2.x Hotfix Installations! by clicking on the 'create a useful bugreport which includes all the infos the team needs.' there is only error.

Steps to Reproduce:
Just try to record some radio. For example http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_5live_p
 
Last edited:

elliottmc

Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    What type of radio are you trying to record, DVB-IP ? Or something different?
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    I added the url as a channel in webstreams, and it plays fine in 'my radio'.

    However, I don't have a remote control to hand at the moment, and hitting 'r' doesn't start a recording. However, there are no errors in the logs.

    I have not used radiowebstreams before, so perhaps you could give me a step by step walkthrough.

    How are you trying to start a recording? If it is from the radio EPG, do you have radio EPG data for the web stream? If so, how?
     

    Noteb

    Portal Member
    April 8, 2012
    6
    0
    45
    Home Country
    Ukraine Ukraine
    You do not need any 'Recording button'. You may switch to 'Radio guide' screen (left arrow key to call a menu...) and there click right mouse button on the channel and choose 'Record'. It works even if there is no EPG for a particular channel. The recording should start immediately. You can see these recordings by going TV->Scheduled.
    All these steps apply for the default skin. And now you should face the errors in logfile ;)
    GL. Looking forward for a bug approval and, moreover, for the fix! :)
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Yes, I see

    Code:
    2012-04-18 09:21:03.743991 [scheduler thread(9)]: scheduler: SchedulerWorker inner exception System.NullReferenceException: Object reference not set to an instance of an object.
       at TvService.Scheduler.StartRecord(RecordingDetail RecDetail)
       at TvService.Scheduler.StartAnyDueRecordings()
       at TvService.Scheduler.DoScheduleWork()
       at TvService.Scheduler.SchedulerWorker()

    I'll see what can be done.

    Do you know if this ever worked?
     

    Noteb

    Portal Member
    April 8, 2012
    6
    0
    45
    Home Country
    Ukraine Ukraine
    Unfortunately I have no idea because I first tried to use it in MP 1.2.2 and yesterday upgraded to 1.2.3 - the same errors in log.
    I've looked into sources for a while and it seems that CardCollection has wrong data about radio-card so it just throw an exception on GetFreeCardsForChannel call.
    I have not much experience with C# and it would take much time for me to even set the environment for debugging. So I rely on you ;)
     

    Noteb

    Portal Member
    April 8, 2012
    6
    0
    45
    Home Country
    Ukraine Ukraine
    Thank you for the confirmation of the bug and for your time.
    Maybe next week I'd have some time to look closer at this problem and try to debug it.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    mm1352000 added a note to the mantis entry

    Code:
    This has never been possible. As far as I'm aware, the stream doesn't even pass through the server - it is streamed directly by the client from the source URL. As such, the stream is not parsed into TS format like all other recordings.
    
    I question if it is it really worth trying to fix this. The current solution is a complete hack in my opinion...


    So maybe it cannot be fixed, but at least we should remove 'record' from the context menu, so it doesn't appear that you can record this.

    Sorry!
     

    Users who are viewing this thread

    Top Bottom