Notices

» Slysoft Recommended!
1 CLick BD and DVD backups
Download AnyDVD HD!
For Blu-Ray and DVD!
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Stats
Members: 85,610
Threads: 29,437
Posts: 248,422
Welcome to our newest member, dima_best
» MPC Club Advertisers and Sponsors
Reply
 
Thread Tools
Old 12-06-12, 09:38   #11
ScottJ97

Senior Member
 
ScottJ97's Avatar
 
Join Date: Mar 2010
Location: San Francisco, CA
Posts: 650
Contribution: 0.26%
Thanks: 35
Thanked 114 Times in 94 Posts
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by ScottJ97 View Post
The default httpd homedir (where cgi-bin exists) is mounted read-only. I figured I could kill the default httpd and restart it with a different home directory. Yet after I kill and restart it (even with the default home dir) all future http responses are empty.
In case anyone cares, I was missing a path in $LD_LIBRARY_PATH. Fixed that and now I'm running my own CGI program that fixes the query string and then runs the original.
ScottJ97 is offline   Reply With Quote
Old 12-06-12, 17:49   #12
aries_sd
Premium Potential
TIP: Upgrade to Premium
Active Member
 
aries_sd's Avatar
 
Join Date: Jun 2012
Location: San Diego, CA
Posts: 14
Contribution: 0.01%
Thanks: 0
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by ScottJ97 View Post
In case anyone cares, I was missing a path in $LD_LIBRARY_PATH. Fixed that and now I'm running my own CGI program that fixes the query string and then runs the original.

Cool! Can you share your cgi script so we can see what you're doing?

Does this persist across player reboots?

-Aries
aries_sd is offline   Reply With Quote
Old 12-06-12, 18:55   #13
ScottJ97

Senior Member
 
ScottJ97's Avatar
 
Join Date: Mar 2010
Location: San Francisco, CA
Posts: 650
Contribution: 0.26%
Thanks: 35
Thanked 114 Times in 94 Posts
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by aries_sd View Post
Cool! Can you share your cgi script so we can see what you're doing?

Does this persist across player reboots?

-Aries
Sure, give me a couple of days to publish it. It's nothing special, a little C program that does getenv("QUERY_STRING"), manipulates it, setenv(), then exec() or something like that to run the original do.

It persists across reboots via a launch script in /config/boot.

This approach worked for me only because I have only Bluray ISOs in my library and no DVDs. So when MyMovies says to start_dvd_playback, I know it's mistaken. If you're running the latest firmware, you could change it to use launch_media_url and let the Dune figure out the file type.

Last edited by ScottJ97; 12-06-12 at 20:36. Reason: edit: corrected command to launch_media_url
ScottJ97 is offline   Reply With Quote
Old 12-06-12, 19:03   #14
Gennoise
.NET Ninja


TIP: Upgrade to Premium
Senior Member
 
Gennoise's Avatar
 
Join Date: Apr 2011
Location: Belgium
Posts: 940
Contribution: 0.38%
Thanks: 16
Thanked 187 Times in 104 Posts
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by aries_sd View Post
So, I tried this and the API returned a command_status "ok" but didn't actually do anything, just sits at the navigator. So, not sure what the story is with this. Did it actually start playing a disc when you tried it?

-Aries
It does actually start playing whatever disc I insert, but only if it also shows up in the Dune's network shares (alongside its internal hard drive).

It seems to be somewhat of a random hit-or-miss process. Sometimes it works, sometimes it doesn't. Generally I can get it to work after a few retries (opening and closing the disc tray).
Attached Thumbnails
optical_drive.png  
Gennoise is offline   Reply With Quote
Old 13-06-12, 04:06   #15
aries_sd
Premium Potential
TIP: Upgrade to Premium
Active Member
 
aries_sd's Avatar
 
Join Date: Jun 2012
Location: San Diego, CA
Posts: 14
Contribution: 0.01%
Thanks: 0
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by Gennoise View Post
It does actually start playing whatever disc I insert, but only if it also shows up in the Dune's network shares (alongside its internal hard drive).

It seems to be somewhat of a random hit-or-miss process. Sometimes it works, sometimes it doesn't. Generally I can get it to work after a few retries (opening and closing the disc tray).
Yup, seems to be that way. I made a ticket on the issue although playing individual disks isn't a huge deal for me.
aries_sd is offline   Reply With Quote
Old 13-06-12, 06:10   #16
Gennoise
.NET Ninja


TIP: Upgrade to Premium
Senior Member
 
Gennoise's Avatar
 
Join Date: Apr 2011
Location: Belgium
Posts: 940
Contribution: 0.38%
Thanks: 16
Thanked 187 Times in 104 Posts
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Good luck

I was extremely surprised that mine got answered, although I did put a considerable amount of effort into my bug report (link).

In fact I'm going to add the optical_drive bug to that page, they have to read through it anyway since I've sent that link.

Now concerning the bug in MyMovies, you could also just e-mail Brian about the issue. I've contacted him through e-mail before and he's very friendly and understanding. Unless of course the problem is that you downloaded a profile for the dvd version instead of the blu-ray version in collection management. I know I'm guilty.

EDIT

I made a page with feature requests and added it to the support ticket. If you have any requests yourself, I'll add them to the page.

Last edited by Gennoise; 13-06-12 at 07:50.
Gennoise is offline   Reply With Quote
Old 13-06-12, 08:56   #17
ScottJ97

Senior Member
 
ScottJ97's Avatar
 
Join Date: Mar 2010
Location: San Francisco, CA
Posts: 650
Contribution: 0.26%
Thanks: 35
Thanked 114 Times in 94 Posts
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by Gennoise View Post
Now concerning the bug in MyMovies, you could also just e-mail Brian about the issue. I've contacted him through e-mail before and he's very friendly and understanding. Unless of course the problem is that you downloaded a profile for the dvd version instead of the blu-ray version in collection management. I know I'm guilty.
The titles I add to my MM collection are definitely always Blu-ray.

I've posted about this and many other bugs on their forums, but Brian is almost never interested or motivated enough to fix them. I've waited for months and months before, including for this bug, and at this point I've decided that if there's any possible way I can work around a bug, that's what I do.

MM is a good product and I still recommend it (especially over Zappiti which I consider in the same quality league as my high school computer science projects) but Brian just doesn't seem interested in customer feedback.
ScottJ97 is offline   Reply With Quote
Old 26-06-12, 08:22   #18
ScottJ97

Senior Member
 
ScottJ97's Avatar
 
Join Date: Mar 2010
Location: San Francisco, CA
Posts: 650
Contribution: 0.26%
Thanks: 35
Thanked 114 Times in 94 Posts
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by aries_sd View Post
Cool! Can you share your cgi script so we can see what you're doing?

Does this persist across player reboots?

-Aries
I wrote up the details on my wiki: Fixing iOS App Launching. The approach I used could be used to add new IP Control commands or manipulate any of the existing commands.
ScottJ97 is offline   Reply With Quote
Old 26-06-12, 11:15   #19
Gennoise
.NET Ninja


TIP: Upgrade to Premium
Senior Member
 
Gennoise's Avatar
 
Join Date: Apr 2011
Location: Belgium
Posts: 940
Contribution: 0.38%
Thanks: 16
Thanked 187 Times in 104 Posts
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

I assume this hack can also be used to put other programs alongside the original do? I might go ahead and learn a bit about C programming if so, this sounds really neat.

In particular, I'd like to use this to implement a reboot command as well as something that returns the contents of /tmp/sysinfo.txt and /proc/uptime. But I don't want to overwrite the original program.
Gennoise is offline   Reply With Quote
Old 26-06-12, 16:13   #20
aries_sd
Premium Potential
TIP: Upgrade to Premium
Active Member
 
aries_sd's Avatar
 
Join Date: Jun 2012
Location: San Diego, CA
Posts: 14
Contribution: 0.01%
Thanks: 0
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Default Re: IP Control v3 bug and Q...

Originally Posted by Gennoise View Post
I assume this hack can also be used to put other programs alongside the original do? I might go ahead and learn a bit about C programming if so, this sounds really neat.

In particular, I'd like to use this to implement a reboot command as well as something that returns the contents of /tmp/sysinfo.txt and /proc/uptime. But I don't want to overwrite the original program.
From what I see was done, the items you want to accomplish should be quite easy to achieve actually.

I'm not sure we can fix any of the bugs in the protocol this way though as we'd need to know how "do" and friends work internally to replicate the functionality with corrections. For example, I'd like a way to turn off subtitles but without knowing what to twiddle internally in the player to accomplish that, I would not be able to implement it even with the ability to replace or supplement "do".
aries_sd is offline   Reply With Quote
Reply


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

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


» MPC top List...

TOP 5 Regular media players

  • Popcorn Hour C-300 (81%)
  • Mede8er Med500x2 (80%)
  • Dune SMART (D1) (65%)
  • HDI Dune Base 3.0 (52%)
  • DViCo TViX X-Roid (00%)

TOP 5 Hybrid media players

  • HDI Dune BD Prime 3.0 (75%)
  • HDI Dune HD SMART B1 (74%)
  • PoPCorn Hour C-200 (68%)
  • HDI Dune MAX (54%)

We do not recommend currently...

  • Xtreamer products
  • Hantech products
  • MViX products
  • DviCo products
  • HDX products
Powered by vBadvanced CMPS v3.2.1 - twisted by vbTwist and Hi-Jack (MPC Club)