NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support macOS v
« Previous 1 2 3 Next »
Download Channel Icons

 
  • 0 Vote(s) - 0 Average
Download Channel Icons
rjbeep
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Mar 2005
#1
2020-01-08, 10:25 PM
hi folks,

using the latest 5.0.1.200103 release, quick question please...

I just signed up for Schedule Direct's 7 day free trial to see if I get anything more than I'm getting out of my xmltv provider.

Guide data works great and program info seems to be at least as good as what I got from the other source.

Since I have the trial, I thought I'd also try "Download Channel Icons" and this is where my question comes up.

Click the button, get the expected process going and see the .png files being downloaded in the terminal window.
See 52 .png files in the .NPVR-data/media/channels directory... all good so far.

but the icons never show up in my Guide or in the Channels panel.

I can upload logs at some point when I get home, but thought I'd throw this quick question out in case I missed a known issue in my searching, or if this feature isn't expected to work running on a Mac, etc.

Any info you might have is appreciated.

thanks all!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,333
Threads: 867
Joined: May 2006
#2
2020-01-08, 10:41 PM
Did you try refreshing the browser pages or maybe restarting the server?

Martin
rjbeep
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Mar 2005
#3
2020-01-08, 11:45 PM
(2020-01-08, 10:41 PM)mvallevand Wrote: Did you try refreshing the browser pages or maybe restarting the server?

Martin

I did both. Multiple times :-(

next I’ll start with a fresh install and see if that makes any difference. 

thanks for checking.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#4
2020-01-08, 11:48 PM
If you log into the web app, then open a new tab in your browser, and view this url:

http://localhost:8866/services/service?m...annel.list

Does it say "channelIcon": true?

Code:
{
"channels": [
  {
    "channelId": 14400,
    "channelNumber": 1,
    "channelMinor": 0,
    "channelNumberFormated": "1",
    "channelType": 1,
    "channelName": "TVNZ 1",
    "channelDetails": "Source /v1200 [TVNZ 1] (H.264)",
    "channelIcon": true
  }
,
  {
    "channelId": 14401,
    "channelNumber": 2,
    "channelMinor": 0,
    "channelNumberFormated": "2",
    "channelType": 1,
    "channelName": "TVNZ 2",
    "channelDetails": "Source /v1201 [TVNZ 2] (H.264)",
    "channelIcon": true
  }
….
rjbeep
Offline

Junior Member

Posts: 47
Threads: 13
Joined: Mar 2005
#5
2020-01-09, 01:57 AM
doesn't look like it...  Huh

Code:
<rsp stat="ok">
<channels>
<channel>
<id>7148</id>
<name>WESHLD</name>
<number>2</number>
<minor>1</minor>
<formatted-number>2.1</formatted-number>
<type>0x1</type>
<details>Source /v3 [WESH-DT] (MPEG-2)</details>
</channel>
<channel>
<id>7149</id>
<name>WESHLD2</name>
<number>2</number>
<minor>2</minor>
<formatted-number>2.2</formatted-number>
<type>0x1</type>
<details>Source /v4 [Me TV] (MPEG-2)</details>
</channel>
<channel>
<id>7150</id>
<name>WESHLD3</name>
<number>2</number>
<minor>3</minor>
<formatted-number>2.3</formatted-number>
<type>0x1</type>
<details>Source /v3 [WESH-DT] (MPEG-2)</details>
</channel>


Attached Files
.zip   logs-20200108-2055.zip (Size: 42.15 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,333
Threads: 867
Joined: May 2006
#6
2020-01-09, 02:35 AM
There might be a rendering problem with the lack of libgdiplus on mac

This page https://docs.microsoft.com/en-us/dotnet/...ource=docs says this might work

brew update
brew install mono-libgdiplus

I'm not sure if the rendering impacts that channel.list so that still might not be it.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#7
2020-01-09, 02:36 AM
Ah... can see lots of these messages in your log:

Quote:2020-01-08 20:45:27.719 [ERROR][17] Unexpected error loading channel icon: System.TypeInitializationException: The type initializer for 'Gdip' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'libgdiplus' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibgdiplus, 1): image not found
at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)
at System.Drawing.SafeNativeMethods.Gdip..cctor()
--- End of inner exception stack trace ---
at System.Drawing.SafeNativeMethods.Gdip.GdipLoadImageFromDelegate_linux(StreamGetHeaderDelegate getHeader, StreamGetBytesDelegate getBytes, StreamPutBytesDelegate putBytes, StreamSeekDelegate doSeek, StreamCloseDelegate close, StreamSizeDelegate size, IntPtr& image)
at System.Drawing.Image.InitializeFromStream(Stream stream)
at System.Drawing.Image.LoadFromStream(Stream stream, Boolean keepAlive)
at NUtility.Channel.GetIconFromCache(Channel channel)
Looks like we need to work out how to get libgdiplus on your mac.
EDIT: Martin bet me to it.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,333
Threads: 867
Joined: May 2006
#8
2020-01-09, 02:41 AM
Should that impact channel.list? I would think that even if mac doesn't support drawing in a browser you should be able to stream icons to other clients.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#9
2020-01-09, 02:50 AM
At the moment, yes it does. I'll try to remove that dependency for the next release though.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#10
2020-01-09, 02:55 AM
I've removed the need for this libgdiplus call in the next released.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Channel scanning fails a_yank_for_yes 6 128 2023-02-09, 09:14 PM
Last Post: a_yank_for_yes
  Channel logo folder location cymrogwirion 5 180 2022-12-14, 11:00 PM
Last Post: mvallevand
  editable text file of channel details? timbo3344 3 673 2021-10-11, 04:15 PM
Last Post: timbo3344

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

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

Linear Mode
Threaded Mode