SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV v7 Customizations (http://forums.sagetv.com/forums/forumdisplay.php?f=47)
-   -   Android application: taSageTV (http://forums.sagetv.com/forums/showthread.php?t=47852)

Fonceur 04-19-2010 03:47 PM

Quote:

Originally Posted by brewston (Post 418632)
Is there any disadvantage to quitting the app. rather than pressing home button ?

By quitting the app, it will indeed need to reconnect and resync, except for the media center part which gets stored in a local database.

Quote:

a 'delete' button under recordings would be handy
a 'record' button under TV guide would be useful too
Right, those are in my other projects, so will make it in at some point. ;)

Zippster 04-19-2010 08:28 PM

I also have a Droid, looks great, just not sure when I'm going to get time to help try it out....:(

brewston 04-20-2010 10:26 AM

Quote:

Originally Posted by Fonceur (Post 418654)
By quitting the app, it will indeed need to reconnect and resync, except for the media center part which gets stored in a local database.

Fine, I suspected the media center bit prevailed as it would take far too long to sync that each time. Any chance of a warning ? eg 'press back again if you really want to quit' ?


Quote:

Originally Posted by Fonceur (Post 418654)
Right, those are in my other projects, so will make it in at some point. ;)

Excellent

Tim

Fonceur 04-20-2010 12:17 PM

Version 0.52

- The Play and Stream buttons have been moved to Menu options.
- Added a Delete option for the Recordings and Video files.
- Added a Menu to Record all/first run/once/re-run for the selected show from the TV guide.

brewston 04-20-2010 01:41 PM

Thanks - the delete & record buttons are perfect.

Can I suggest a more logical order for the front screen ?

Live TV
TV Guide
Media Center
Recordings
Schedule
Favorites

The bottom two are reference really aren't they ?

I dropped the Jar files onto the PC client in my kitchen and edited sageclient properties file. That works just fine, although switching between them on the phone requires going into client settings - will they be switchable from the front screen ? Looks to me like there's room for 4 entries : Server & 3 Clients

Thanks again

Tim

Fonceur 04-20-2010 02:07 PM

Quote:

Originally Posted by brewston (Post 418811)
Can I suggest a more logical order for the front screen ?

I think that initially I was trying to mirror the default SageTV UI.

Quote:

The bottom two are reference really aren't they ?
Mostly, yes. I can probably allow to delete Favorites or some little things like that, but I'm not planing on giving access to the full "Advanced settings". ;)

Quote:

That works just fine, although switching between them on the phone requires going into client settings - will they be switchable from the front screen ? Looks to me like there's room for 4 entries : Server & 3 Clients
I guess I could use a dropdown list to select the client from the front screen. It might have an issue the first time you add a new client...

brewston 04-20-2010 02:52 PM

Spoke too soon....
 
The 'play' functionality under recordings has stopped working with .52 & SageTCPServer 1.2.6 - I think I've found the right place in the log :


Code:

