SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations

Notices

SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #61  
Old 12-03-2021, 07:43 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by tvmaster2 View Post
Using the old, mobile web app (Phoenix Remote) on an Android device, what causes this failure when you attempt to call up tv guide listings?

Attachment 17891

Attachment 17892
Do you get the same error if you go direct to the mobile web app..,not using the apk?

http://yoursageserverip:8080/sagem/m/menu.jsp

Let me know.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #62  
Old 12-03-2021, 10:45 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,122
Quote:
Originally Posted by jusjoken View Post
Do you get the same error if you go direct to the mobile web app..,not using the apk?

http://yoursageserverip:8080/sagem/m/menu.jsp

Let me know.

K
Using 8080 in a browser works fine, just the Android Phoenix Remote apk gets the Java error, or whatever it is…
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #63  
Old 12-04-2021, 06:24 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by tvmaster2 View Post
Using 8080 in a browser works fine, just the Android Phoenix Remote apk gets the Java error, or whatever it is…
Interesting...as I believe its the same web page. I will dig into the code more.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #64  
Old 12-04-2021, 08:41 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,122
Forgot, ‘Search Airings’ and ‘Search Recordings’ also returns this error, seen in the attached photo. Otherwise, the app works perfectly.
Attached Images
File Type: jpeg 10B91254-8018-4A15-91AE-49660D87217F.jpeg (397.7 KB, 22 views)
File Type: jpeg 88F7389C-7D5F-4017-B644-2E1D64CA3ABF.jpeg (339.4 KB, 24 views)
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #65  
Old 12-04-2021, 08:59 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by tvmaster2 View Post
Forgot, ‘Search Airings’ and ‘Search Recordings’ also returns this error, seen in the attached photo. Otherwise, the app works perfectly.
So why do you choose to use the APK app rather than direct to the URL in a browser on the same device if the present the same web pages and the apk wrapper is erroring ?

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #66  
Old 12-04-2021, 10:00 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,122
Quote:
Originally Posted by jusjoken View Post
So why do you choose to use the APK app rather than direct to the URL in a browser on the same device if the present the same web pages and the apk wrapper is erroring ?

K
Because on a small, cell phone screen, that’s what the apk was designed for. Easier to read, get around, manipulate, etc. On a eight inch or larger screen, I use 8080 and a browser.
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #67  
Old 12-04-2021, 11:52 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by tvmaster2 View Post
Because on a small, cell phone screen, that’s what the apk was designed for. Easier to read, get around, manipulate, etc. On a eight inch or larger screen, I use 8080 and a browser.
So I think we are talking about 2 different things.

There are 3 different web apps built on sage (perhaps more).

Web - or neilms web server - accessed from
Code:
http://server:port/sage/home
Mobile - accessed from
Code:
http://server:port/sagem/menu.jsp
APK from stuckless - added phoenix functions AND it WRAPS/links to the Mobile app above.

If you use the APK and go to the screens you have copied for me, the APK is actually going internally to the Mobile Web app at
Code:
"http://server:port/sagem/menu.jsp"
and displaying the resulting page inside the android APK app.

I believe when you say the 8080 and a browser, you are refering to the Web app at
Code:
"http://server:port/sage/home"
So, to test...if you went to a browser on your android phone and went to..

Code:
http://server:port/sagem/menu.jsp
...replacing server with your server IP and port with 8080 or whatever port you use.. I believe you will see the same mobile web pages you are seeing within the android APK.

Please confirm.

Thanks
K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #68  
Old 12-04-2021, 04:11 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,122
Quote:
Originally Posted by jusjoken View Post
So, to test...if you went to a browser on your android phone and went to..

Code:
http://server:port/sagem/menu.jsp
...replacing server with your server IP and port with 8080 or whatever port you use.. I believe you will see the same mobile web pages you are seeing within the android APK.

Please confirm.

Thanks
K
Yes, that works, but as you can see, the readability due to opposing font/text sizes - anything related to the drop-down menus, is basically unreadable without zooming. But all the info is there, listings and search included.
Attached Images
File Type: jpeg 646ED587-D843-4D01-8F05-4C089232969A.jpeg (355.8 KB, 26 views)
File Type: jpeg 39F4308B-964D-4EDB-875F-9D43BAB95520.jpeg (364.4 KB, 23 views)
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson

Last edited by tvmaster2; 12-04-2021 at 11:58 PM.
Reply With Quote
  #69  
Old 12-04-2021, 04:38 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by tvmaster2 View Post
If I’m not mistaken, all your mentioning are http browser options? Have you ever used the ‘Phoenix Remote”? I believe that’s what you’re referencing as Stuckless creation, correct? That’s my favourite Android method, at least on a cell phone.
Yes, the stuckless option I mentioned is the APK you are using. Any yes, I have it installed and am testing it and seeing if I need/want to do any updates to it.

Although there are added functions within the APK, the Mobile Web view is just linking internally to the Mobile Web App.

I guess it really does not matter, I was just trying to see if it behaved any different in the current (old) jetty version in those 2 formats.

I have the Mobile Web App working now within the APK and directly with the new Jetty 9 plugin with Java 8. I have more to do of course but good to see it work.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #70  
Old 12-04-2021, 04:40 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Oh and ‘Search Airings’ and ‘Search Recordings’ also work with the new Jetty 9 and Java 8.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #71  
Old 12-04-2021, 05:09 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,122
Quote:
Originally Posted by jusjoken View Post
Oh and ‘Search Airings’ and ‘Search Recordings’ also work with the new Jetty 9 and Java 8.

K
Jetty 8 and 9 installed on which platform, Windows 10? The benefit of the Phoenix Remote isn’t necessarily any different functionality, it’s merely a fore more friendly and functional user-interface for smaller, portrait screen sizes.
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson

Last edited by tvmaster2; 12-04-2021 at 05:11 PM.
Reply With Quote
  #72  
Old 12-04-2021, 05:34 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by tvmaster2 View Post
Jetty 8 and 9 installed on which platform, Windows 10? The benefit of the Phoenix Remote isn’t necessarily any different functionality, it’s merely a fore more friendly and functional user-interface for smaller, portrait screen sizes.
I am referring to the development work I am doing for the UNRELEASED new Jetty plugin that uses Jetty 9 and Java 8+

I have so far only tested it on Windows 10 but will test unraid as well and will test Jave 9, 11 and 16 likely.

There is a lot more work to do before this is released but it is progressing well and will allow more web programming with better interfaces etc. in the future.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #73  
Old 12-04-2021, 05:53 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
As info for everyone following this... the following screen grabs are taken from my Android Note 20 using chrome and the Mobile Web App and using the Phoenix Remote. The server is running on Windows 10 using the in development Jetty 9 plugin using Java 8.

Using Chrome - Mobile Web App - main menu


Using Chrome - Mobile Web App - lineup



Using Phoenix Remote - Mobile -main menu


Using Phoenix Remote - Mobile - lineup


K
Attached Images
File Type: jpg MobileOnChrome_menu-medium.jpg (76.2 KB, 169 views)
File Type: jpg MobileOnChrome_lineup-medium.jpg (74.0 KB, 172 views)
File Type: jpg Phoenix Remote_menu-medium.jpg (62.7 KB, 171 views)
File Type: jpg Phoenix Remote_lineup-medium.jpg (67.2 KB, 167 views)
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #74  
Old 12-04-2021, 11:41 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,122
looks good.
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #75  
Old 12-16-2021, 02:47 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Move to Jetty 9 - status update

I have spent a lot of time on this and am still making good progress but so everyone does not loose hope here is an update...
  • Jetty Starter - updated to Jetty 9.4.44 - more detailed work to complete but works to allow me to test and update the other related apps
  • SageTV Web Applications - lists and links to all web apps running on SageTV Jetty 9 server
  • SageTV Web Interface - updated and sent to SkiingWiz to review and update as he has time (as he is the current maintainer)
  • SageTV Mobile Web Interface - updated to support J9
  • Media Streaming Services - used by the 2 above - updated to J9 but still need to determine how this works and how to test
  • SageTV Sagex API Extensions (sagex-api) - updated to J9
  • SageTV Sagex Remote API Services (sagex-services) - updated to J9
  • SageTV Swagger interface for Sagex remote api testing - updated to J9 and newer swagger ui
  • Batch Metadata Tools - Web Interface - updated to J9 plus TMBD TV provider (more testing needed of TV provider)

All of the above plus likely some others that are related (SJQ, SRE etc.) will need to be released at the same time as Jetty 6 and 9 cannot run at the same time.

No release by Christmas but I do plan to just continue to work on this nearly daily.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #76  
Old 12-16-2021, 09:21 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Thanks for the update Ken. I am going to do a new install of Sage - what Java version should I run? I was thinking 11 but from your post should I stay on Java9? This is on unRAID and I may play with a few versions.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #77  
Old 12-16-2021, 10:29 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by wayner View Post
Thanks for the update Ken. I am going to do a new install of Sage - what Java version should I run? I was thinking 11 but from your post should I stay on Java9? This is on unRAID and I may play with a few versions.
I should be more clear...J9 above refers to Jetty 9. Jetty 9 is supported from Java 8+.

I am building everything with a minimum version of Java 8 but we should test 9, 11 and 16 and report back but I have only tested it with Java 8 so far on a few windows 10 vms. As I believe the latest sage jar is built using Java 9 as minimum we should aim for most testing on Java 9.

I have an unraid server so I will soon try out a full install using the stuckless dockers.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #78  
Old 12-16-2021, 10:45 PM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,466
Thanks for all the effort on this. Can't wait to see it when it all gets out into the wild.
__________________
Wayne Dunham
Reply With Quote
  #79  
Old 12-17-2021, 07:56 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Quote:
Originally Posted by jusjoken View Post
I should be more clear...J9 above refers to Jetty 9. Jetty 9 is supported from Java 8+.

I am building everything with a minimum version of Java 8 but we should test 9, 11 and 16 and report back but I have only tested it with Java 8 so far on a few windows 10 vms. As I believe the latest sage jar is built using Java 9 as minimum we should aim for most testing on Java 9.

I have an unraid server so I will soon try out a full install using the stuckless dockers.

K
Awesome. Presumably if all works would you recommend a new system go with Java 16?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #80  
Old 12-17-2021, 08:22 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,567
Quote:
Originally Posted by wayner View Post
Awesome. Presumably if all works would you recommend a new system go with Java 16?
Good question and difficult to answer. I am no Java expert but the pat answer is likely the highest version that SageTV and all your plugins will still work with. The answer may be different for other users that use other plugins. We have a very old collection of plugins that use jar libraries from WAY back. Many of these are "standard" libraries that may use Java features no longer available in newer Java releases. So running a newer Java version may raise errors when a plugin users a non supported function...or it may be fine if all the in use functions are still supported.

So the "safe" bet, to ensure everything still works when you have a number of plugins running is to use Java 8 or 9 or do your own testing on the newest Java releases on your set of plugins and check for errors in the logs...and move back to older Java versions until resolved.

My personal opinion would have been to stick with the newest Java 8 that you can get as everything should work with that, however with the latest SageTV jar built with Java 9 I may at least make Java 9 my minimum version. But this may all change if I test out the full suite of plugins and find Java 16 or 17 meet my needs.

Sorry for the long response. Others likely will have a different opinion. YMMV.

I will post my results with the various Java versions and this suite of plugins.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interest in New SMM? PLUCKYHD Sage My Movies 43 06-22-2016 05:21 PM
external apps blwegrzyn SageTV v7 Customizations 9 10-30-2010 04:59 PM
PDA Cell Phone Apps electrofex SageTV Customizations 1 01-04-2010 08:27 AM
Switching between apps? Skybolt SageMC Custom Interface 3 11-24-2008 09:27 PM
Playing .TS with other apps Mike Young SageTV Beta Test Software 12 10-20-2005 08:46 PM


All times are GMT -6. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.