User(s) browsing this thread: 3 Guest(s)
|
MediatankController 1.2 for iPhone - browse and control your NMT from your phone
|
|
04-01-2009, 08:34 PM
(This post was last modified: 07-26-2010 02:58 PM by Niels Leenheer.)
|
|||
|
|||
|
MediatankController 1.2 for iPhone - browse and control your NMT from your phone
Ever wanted to control your NMT from your iPhone. I decided to play around a bit and created my own iPhone webapp. It's not a native iPhone app, but a small piece of PHP code that you need to install on the NMT.
Just download CSI from nmtinstaller.com and follow the instructions. The package is called MediatankController. After installing follow the instructions for installing it on your iPhone home screen. Use Safari on your iPhone to open the webapp. The location should be something like this: http://[IP address]:9999/MediatankController_web/. Important: you must use the IP address of your own NMT. Finally, click on the + button and use "Add to Home Screen" to create a button on the home screen of your iPhone. Changelog Version 0.5
Version 0.4
Version 0.3
Version 0.2
Version 0.1
mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch. |
|||
31 users say Thank You to Niels Leenheer for this post |
|
04-01-2009, 09:56 PM
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Works fine on Android as well so I guess any decent handset with a browser will do...
Great work BTW! PCH-A100 (beta fw) + PCH-C200 Streaming from ReadyNas (llink and nfs) Sony 40-x3500 TV |
|||
|
04-01-2009, 10:01 PM
(This post was last modified: 04-01-2009 10:44 PM by dc11ab.)
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Holy rusty island, Batman! It works!
Yes, great work Niels. I have made a simple Jukebox skin for llink but lacked the controls, but now I can finally use them for real! (ehum, with some slight modifications) ![]() ![]() I love the possibility to browse media while listening/seeing on something else in play. The Controls page is slightly weird; is it a "full screen popup"? If I scroll below the buttons (which works fine) the underlying directory list is visible. Hmm, I should browse the code and see for myself. I would add the 'Standby'/Power On and 'Source' button to the controls. Well, all buttons eventually, but they would clutter the display so I guess one has to be a little smarter about it. Ah, and browsing any mounted directory shares too. Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
1 user says Thank You to dc11ab for this post |
|
04-02-2009, 03:24 AM
(This post was last modified: 04-02-2009 03:42 AM by wikkid.)
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
I can connect and everything seems to work, but I get no file listings on the phone. The controls work, just no file listing.
I've tried both mkv and jpg files (from the jukebox on the nmt).. No listing in any folder. Could I be missing something? Did some more testing. Tried putting the file in a folder by itself in case there was too many files. Tried renaming the file to test.mkv in case something in the names was messing it up, neither worked. Your AIR based controller works great, lists files and everything. I"ll keep digging. |
|||
|
04-02-2009, 09:14 AM
(This post was last modified: 04-02-2009 09:15 AM by dc11ab.)
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Wierd, works for me - although not complete:
I can see directories and list/launch music and video files. However this app did not "see" any jpg photo, the Photo dir was shown as empty. But from telnet: /opt/sybhttpd/localhost.drives/HARD_DISK # ls -l Photo/ -rwxr--r-- 1 nmt nmt 1594267 Jan 26 2008 IMG_0236.JPG -rwxr--r-- 1 nmt nmt 54008 Apr 13 2008 IMG_1398.JPG -rwxr--r-- 1 nmt nmt 65234 Apr 13 2008 IMG_1599.jpg drwxr-xr-x 5 nmt nmt 4096 Mar 23 22:47 _theme_ -rwxr--r-- 1 nmt nmt 35947 Apr 18 2008 monitor_calibration.gif Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
04-02-2009, 11:30 AM
(This post was last modified: 04-02-2009 11:40 AM by Niels Leenheer.)
|
|||
|
|||
RE: MediatankController for iPhone - Experimental!
(04-02-2009 09:14 AM)dc11ab Wrote: Wierd, works for me - although not complete: I have only implemented music and video files at this time (same as the Adobe AIR app). (04-01-2009 10:01 PM)dc11ab Wrote: The Controls page is slightly weird; is it a "full screen popup"? If I scroll below the buttons (which works fine) the underlying directory list is visible. Hmm, I should browse the code and see for myself. I am using the iUI javascript library for the iPhone like UI. It is probably a bug in that library. I'll try to look into it using a proper iPhone emulator (like the one in the Apple dev kit) or on a real iPhone. (04-01-2009 10:01 PM)dc11ab Wrote: Ah, and browsing any mounted directory shares too. I already have a solution for this problem in the Adobe AIR app and will port it later this week. mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch. |
|||
|
04-02-2009, 11:49 AM
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Well, that explains the lot. Excellent stuff, Niels. A big thank you for the efforts, despite not having an iPhone of your own.
Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
04-02-2009, 12:50 PM
(This post was last modified: 04-02-2009 01:05 PM by wikkid.)
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
I'm pretty sure you could add any file extension you'd like to mediatypes.php and it would list 'em for ya.
I just can't figure out why it won't list anything for me. Especially if the air app (which works flawlessly) is using similar methods. ![]() Any suggestions/help would be greatly appreciated. ![]() I've continued my efforts and discovered that Fileman 1.03 doesn't list files either. Shows the full folder tree, but no contents. Do these apps use something similar to list the files? :/ |
|||
|
04-02-2009, 01:18 PM
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Perhaps permissions are skewed;
is nmt the owner of files and dirs? Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
04-02-2009, 01:20 PM
(This post was last modified: 04-02-2009 01:20 PM by wikkid.)
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Everything has been setup as default. (I've done next to no tinkering).
All files were uploaded via ftp, so I'd assume ftpuser owns everything? My linux knowledge is limited at best. :/ |
|||
|
04-02-2009, 01:22 PM
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
You could try chowning a file to user nmt, group nmt, and chmodding it to 775 and see if it get's listed.
Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
04-02-2009, 01:54 PM
|
|||
|
|||
RE: MediatankController for iPhone - Experimental!
(04-02-2009 03:24 AM)wikkid Wrote: I can connect and everything seems to work, but I get no file listings on the phone. The controls work, just no file listing. Retrieving the list of files in this app is completely different from the way the AIR app does it. Permissions of the files are probably not the issue here. I specifically use a method that retrieves the file listings as root. It's a little technical, but there are two webserver running on the NMT. One runs as a normal user and is publicly accessible. The second is running as root and is only accessible from within the NMT. The PHP script on the public webserver basically calls the PHP script again on the internal webserver. The result is then handed back to the first script. Perhaps that mechanism isn't working on your system. Could you check the permissions of the index.cgi script of this app. It should have execute rights. For example using telnet: chmod 755 index.cgi. mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch. |
|||
1 user says Thank You to Niels Leenheer for this post |
|
04-02-2009, 04:27 PM
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Dang. Thought that was it when I seen it wasn't the correct permissions.
Changed index.cgi to 755 and still no go.
|
|||
|
04-02-2009, 04:48 PM
|
|||
|
|||
RE: MediatankController for iPhone - Experimental!
(04-02-2009 04:27 PM)wikkid Wrote: Dang. Thought that was it when I seen it wasn't the correct permissions. I'll create a new version which contains a diagnostics mode. It should help track down this problem. I don't have time today, but I'll post a message when it is ready. Probably tomorrow. mediatankcontroller.com: the home of MediatankController 1.0 for Adobe AIR and MediatankController 1.0 for iPhone and iPod Touch. |
|||
|
04-02-2009, 05:28 PM
|
|||
|
|||
|
RE: MediatankController for iPhone - Experimental!
Wow, that's very kind of you.
It's sad how many times I've searched the app store for "NMT, and Popcorn" in hopes of finding an app that did this. So it's greatly appreciated.
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]







![[+]](images/collapse_collapsed.gif)

![[Image: iphonejukeboxhorizontalwj2.th.jpg]](http://img214.imageshack.us/img214/9596/iphonejukeboxhorizontalwj2.th.jpg)
![[Image: iphonejukeboxhorizontalhz8.th.jpg]](http://img67.imageshack.us/img67/2866/iphonejukeboxhorizontalhz8.th.jpg)