Tue 4/20 21:44:03.150 [Thread-20@adb24] [[SageTCPServer-MessageType]]: Found match with WSS
Tue 4/20 21:44:03.151 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: Message received: WSS:7783103
Tue 4/20 21:44:03.152 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: Now 1 incoming message(s) in list.
Tue 4/20 21:44:03.153 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: (Processing messages) There is now 1 incoming message.
Tue 4/20 21:44:03.153 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: The following UI context are available: 001d6a4bfac3,
Tue 4/20 21:44:03.154 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: (Processing messages) WSS:7783103
Tue 4/20 21:44:03.155 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: Watching show: Gavin and Stacey
Tue 4/20 21:44:03.157 [AsyncWatch@c9c2d7] VideoFrame.watch(A[7541800,7541799,"Gavin and Stacey",1791@0419.21:00,30])
Tue 4/20 21:44:03.165 [AsyncWatch@c9c2d7] watchThisFile=MediaFile[id=7783103 A[7541800,7541799,"Gavin and Stacey",1791@0419.21:00,30] host=sage encodedBy=Hauppauge WinTV 88x TS Capture BBC THREE format=MPEG2-PS 0:00:00 15512 kbps [#0 Video[MPEG2-Video 25.0 fps 720x576 16:9 interlaced]#1 Audio[MP2 48000 Hz 2 channels  MAIN idx=1 id=c1 eng ]] E:\GavinandStacey-7541800-0.mpg, Seg0[Mon 4/19 21:00:00.002-Mon 4/19 21:30:00.001]]
Tue 4/20 21:44:03.167 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: EXCEPTION java.lang.NullPointerException AT gkusnick.sagetv.api.WidgetAPI$List.size(WidgetAPI.java:1776)

Tue 4/20 21:44:03.168 [Thread-20@adb24] java.util.AbstractList$Itr.hasNext(Unknown Source)

Tue 4/20 21:44:03.169 [Thread-20@adb24] gkusnick.sagetv.api.WidgetAPI.FindWidget(WidgetAPI.java:486)

Tue 4/20 21:44:03.170 [Thread-20@adb24] [[SageTCPServer-SageServer(local:9250)]]: Show ID: 7783103
Tue 4/20 21:44:03.172 [AsyncWatch@c9c2d7] Watch airing is a file & over, do that instead dvd=false
Tue 4/20 21:44:03.173 [AsyncWatch@c9c2d7] PooledThread ended w/ an exception: java.lang.NullPointerException

My version of gkusnick.sagetv.jar is 569Kb 6/9/2009 7:57pm

Thanks

Tim

Fonceur 04-20-2010 03:15 PM

Quote:

Originally Posted by brewston (Post 418839)
The 'play' functionality under recordings has stopped working with .52 & SageTCPServer 1.2.6

Can you try it again or go back to the previous set to test? I am not sure why it would have changed... Were you not supposed to try something for the preview mode?


Quote:

EXCEPTION java.lang.NullPointerException AT gkusnick.sagetv.api.WidgetAPI$List.size(WidgetAPI.java:1776)
That actually sound like gkusnick's tools not being able to list the widgets in SageMC or something, which might explain why it was not bringing the video to the front, even though it might have been playing...

Fonceur 04-20-2010 11:21 PM

Quote:

Originally Posted by matt91 (Post 418286)
I didn't see anything in the wiki or in here on this. What are your plans for licensing?

As some kind of pre-release offer, it is now available for $9.99 from the wiki.

The license will be locked to the phone number, so if you upgrade your phone, as long as you keep the same number, you won't need to do anything special. To license a device that is not a phone, I will need to add some extra code...

Assuming I can get the streaming working properly, the price for new customers might go up, though nowhere near the price of a full place-shifter.

brewston 04-21-2010 05:16 AM

Quote:

Originally Posted by Fonceur (Post 418843)
Can you try it again or go back to the previous set to test? I am not sure why it would have changed... Were you not supposed to try something for the preview mode?

Did some testing this morning, I rolled back to .51 without changing TCPserver and the 'play' under recordings works. If SageMC is at the front screen I get the preview window, if there is already live tv running, I get full screen. So the simplest workaround, is to flick to live tv before playing the recording

Exact same steps with .52 won't play back the recording - regardless of whether we're on live tv or front screen

I will try rolling back TCPServer tonight.

Tim

Fonceur 04-21-2010 07:49 AM

Quote:

Originally Posted by brewston (Post 418926)
Exact same steps with .52 won't play back the recording - regardless of whether we're on live tv or front screen

Hmm, if you could post a zipped sagetv_0.txt log file with both cases, I can see if something different is going on.

Quote:

So the simplest workaround, is to flick to live tv before playing the recording
Right, I think that was the work around used at some point.

Fonceur 04-21-2010 03:18 PM

Quote:

Originally Posted by brewston (Post 418839)
The 'play' functionality under recordings has stopped working with .52

OK, I found the issue. When I moved the Play from a button to an option, I sent it to the Server instead of the Client... ;) So it will be fixed by version .53.

brewston 04-21-2010 03:24 PM

2 Attachment(s)
Quote:

Originally Posted by Fonceur (Post 418949)
Hmm, if you could post a zipped sagetv_0.txt log file with both cases, I can see if something different is going on.

Hi

Here are two log files. I did the same test twice, tried playing a recorded file ('grandpa in my pocket') from live TV window and from front screen with .50 (I deleted my .51 zip) that worked as expected. Upgraded to .52 and repeated the test - still no playback (Also tested the stream button just in case they were reversed - you can see that in the log)

Stopped Sage TV service and repeated the test, again with .50 then .52 - this session is the 2nd log file

Fonceur 04-21-2010 03:36 PM

Version 0.53

- Fix: the Play option got broken in version .52.
- Fix: the number of duplicate Client's choice grew exponentially.
- It is now possible to switch between clients from the main screen. (not updating properly)
- Reordered the items on the main screen.

Fonceur 04-21-2010 05:08 PM

Version 0.54

- Fix: the Client displayed on the main screen could be off.
- Fix: switching between Clients should be cleaner.

mindflux 04-21-2010 10:58 PM

0.54 crashing
 
I'm getting a crash when editing client settings on 0.54:

Sorry!
The application taSageTV (process tallus.android.sagetv) has stopped unexpectedly. Please try again.

This is on Android 2.1 on a Nexus One.

Also, I've noticed on your wiki that the current release is 0.55, however I've only been able to find 0.54

Fonceur 04-21-2010 11:18 PM

Quote:

Originally Posted by mindflux (Post 419090)
I'm getting a crash when editing client settings on 0.54:

OK, I'll check that, as I did change some things in there.

Quote:

Also, I've noticed on your wiki that the current release is 0.55, however I've only been able to find 0.54
Right, the change was minor enough, I am waiting to add more stuff before making it available.

mindflux 04-22-2010 12:32 AM

I can send you a log file if you'd like...

Fonceur 04-22-2010 12:39 AM

Quote:

Originally Posted by mindflux (Post 419098)
I can send you a log file if you'd like...

No that's OK, I found the issue.

Version 0.55

- Fix: the Client list on the main screen was not getting filled on orientation changes.
- Fix: adding a client was broken.

LWM4P 04-22-2010 03:22 PM

Pretty much everything working
 
Hey, so this was pretty easy to setup .. I have a main server (that also runs the TV and a stereo) as well as a client in the kitchen, a touchscreen attached to some amps and speakers. This includes speakers inside and out on the porch :-). I have just paid for the full version as well, so there is at least 'some' seed money.

The controls work great and I am able to either select the Main area or the kitchen area. Then the control seems to get sent to the correct place. I can now control the music outside while sitting in the hot tub :-).

One problem:
I setup the main server as a client as well, so added a client on the droid that goes to the main server on port 9250, is that wrong? This is in addition to the server setup. It controls it fine, but the command only gets sent through when I completely back out of the app on the droid! So in the client list I select the client 'Main', pick a song to play and hit play, I then hit 'back->'back'->'back' until I am out of the application. Then the song plays! It will not play till I back out. Every command acts like this also. The client in teh kitchen works as expected and it instantaneous.

Enhancement:
I choose a client and then start playing a song ... in order to get to the remote for that client, I have to hit 'back' a bunch of times. Can you add the remote option to the menu on basically every screen? It is nice to be able to get to it quickly for things like volume. Especially since I am one of those lazy f**kers who's mp3s are not all normalized in level (and some are live recordings, etc..)


All times are GMT -6. The time now is 03:20 AM.

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