Click here to go to the forum index Click here for the home page
 
Author Message

<  TAP and patch development  ~  TF6000 API/Firmware differences

Page 1 of 1
garyo
Posted: Mon Aug 07, 2006 9:13 pm Reply with quote
Frequent contributor Joined: 24 Aug 2005 Posts: 368 Location: South Beds (Oxford txr)
Hi All,

Just had a TF6000 user point out that the MP3 Jukebox crashes their TF6000. I can't find any info about API support on the 6000 vs 5XXX, has anyone else taken a look and dug up anything useful?

Still waiting to hear how far the user gets before crashing, so not sure if this is disk, playback or other API related.

Cheers
Gary

_________________
Got MP3s? Get MP3 Jukebox!
TAPS: MyStuff + eit2mei : RemoteExtender : MP3 Jukebox : Power Manager : Description Extender : TAPCommander
Topfield Model: TF5800PVR - Firmware version: 5.12.88PH
View user's profile Send private message
bellissimo
Posted: Tue Aug 08, 2006 9:08 am Reply with quote
Frequent contributor Joined: 26 May 2005 Posts: 1965 Location: Reading
Nope, but would be very interested to know if you find out any info, since I notice that the guy on your thread said Media Manager does not work either.

_________________
General: FW 5.13.65 Patched, Pioneer DVR-530H-S, Harmony 885.
TAPs: Font Manager, Media Manager, Super PiP, MyStuff, EPG2MEI, mei2archive, QuickJump

Media Manager, Font Manager, Super PiP link: http://www.toppy.org.uk/~bellissimo
View user's profile Send private message Send e-mail Visit poster's website
chunkywizard
Posted: Tue Aug 08, 2006 9:24 am Reply with quote
MyStuff Team Joined: 13 May 2005 Posts: 8562 Location: Sindlesham, Berkshire Tx: Hannington
I bet MyStuff would work either Razz We have no one using that model to the best of my knowledge. If you find the answer let us know!

CW

_________________
Toppy:TF5800 F/W: 1365PaTcHeD TAPs: MyStuff 6.1 | EPG2MEI 0.96 | FontManager 1.0d | SecCache UK 0.4 | Extend 1.7 | FastScanGUI 0.6a | EIT_sub 0.6 | MyInfo B4.1a | ScreenCapture with OSD 2.10a | MHEG Control B2
MyStuff Manual & Logos | Known Bugs | Recommended F/W
View user's profile Send private message Visit poster's website
bellissimo
Posted: Thu Sep 07, 2006 10:21 am Reply with quote
Frequent contributor Joined: 26 May 2005 Posts: 1965 Location: Reading
As a follow on to this, I have been in contact with a TF6000 user. From his logs, the problem seemed to be a serious memory problem. He pointed me in the direction of a German thread started by Gerti (who seems to be linked with Topfield now).

He states that as many API calls should be made in the Idle handler as possible, even responses to Remote keys. This is especially true for the TF6000 series. Now, handling all remote keys in the idle handler is a tricky business, not least because sometimes you want to pass the key press on, sometimes not. I did set up a simple event queue which I processed, but soon gave up when I realised it opened up a veritable can or worms.

However I did make a change to move all my init code out of TAP_Main, and performed it in the Idle handler instead. This seemed to make a big difference to the TF6000 user, who so far has had no problems (although it may just delay the problem).

_________________
General: FW 5.13.65 Patched, Pioneer DVR-530H-S, Harmony 885.
TAPs: Font Manager, Media Manager, Super PiP, MyStuff, EPG2MEI, mei2archive, QuickJump

Media Manager, Font Manager, Super PiP link: http://www.toppy.org.uk/~bellissimo
View user's profile Send private message Send e-mail Visit poster's website
garyo
Posted: Thu Sep 07, 2006 10:51 am Reply with quote
Frequent contributor Joined: 24 Aug 2005 Posts: 368 Location: South Beds (Oxford txr)
bellissimo wrote:
As a follow on to this, I have been in contact with a TF6000 user. From his logs, the problem seemed to be a serious memory problem. He pointed me in the direction of a German thread started by Gerti (who seems to be linked with Topfield now).

He states that as many API calls should be made in the Idle handler as possible, even responses to Remote keys. This is especially true for the TF6000 series. Now, handling all remote keys in the idle handler is a tricky business, not least because sometimes you want to pass the key press on, sometimes not. I did set up a simple event queue which I processed, but soon gave up when I realised it opened up a veritable can or worms.

However I did make a change to move all my init code out of TAP_Main, and performed it in the Idle handler instead. This seemed to make a big difference to the TF6000 user, who so far has had no problems (although it may just delay the problem).


The last bit is Interesting - I know I load up config and other persisted data in TAP_Main(). Like you, the thought of having "as many API calls ... in the Idle handler as possible" made me shiver... you can only ponder what they might have done to the internals to make this an issue!

_________________
Got MP3s? Get MP3 Jukebox!
TAPS: MyStuff + eit2mei : RemoteExtender : MP3 Jukebox : Power Manager : Description Extender : TAPCommander
Topfield Model: TF5800PVR - Firmware version: 5.12.88PH
View user's profile Send private message
bellissimo
Posted: Thu Sep 07, 2006 11:00 am Reply with quote
Frequent contributor Joined: 26 May 2005 Posts: 1965 Location: Reading
Indeed, they seem to have forgotten that they support a TAP API in that firmware, which is slightly disturbing.

The init change was pretty easy though (I was doing all sorts of things in TAP_Main), and it definitley seems to prevent the occasional crash on startup of the TAP. Interestingly I used to get these myself sometimes, and adding or removing a few random lines of code always seemed to solve the problem.

_________________
General: FW 5.13.65 Patched, Pioneer DVR-530H-S, Harmony 885.
TAPs: Font Manager, Media Manager, Super PiP, MyStuff, EPG2MEI, mei2archive, QuickJump

Media Manager, Font Manager, Super PiP link: http://www.toppy.org.uk/~bellissimo
View user's profile Send private message Send e-mail Visit poster's website
garyo
Posted: Thu Sep 07, 2006 11:05 am Reply with quote
Frequent contributor Joined: 24 Aug 2005 Posts: 368 Location: South Beds (Oxford txr)
bellissimo wrote:
Indeed, they seem to have forgotten that they support a TAP API in that firmware, which is slightly disturbing.

The init change was pretty easy though (I was doing all sorts of things in TAP_Main), and it definitley seems to prevent the occasional crash on startup of the TAP. Interestingly I used to get these myself sometimes, and adding or removing a few random lines of code always seemed to solve the problem.


My TAP_Main is pretty chocka... so that might explain why the TF6000 folks had problems... will see if I can move it all before I (finally) release 2.1d

Cheers for the info.
G

_________________
Got MP3s? Get MP3 Jukebox!
TAPS: MyStuff + eit2mei : RemoteExtender : MP3 Jukebox : Power Manager : Description Extender : TAPCommander
Topfield Model: TF5800PVR - Firmware version: 5.12.88PH
View user's profile Send private message
bdb
Posted: Thu Sep 07, 2006 12:14 pm Reply with quote
Frequent contributor Joined: 18 Oct 2005 Posts: 482
I'd concur with that - doing TAP API calls from TAP_Main is a no-no; best to just just set a flag and wait for an EVT_IDLE. Also, if the users auto start has several taps that hog the processor when the start up, it can create an unpleasant user experience; so it is nicer to try to spread the startup over several EVT_IDLE calls.

bdb
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum