NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 19 20 21 22 23 … 47 Next »
EWA Download link request....

 
  • 0 Vote(s) - 0 Average
EWA Download link request....
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2009-08-31, 11:54 PM
Hi, is it possible to get the download link run through TinyUrl?

With IE it's hard to get the download link form the button (FF is ok with the copy link location), and so was wondering if there was another way to get the download link to paste to somewhere else.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#2
2009-10-23, 08:02 AM
Any Idea how I'd add the following code as a new download button to EWA.

http://www.emadibrahim.com/2008/04/15/sh...pi-in-net/

I can't find the migrated_library2 class to add it in myself.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#3
2009-10-25, 01:02 AM
psycik Wrote:Any Idea how I'd add the following code as a new download button to EWA.

http://www.emadibrahim.com/2008/04/15/sh...pi-in-net/

I can't find the migrated_library2 class to add it in myself.

In bed sick again....not the H1N1 thing..... Taking a look now.....
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#4
2009-10-25, 11:00 PM (This post was last modified: 2009-10-30, 12:25 AM by UncleJohnsBand.)
Pop these 4 updated items into your EWA location (stop the recording service first) and see if you are getting what you wanted on the download and play buttons on the Manage.aspx page (only page changed to beta).

It appears to take much longer for the page to load....which is expected....and which will be relative based on the number of items in manage recordings since each download and play link now needs to be posted toTinyURL and the response captured for use in the EWA display.

I had to capture the URI the user is using up-front at login since all links are set as relative but TinyURL needs a fully qualified name to generate a valid URL.

Usage of TinyURL will most likley be a config setting since the longer page load times would be irritating especially if you didn't have a use for the small url.

Try it out and let me know what you think and we can go from there.

Edit: Attachment Removed
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2009-10-26, 04:15 AM
Ok, thats an interesting way of doing it. I'll give it a go. In my head i ifigured it was problably easier to add a new button with the d/l like on there, and the url being copied to clipboard or something like that.

That would get around the long page generation times I imagine, since only the one you wanted would be converted to tinyurl.

I'll give this a go any way, mostly I want it as the long url can get truncated etc when posting it to someone so they can download something off me so it's normally the library. And I found posting the link to tinyurl didn't always work at there were some special characters in there or something that wouldn't convert right..
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#6
2009-10-26, 07:27 PM
Wow, you're right about that load time.....with about 400 recordings mine takes an age to start (a minute or so and still not loaded).

So where to from here. I think hook it to the video library instead of the Manage recordings screen. And if you can, a new button to create the link and do it interactively for the one recording the users wants. I.e. click create link button and get a message screen to popup/send the tiny url to clipboard.

Thoughts?
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#7
2009-10-26, 11:07 PM
I'll have to think about it a little bit....unfortunately the on-demand option is more complex than the in-line option since all that processing was already occurring and this was just an additional call.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#8
2009-10-26, 11:46 PM
Given that you've not got the FQDN held somewhere can the download url be used attached to another button with some javascript for copying to clipboard?
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#9
2009-10-29, 12:50 AM
I think I have a solution that will give you what you want without me needing to code the process in several places and I won't need to add a new configuration option either.

How about I just add a link in the Details pop-up? It would be a single place code update, no need for an extra button or link appearing on every item and it would be available in Manage and Library.

Thoughts?
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#10
2009-10-29, 01:38 AM
Ahh sounds like a good compromise..
« 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
  Broken X-NEWA Info Link on NextPVR.com cweseloh 4 3,053 2020-05-02, 01:02 AM
Last Post: cweseloh
  EPGEventDisplay - Adding web search link sle118 0 2,178 2015-11-02, 03:11 PM
Last Post: sle118
  Bug fix request for Program details on a deleted channel topcat 6 3,566 2015-09-01, 12:22 AM
Last Post: UncleJohnsBand
  Problems with Autorecord for shows that span midnight (plus priority request) jksmurf 9 4,016 2014-10-11, 04:12 PM
Last Post: UncleJohnsBand
  Changes to App_Code\Download.aspx.cs for fanart whurlston 1 1,621 2014-03-30, 01:37 PM
Last Post: UncleJohnsBand
  INEWA Android feature request CORRUPT27 2 2,087 2013-06-25, 07:30 PM
Last Post: CORRUPT27
  Feature request - info shown on NEWA Recordings table view Zogg 5 3,155 2013-01-27, 04:16 PM
Last Post: brcarls
  NEWA Feature Request: Search on Enter button ottoguy 2 1,722 2011-10-29, 07:32 PM
Last Post: ottoguy
  Request / Wishlist for NEWA - Post and Pre-padding in the Autorecord Page? jksmurf 2 1,980 2011-10-02, 10:28 PM
Last Post: jksmurf
  Tinyurl 404 link mvallevand 0 1,371 2010-10-03, 04:55 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode