NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 94 95 96 97 98 … 102 Next »
Error streaming channels with channel name containing international characters(v5)

 
  • 0 Vote(s) - 0 Average
Error streaming channels with channel name containing international characters(v5)
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#1
2019-12-24, 03:49 AM
Hi,

This issue has been there since the very first v5 release I installed and it doesn't exist in v4. Basically if the channel name contains international characters (e.g. Chinese), the server has issue to parse the *.ts.map file which in turns fails the streaming process. I have changed all the names to English letters and have been living with it hoping this will be resolved in a couple releases. However, until now it seems no one else has reported the issue. I think it's the time I bring it up.

I have a channel named "CCTV-1综合HD", you would notice two Chinese letters in it, when I start streaming the channel, NextPVR runs into the following error in the nrecord.log. further investigation revealed that it tried to parse a file called "live-CCTV-1综合HD-20688-4.ts.map" but failed. However if I removed the Chinese letters from channel name, the error went away and the streaming was fine. I believe it's an encoding support issue. Hope Sub and/or Martin can address it. Thanks a lot!

...
2019-12-23 22:03:09.468 [DEBUG][15] IPTV StartStream@8
2019-12-23 22:03:09.468 [DEBUG][15] Creating writer: LIVE&H:\StreamCaptures\Videos\live-CCTV-1综合HD-20688-4.ts
2019-12-23 22:03:09.468 [DEBUG][15] live mode
2019-12-23 22:03:09.469 [DEBUG][41] RollingFile.Open(H:\StreamCaptures\Videos\live-iptv-c738aef1dd794c759431498d0578b106.ts)
2019-12-23 22:03:09.491 [DEBUG][15] Created Mutex: Global\NPVR-mutex-98cf9a8bec6679ad24fe63233e752c1f
2019-12-23 22:03:09.491 [DEBUG][15] Created map: System.IO.FileStream
2019-12-23 22:03:09.492 [DEBUG][15] StartStream [LIVE&H:\StreamCaptures\Videos\live-CCTV-1综合HD-20688-4.ts] allocated handle: 4
2019-12-23 22:03:09.492 [DEBUG][15] IPTV StartStream@9
2019-12-23 22:03:09.492 [DEBUG][15] Live TV handle: 0x140004
2019-12-23 22:03:09.492 [DEBUG][15] StartStream(9151:CCTV-1综合HD, LIVE&H:\StreamCaptures\Videos\live-CCTV-1综合HD-20688-4.ts) allocated handle: 1310724
2019-12-23 22:03:09.492 [DEBUG][15] Handle: 140004
2019-12-23 22:03:09.492 [DEBUG][15] StreamNative@9 (storing stream handle: 1310724)
2019-12-23 22:03:09.492 [DEBUG][15] clientHandle[f785b355-7871-41e5-a8f2-542c2dbee833] = 1310724 *
2019-12-23 22:03:09.693 [DEBUG][15] StreamNative@10 (with close monitoring...)
2019-12-23 22:03:09.693 [DEBUG][15] RollingFile.Open(H:\StreamCaptures\Videos\live-CCTV-1综合HD-20688-4.ts)
2019-12-23 22:03:09.701 [ERROR][15] Unexpected end of file while parsing Name has occurred. Line 14, position 5.
2019-12-23 22:03:09.802 [ERROR][15] Unexpected end of file while parsing Name has occurred. Line 14, position 5.
...
2019-12-23 22:03:09.903 [ERROR][15] Unexpected end of file while parsing Name has occurred. Line 14, position 5.
2019-12-23 22:03:10.004 [ERROR][15] Unexpected end of file while parsing Name has occurred. Line 14, position 5.
2019-12-23 22:03:10.105 [ERROR][15] Unexpected end of file while parsing Name has occurred. Line 14, position 5.
2019-12-23 22:03:10.206 [ERROR][15] Unexpected end of file while parsing Name has occurred. Line 14, position 5.
2019-12-23 22:03:10.307 [ERROR][15] Unexpected end of file while parsing Name has occurred. Line 14, position 5.
...
2019-12-23 22:03:11.901 [ERROR][15] Unexpected error streaming channel: System.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 14, position 5.
  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
  at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg)
  at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
  at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
  at System.Xml.XmlTextReaderImpl.ParseEndElement()
  at System.Xml.XmlTextReaderImpl.ParseElementContent()
  at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
  at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
  at System.Xml.XmlDocument.Load(XmlReader reader)
  at System.Xml.XmlDocument.LoadXml(String xml)
  at NShared.Utility.FileMapHelper.GetMappingDoc()
  at NShared.Utility.RollingFile.IsComplete()
  at NShared.Streaming.StreamingHelper.StreamNative(ServiceResponseStream responseStream, Dictionary`2 parameters)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2019-12-24, 03:59 AM
I don't think we've got many non-English users here, so no one has probably notice the problem before.

Are you using xmltv for you guide? If you can supply a sample EPG file, I check it here.
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#3
2019-12-24, 04:17 AM (This post was last modified: 2019-12-24, 04:23 AM by fwpvr789.)
Yes, I am.

here is the sample EPG file including a few programs for the channel I mentioned. and the Chinese names work in v4 but not in v5.

<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="****" generator-info-url="****">
  <channel id="cntv_cctv1">
    <display-name>CCTV-1综合HD</display-name>
  </channel>
  <programme start="20191222233630 -0500" stop="20191223001230 -0500" channel="cntv_cctv1">
    <title lang="zh-Hans">今日说法-2019-357</title>
    <date>20191222</date>
    <category lang="en">cctv</category>
  </programme>
  <programme start="20191223001230 -0500" stop="20191223001845 -0500" channel="cntv_cctv1">
    <title lang="zh-Hans">瞬间中国(第二季)-2019-4</title>
    <date>20191223</date>
    <category lang="en">cctv</category>
  </programme>
</tv>

PS. I am trying to attach the epg xml file but got error saying the file type is not allowed, don't know why.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#4
2019-12-24, 04:36 AM
(2019-12-24, 04:17 AM)fwpvr789 Wrote: PS. I am trying to attach the epg xml file but got error saying the file type is not allowed, don't know why.
You typically need to zip any files you want to attach.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#5
2019-12-24, 04:42 AM
Actually - sorry, I misread. I thought you meant it was the characters in the EPG. I now see you mean it was the channel name. I'm checking.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#6
2019-12-24, 04:59 AM
It's funny google is now show me adverts with Chinese characters...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#7
2019-12-24, 05:14 AM
I've found the cause. The attached updated NShared.dll fixes the issue.


Attached Files
.zip   NShared.zip (Size: 233.34 KB / Downloads: 1)
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#8
2019-12-24, 07:05 AM
Wonderful! The issue is fixed. Really appreciate your quick response and hard work!

BTW, I liked all the features that NextPVR provides, particularly how it can be customized to stream and record all kinds of IPTV sources. I have created quite a few tricks to use your software to get what I want and I haven't found any other PVR software that can replace it yet. that being said, if you can implement the channel import/export feature as discussed in the following thread, it will be perfect (or is there alternative way to do it in v5?) but no hurry, it's surely not the highest priority for you. thanks again!

https://forums.nextpvr.com/showthread.php?tid=60038
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Scan finds few channels GiuseppeKK 1 64 2025-07-05, 10:10 PM
Last Post: mvallevand
  Issues watching one channel, new problem Ricknextpvr 21 431 2025-07-04, 02:32 AM
Last Post: mvallevand
  EPG not found for some channels - DVB/ATSC (NextPVR version 7) Nimoder 36 2,410 2025-06-27, 10:53 PM
Last Post: mvallevand
  Since v7: EPG mostly "no listings", and channels change during recordings :'( rightbryce 40 4,382 2025-06-23, 01:15 AM
Last Post: sub
  EPG not found for some channels via DVB-T2 (version 7) Kotoka 84 6,452 2025-06-21, 05:10 PM
Last Post: sub
  Windows could not start the NextPVR Service service on Local Computer Error 193:0xc1 Jimmyts100 7 5,825 2025-06-18, 06:26 PM
Last Post: jcole998
  Channel 7 TV channels do not load into my list cmacd 1 364 2025-05-26, 07:37 AM
Last Post: Renryant
  No Audio Stream on most IPTV Channels pascholnahui 15 1,166 2025-05-24, 09:35 PM
Last Post: mvallevand
  Streaming Failed (transcoder exited) hamster 3 370 2025-05-18, 03:28 PM
Last Post: mvallevand
  Problem with encrypted channels achim_m 0 192 2025-05-03, 03:34 PM
Last Post: achim_m

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode