INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Client live tv  (Read 1013 times)

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Client live tv
« on: February 25, 2024, 02:32:56 pm »

I found an odd behavior:
Start live tv on a Client (OpenCable tuner on Server), without pressing stop on live tv, navigate to Video and play some files => The tuner is not released (Server says "serving client").

Stopping playback of video files on the Client has no affect (Server tuner not released).
Closing MC on the Client has no affect  (Server tuner not released).
Rebooting the Client machine has no affect (Server tuner not released).
Re-open MC on the Client has no affect (Server tuner not released).

If I hard reboot the tuner, the Server complains about "no data received in 30 seconds" and still says "serving client" (but the LED on the tuner is actually no longer busy). Only way out is to restart MC on the Server.
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?
Re: Client live tv bug
« Reply #1 on: February 25, 2024, 04:45:00 pm »

Stop or pause?
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Client live tv
« Reply #2 on: February 25, 2024, 05:05:19 pm »

On the Server, I don't have to press stop before navigating from live tv to play a video file. MC stops the tuner, and plays the selected video file.

Not the case on Clients (using a tuner from the Server). If I navigate from live tv to play a video file (without pressing stop inside live tv), the tuner is NOT released and the only way to free up the tuner is to hard reboot the device and restart MC on the Server machine.
Logged
JRiverMC v32 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10898
  • Dogs of the world unite!
Re: Client live tv
« Reply #3 on: February 26, 2024, 07:52:39 pm »

Not looking at my code now, but client probably will notify the server only on Stop being explicitly pressed.  If the server does not receive such notification, it will continue serving for about 30 minutes.  The server will stop serving if it does not receive keep-alive requests from any client for 30 minutes.

I will take a look when I get around to it.
Logged
Yaobing Deng, JRiver Media Center

Yaobing

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10898
  • Dogs of the world unite!
Re: Client live tv
« Reply #4 on: March 04, 2024, 04:23:05 pm »

Fixed in an upcoming build:

Fixed: While playing a live TV channel on a client using a server TV  tuner, switching to a different media type (e.g. Audio or Video) without explicitly click the Stop button would cause the server tuner not being released (for an hour).

I did have code that was supposed to handle the situation where the Stop button is not clicked, but it missed the case when the new file is of a different media type.
Logged
Yaobing Deng, JRiver Media Center
Pages: [1]   Go Up