Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the "PLAY ALL" function in myiHome #237

Closed
Omertron opened this issue Mar 15, 2015 · 11 comments
Closed

Support for the "PLAY ALL" function in myiHome #237

Omertron opened this issue Mar 15, 2015 · 11 comments

Comments

@Omertron
Copy link
Member

Original issue 237 created by Omertron on 2008-10-19T17:19:57.000Z:

The "PLAY ALL" function is not working when running YAMJ on the myiHome
beta version.

The problem is in the generated playlist.jsp.

This are how things look in the myiHome:

The NMT path is:
/action/jukeBox.jsp?absolutepath=E:\Video\

A normal movie link looks like this:
http://192.168.1.100:8000/action/jukeBox.jsp?absolutepath=C:\Movies_C/movie_a.mkv

In the generated playlist this is how each line looks:
movie_a 1|0|0|/action/jukeBox.jsp?absolutepath=C:\Movies_C/movie_a.mkv|

The IP is missing.
When manually adding the IP, the PLAY ALL started to work.

The suggested enhancement is to add a property which is a prefix to the NMT
path, for the generated playlist.
This will allow to fix the missing IP automatically and enable the PLAY ALL
to work on myiHome.

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2008-10-19T19:07:03.000Z:

<empty>

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2008-11-16T15:32:32.000Z:

Is this still an issue for the released version of Myihome?

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2008-11-17T07:24:42.000Z:

Yes, the Beta & release version behave the same,
so this is still a problem.

@Omertron
Copy link
Member Author

Comment #4 originally posted by Omertron on 2008-11-17T09:46:38.000Z:

Ok, I'll look into it with the other playlist requirements.

Should be a simple option of adding a property to enable the pre-population of IP in
the playlist.

@Omertron
Copy link
Member Author

Comment #5 originally posted by Omertron on 2008-11-17T19:46:52.000Z:

Hmm, not sure where the IP address would go in the JSP file. Mine looks like this:
{{{
Red Dwarf 1|0|0|file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/VIDEOS/TV/Red
Dwarf/Season 2/Red Dwarf s02e01.avi|
Red Dwarf 2|0|0|file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/VIDEOS/TV/Red
Dwarf/Season 2/Red Dwarf s02e02.avi|
Red Dwarf 3|0|0|file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/VIDEOS/TV/Red
Dwarf/Season 2/Red Dwarf s02e03.avi|
}}}

@Omertron
Copy link
Member Author

Comment #6 originally posted by Omertron on 2008-11-17T19:59:44.000Z:

In shares other then myiHome, there is no need for an IP, so this field will remain
empty.

In myiHome, the NMT path is:
/action/jukeBox.jsp?absolutepath=E:\Video\

We need to have the IP added before that, so the playlist should look like this:
movie_a
1|0|0|[b]http://192.168.1.100:8000[\b]/action/jukeBox.jsp?absolutepath=C:\Movies_C/movie_a.mkv|

Thanks so much for adding this !

@Omertron
Copy link
Member Author

Comment #7 originally posted by Omertron on 2008-11-17T20:00:41.000Z:

In shares other then myiHome, there is no need for an IP, so this field will remain
empty.

In myiHome, the NMT path is:
/action/jukeBox.jsp?absolutepath=E:\Video\

We need to have the IP added before that, so the playlist should look like this:
movie_a
1|0|0|http://192.168.1.100:8000/action/jukeBox.jsp?absolutepath=C:\Movies_C/movie_a.mkv|

The prefix IP comes before the NMT path.

Thanks so much for adding this !

@Omertron
Copy link
Member Author

Comment #8 originally posted by Omertron on 2008-11-17T21:14:09.000Z:

Fixed. New parameter has been added: mjb.myiHome.IP. Add the
"http://192.168.1.100:8000" to that parameter and it will be added to the JSP file.
You will need to clear and re-create any xml files associated with the JSP playlists
so that they are re-created.

@Omertron
Copy link
Member Author

Comment #9 originally posted by Omertron on 2008-12-13T19:27:55.000Z:

myiHome seems to create its own moviejukebox.properties (it renames the original
file moviejukebox-ori.properties) and this deletes the mjb.myiHome.IP field, so the
fix isn't working for me.

@Omertron
Copy link
Member Author

Comment #10 originally posted by Omertron on 2008-12-13T22:52:01.000Z:

Might have to wait for myiHome to come out with an updated version that supports the
most recent version of YAMJ.

@Omertron
Copy link
Member Author

Comment #11 originally posted by Omertron on 2008-12-14T06:39:12.000Z:

It does support the latest versions, but it overwrites the properties file each run
as it doesn't have a "re-run" option.

The workaround is to make the proerties file read-only so that it doesn't get overwritten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant