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 … 54 55 56 57 58 … 100 Next »
Desktop Gadget v1.2 Needs Fixing!

 
  • 0 Vote(s) - 0 Average
Desktop Gadget v1.2 Needs Fixing!
Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#1
2021-10-15, 12:20 PM
After using NPVR v4 (Legacy) for a number of years I have just found time to update to v5 (web based) and am quite pleased.
It may take me a few more days to get used to the change.
The two problems I have is with the Desktop Gadget, I like to keep and eye on the recording schedule and recording status at a glance.
I installed v1.2 and if I want to show the channel logo's on the gadget when I paste the .html txt from the Wiki into the box on the Settings Schedule page it does not remember this text, only the first line.
The the gadget will not work and the only way to recover it is to uninstall it and then re-install and set it up again.
The second problem is if I click on the NPVR logo at the top of the gadget the resulting web page shows an Error!
It appears that whether you use your machines ip. address or localhost in the 'server' setting box on the setting 'General' tab the address returned is missing the '/index.html' at the end of the string
i.e. it returns
http://localhost:8866/
not
http://localhost:8866/index.html

It would be really nice if someone could fix this gadget please?


Attached Files Thumbnail(s)
       
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#2
2021-10-15, 01:03 PM
I am pretty sure any commands from NEWA for modifying the JavaScript will fail since the the web engine has changed and checking this is out of scope for my support. I won't be making any changes to allow downloading channel icons any time soon.

The documented start page doesn't have index.html so nothing is missing. Ensure that you have saved your web setting and any javascript blocks you have in place in your browser are not preventing the redirect. If this is impossible you should be able to edit the source JavaScript and edit npvr.js and change

System.Shell.execute("http://" + gServer + ":" + gPort, "");

to

System.Shell.execute("http://" + gServer + ":" + gPort +"/index.html, "");

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,665
Threads: 170
Joined: Jun 2007
#3
2021-10-15, 01:49 PM
(2021-10-15, 01:03 PM)mvallevand Wrote: The documented start page doesn't have index.html so nothing is missing.  Ensure that you have saved your web setting and any javascript blocks you have in place in your browser are not preventing the redirect.  If this is impossible you should be able to edit the source JavaScript  and edit npvr.js and change

System.Shell.execute("http://" + gServer + ":" + gPort, "");

to

System.Shell.execute("http://" + gServer + ":" + gPort +"/index.html, "");

It has been a bug with NextPVR v5 since the beginning that in some situations (I think that sub determined that it is mainly dependent upon the browser used and maybe the backend server type) you have to have the "/index.html" at the end of the URL to get to the NextPVR web interface. I know that with Chrome on all of my computers, I have to have it.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,665
Threads: 170
Joined: Jun 2007
#4
2021-10-15, 01:57 PM
(2021-10-15, 12:20 PM)Bobbybear Wrote: I installed v1.2 and if I want to show the channel logo's on the gadget when I paste the .html txt from the Wiki into the box on the Settings Schedule page it does not remember this text, only the first line.

I'm guessing that your problem is your trying to enter multiple lines. It should all be one line.

Here's what I have for mine
Code:
"<div class='RecordingTitle'>" + rec.Title + "</div><div class='RecordingSub'>" + (isRecordingNow ? "-" + rec.Stop.format(gTimeFormat) : (date != today ? date : rec.Start.format(gTimeFormat))) + " " + rec.ChannelName + "</div>"


Attached Files Thumbnail(s)
   
Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#5
2021-10-15, 02:53 PM
Well Guys
To. mvallevand: Unfortunately this mod to the java script did not help in fact it broke the gadget, I've had to revert to the original version, I'm using Brave and Script blocking is turned off..

To. BrettB: You were correct the .html text copied using the copy link in the wiki is multi line. Edited to a single line it works just fine.

Thanks for your help, one down one to go..
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#6
2021-10-15, 03:08 PM
Your right I screwed up try

Code:
System.Shell.execute("http://" + gServer + ":" + gPort + "/index.html", "");
Bobbybear
Offline

Member

UK
Posts: 162
Threads: 43
Joined: Nov 2011
#7
2021-10-15, 03:38 PM
Great! that's fixed it thanks.
Appreciate your support.
Windows 11 Professional (x64), AMD Ryzen 9 9000X, ASUS TUF Gaming 850-Plus WIFI, 64GB DDR5 RAM, Samsung SSD 990 EVO Plus 1TB (OS), TBS 6281 Dual DVB-T2/T BDA Tuner, TBS 6981 DVB-S/S2 DUAL BDA Tuner.

Retired Engineer "When was there any time for work?"

« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with Desktop Gadget Bobbybear 3 266 2025-03-24, 04:03 PM
Last Post: Bobbybear
  Remote Desktop to NextPVR host PC three6zerocool 4 565 2024-08-27, 11:29 PM
Last Post: sub
  Uninstalled 4.2.5 desktop version & installed latest from website c.lascala@cox.net 13 1,431 2024-08-14, 12:42 AM
Last Post: c.lascala@cox.net
  Missing time/date navigation in desktop client on guide page (Win11) JHP025 2 396 2024-08-04, 07:08 PM
Last Post: JHP025
  Remote Desktop Connection Offroad 4 726 2024-05-04, 02:09 PM
Last Post: boringgit
  Unable to find available capture device - NextPVR Desktop App -Live TV rmarquar 4 932 2023-12-13, 05:42 PM
Last Post: mvallevand
  Desktop App won't play Mono Radio Stations Agamemnon 1 439 2023-07-29, 10:43 PM
Last Post: sub
  Bugs when changing channels in Desktop App Agamemnon 14 1,704 2023-07-17, 04:27 PM
Last Post: Agamemnon
  NextPVR Desktop App High CPU Usage When Minimized Agamemnon 10 1,390 2023-05-15, 06:32 PM
Last Post: mvallevand
  Desktop App - No Video Picture Bevan 4 834 2023-02-27, 11:05 PM
Last Post: gEd

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

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

Linear Mode
Threaded Mode