[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
TankTV (AppleTV Clone & Gaya replacement)
12-16-2009, 10:55 AM
Post: #31
RE: TankTV (AppleTV Clone & Gaya replacement)
Nice work!
OK, I downloaded and installed the app.
1. Unfortunately, decodeUTF-8 (cyrillic) don't work properly.
Cyrillic gluphs rendered correctly in native DirectFB 1.0.0 examples(!).
I see true cyrillic symbols in tanktv.log, but cyrilllic symbols are wrong in
current item label :
Code:
current item: C==K9 45=L
handleEvent
handleIdle
(*) em86remote: received command 0x0D
got key: 0xf000 0xc
playing /share/Music/oldrock/Sounds/Мельница/Сборник Лунный день(Хелависа)/Сонет xvii.mp3 using: MP3 Decoder
current item:  Sonet XVII_
Please, check this problem.

2. TODO Wish
How about AdvancedMediaProvider?

Valeriy
Find all posts by this user
[+] 1 user says Thank You to vnm for this post
12-16-2009, 11:41 PM (This post was last modified: 12-17-2009 06:37 AM by vinayp.)
Post: #32
RE: TankTV (AppleTV Clone & Gaya replacement)
New version 0.0.2 release with just some minor bug fixes. The next release will have album cover art.

@bellissimo: i think may have fixed the crash during the music scan. i also added more debug info in case you are still getting crashes.

@andrewcj, jerseyjoe: i changed the CSI packaging so hopefully you won't see the white screen problem anymore. please grab the new version and let me know if it works for you. try uninstalling lighttpd if you have it installed and you are seeing problems.

@sattertje: still trying to figure out sound issues (i can't seem to reproduce them on my box). is it really bad or just somewhat poor quality?

@vnm: font rendering issues fixed. cyrillic characters should render fine now. unfortunately, until syabas releases the header files for their DirectFB AdvancedMediaProvider interface, i won't be able to use it for audio/video playback.
Find all posts by this user
12-17-2009, 05:34 AM
Post: #33
RE: TankTV (AppleTV Clone & Gaya replacement)
(12-16-2009 11:41 PM)vinayp Wrote:  @andrewcj, jerseyjoe: i changed the CSI packaging so hopefully you won't see the white screen problem anymore. please grab the new version and let me know if it works for you. try uninstalling lighttpd if you have it installed and you are seeing problems.

Thanks! I give it a try and let you know.
Find all posts by this user
12-17-2009, 02:44 PM
Post: #34
RE: TankTV (AppleTV Clone & Gaya replacement)
(12-16-2009 11:41 PM)vinayp Wrote:  New version 0.0.2 release with just some minor bug fixes.

@vnm: font rendering issues fixed. cyrillic characters should render fine now. unfortunately, until syabas releases the header files for their DirectFB AdvancedMediaProvider interface, i won't be able to use it for audio/video playback.
1. Cyrillic characters render OK in filename path (File),
but not in Medialib (Movies, Music) (from sqlite3 db).
2. Wrong symlinks in filesystem crashed tanktv.
3. AdvancedMediaProvider header files for DirectFB are in:

http://www.networkedmediatank.com/downlo...24.tar.bz2

under LGPL licence.
Find all posts by this user
12-17-2009, 04:52 PM (This post was last modified: 12-17-2009 04:53 PM by vinayp.)
Post: #35
RE: TankTV (AppleTV Clone & Gaya replacement)
I've looked through that directfb source code before but syabas still left out some critical header files that define structures such as SMediaFormat that are required to actually open media for playback. See this thread.

Can you provide more details about #2? Do you mean that you had symlinks in your /share/Music directory that were causing TankTV to crash?
Find all posts by this user
12-17-2009, 07:40 PM (This post was last modified: 12-17-2009 07:50 PM by vnm.)
Post: #36
RE: TankTV (AppleTV Clone & Gaya replacement)
(12-17-2009 04:52 PM)vinayp Wrote:  I've looked through that directfb source code before but syabas still left out some critical header files that define structures such as SMediaFormat that are required to actually open media for playback. See this thread.

Can you provide more details about #2? Do you mean that you had symlinks in your /share/Music directory that were causing TankTV to crash?

#2 is very simple at NMT:
>cd /share/Video
#for example
>ls
file.mkv
>cd /share/Download
ln -s /share/Video/file.mkv file.mkv
# for Scan medialib in tanktv
mkdir /share/Video/Movies
mv /share/Video/file.mkv /share/Video/Movies/file.mkv
# symbolic link in /share/Download/file.mkv to /share/Video/file.mkv is wrong now

Now in tanktv -> Files -> select Download and .... crash tanktv
(No file.mkv in Video dir)

Yes, it is unusual case for NMT file structure, but not impossible.

AMPHuh
Find all posts by this user
12-17-2009, 08:14 PM
Post: #37
RE: TankTV (AppleTV Clone & Gaya replacement)
Great, thanks for the detailed explanation. This should be easy to fix.

Regarding AMP, as I stated in my previous reply, the DirectFB source code that syabas released is incomplete and doesn't provide the definition of the SMediaFormat structure that is needed to actually use the IAdvancedMediaProvider interface. This thread provides more details on this: http://www.networkedmediatank.com/showth...p?tid=6715
Find all posts by this user
12-17-2009, 10:23 PM
Post: #38
RE: TankTV (AppleTV Clone & Gaya replacement)
Arent I supposed to find TankTV in NMT Community Software Installer?
Cant find it!
HELP!
Find all posts by this user
12-17-2009, 10:28 PM
Post: #39
RE: TankTV (AppleTV Clone & Gaya replacement)
Looks like the problem with the white screen on the A-100 is due to an incompatibility with lighttpd. I installed the latest version of TankTV and got the same white screen. However, once I removed lighttpd, The TankTV screen opened properly. What I still don't quite understand is why TankTV ran on top of lighttpd OK, when I ran it manually with the Telnet commands.
Find all posts by this user
12-17-2009, 11:45 PM
Post: #40
RE: TankTV (AppleTV Clone & Gaya replacement)
@concha: Since its still in its early stages, I haven't submitted TankTV to be added to the official repository. For now, you have to install it from the zip file (the download link is in the first post). After you download it, run the NMT CSI Installer, go to the "File" menu and select "Install from file". Then choose the TankTV-0.0.x.zip file that you downloaded. This should install it.

@jerseyjoe: Gaya actually goes through the active web server in order to run its webservices (which TankTV is). When you ran it manually with the telnet commands, you bypassed the web server altogether. It looks mvpmcx2 (another gaya replacement) also has problems running when lighttpd is installed. Not sure exactly why that is...
Find all posts by this user
12-18-2009, 09:02 AM (This post was last modified: 12-18-2009 09:07 AM by andrewcj.)
Post: #41
RE: TankTV (AppleTV Clone & Gaya replacement)
(12-16-2009 11:41 PM)vinayp Wrote:  @andrewcj, jerseyjoe: i changed the CSI packaging so hopefully you won't see the white screen problem anymore. please grab the new version and let me know if it works for you. try uninstalling lighttpd if you have it installed and you are seeing problems.

Thanks - uninstalled Lighttpd as sugested then installed new version of TankTV - appeared to open ok.

Did 'scan media' - it got to 11 items then screen went blank and box appeared to have frozen. Restarted and rescanned - got to about 90 items then blank/freeze again At that point I gave up...

Afterwards I figured that I didnt have my folders in the same configuration as yours -eg my TV has subfolders for Grownups and Kids (can Tank TV cope with this?) and then in these, subfolders for show then season. Would need to know how may levels of subfolders (if any) Tank TV will scan, or does all media have to be directly under Movies, TV Shows etc?


A210 + 1Tb 2.5" SATA internal
A110 (4gb compact flash)
Storage: Synology DS207+ (4Tb) & 2 x Edgestor DAS200 (8Tb)
Display: Sony Bravia KDL55HX853
Amplification: Onkyo TX-NR515
Speakers: 3 x Monitor Audio R180HD; 2 x Monitor Audio R45HD; REL Q-Bass
Logitech Harmony One
Find all posts by this user
12-18-2009, 12:08 PM (This post was last modified: 12-18-2009 12:23 PM by bellissimo.)
Post: #42
RE: TankTV (AppleTV Clone & Gaya replacement)
With version 0.0.2 I now get the following error when Scanning:

Code:
processing: 16 - Lady Marmalade [Thuderpuss Radio Mix].mp3
inserting: 16 - Lady Marmalade [Thuderpuss Radio Mix].mp3
path: /share/Music/Original Soundtrack/Moulin Rouge Collector's Edition (1 of 2)/16 - Lady Marmalade [Thuderpuss Radio Mix].mp3
title: Lady Marmalade [Thuderpuss Radio Mix]
album: Moulin Rouge: Collector's Edition (1 of 2)
artist: Christina Aguilera / Lil' Kim / Mya / Pink
genre: Soundtrack
insertArtist: Christina Aguilera / Lil' Kim / Mya / Pink
returning artist_id
inserted artist_id=209
insertAlbum: Moulin Rouge: Collector's Edition (1 of 2) (artist_id=209)
returning album_id
inserted album_id=288
insertSong: Lady Marmalade [Thuderpuss Radio Mix] (album_id=288)
insertGenre: Soundtrack(!) [ 7443:    0.000] --> Caught signal 11 (at (nil), invalid address) <--

After restarting, I then got crashes navigating the Music Artists. There was nothing in the log for these crashes though.
Hmm. Rebooted, reinstalled and restarted TankTV and it bombed out after a few seconds of just sitting on the main screen (I didn't press a button). These are the last few lines of the log:

Code:
(*) Confirmed combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) SMP863x: em86_configure_encoders() same display_options already applied
(*) SMP863x: Encoder colorspaces: DCS_RGB, DCS_YUV_601, DCS_YUV_601
(*) SMP863x: Configuring deinterlacing; actual mode=0
(*) SMP863x: em86_main_video_scaler_deinterlace: mode=0
(*) Deinterlacing config: Discard/Bob; using_xlacing_motion_scaler=0
(*) SMP863x: HDMI not specified (engine -1), no configuration required
(*) Direct/Thread: Running 'HDMICheckerThread' (CRITICAL, 4657)...
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) SMP863x: ------------------------ em86_free_layer_surface layer=0 scaler=0 ------------------------
(*) SMP863x: ------------ em86_init_layer_surface layer=0 group=5 scaler=6 maxbuffers=2 size=1920x1080 forced_dram=0 forced_size=0 ------------
(*) Direct/Interface: Using 'PNG' implementation of 'IDirectFBImageProvider'.
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
initializing audio...
initializing plugin...
handleIdle
Find all posts by this user
01-04-2010, 01:34 PM
Post: #43
RE: TankTV (AppleTV Clone & Gaya replacement)
Great app!!

When are you expecting to release a version with movie metadata and covers etc .. ?
Find all posts by this user
01-10-2010, 09:06 PM
Post: #44
RE: TankTV (AppleTV Clone & Gaya replacement)
(12-10-2009 07:11 PM)shadowcode Wrote:  Impressive, good job Smile

Great Work!
Find all posts by this user
01-11-2010, 08:00 AM
Post: #45
RE: TankTV (AppleTV Clone & Gaya replacement)
Looks good! I'll have to give it a try when I get off work.

PCH A-100

http://www.streamernation.com
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Torrentwatch-X - Replacement for Torrentwatch/NMTDVR .:ian:. 213 60,077 11-20-2012 07:42 PM
Last Post: felipesalomao
  Help required to fix Extended gaya Extended 0.4 AquaFire 2 2,075 03-17-2011 07:46 AM
Last Post: accident
  unix/c gurus - Starting a process from gaya without it hanging lordy 5 2,445 05-04-2010 06:43 PM
Last Post: lordy
  gaya / directfb / video memory thica 5 3,374 04-20-2010 07:28 AM
Last Post: thica
  Gaya, mono and interprocess stuff - how does it work? frankvw 11 3,541 03-20-2010 07:28 PM
Last Post: frankvw
  RAR support in gaya / mono / YAMJ x0r 1 2,006 03-09-2010 01:19 AM
Last Post: lundman
  Gaya Extended gshock 107 61,054 11-30-2009 11:56 PM
Last Post: Mesterhak
  HTML Gaya Form Controls vs CSS lordy 0 1,568 11-22-2009 09:25 PM
Last Post: lordy
  Replacement FTP server available? say170 5 2,106 11-08-2009 05:01 PM
Last Post: dc11ab
  Cookies in Gaya Myka 1 1,336 10-17-2009 02:00 AM
Last Post: bdb

Forum Jump: