INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 8 9 10 11 [12] 13 14 15   Go Down

Author Topic: BitRemote - remote Control (iPhone/iPod touch, web interface)  (Read 248309 times)

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

If you think, you understand my last post (html/css demo), then create a new folder in "xpTunes/html" and call it e.g. "test".
Then copy your created test.html in this folder and browse with your Nokia Phone to this page (http://yourIP:yourPort/test/test.html).
Now you can tweak the css values in test.html and with a page reload, you will see the new result....

forget the browser_switch thing:-)
just copy the whole android.css entries to the end of browser_switch.css and only tweak this 'new' values with your just found values...

Now your on the right way :-)


maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

Hi Markus,
Thanks! Your html example didn't quite work, though... I do know a little bit about css, just on a very basic level.
I did manage to mod the layout to suite the 5800 better. Not everything but I am going in the right direction.

Still.. I don't understand why some elements look differently in different browsers. For example, the Back button (top left corner of the top tool bar) - in one browser it looks like iPhone-style button, in another browser it's just text-looking button. ? Also - the android.css (again - sorry) - I suppose it's not handled automatically (or is it?) - one needs to manually paste it's content to the end of browser_switch.css, right?

Thanks for helping! Sorry for being such a css-idiot.
--max
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Still.. I don't understand why some elements look differently in different browsers.
Perhaps browser option "do not load images" enabled ? or your browser doesn't understand the Child attribute (character ">" like 'body > ul') in css files.
Perhaps a software update for your browser is available ?

Quote
Also - the android.css (again - sorry) - I suppose it's not handled automatically (or is it?) - one needs to manually paste it's content to the end of browser_switch.css, right?
If you're using a Android Phone then it's handled automatically... otherwise this css is not needed. Just rename the file and take a look what's happening.

Quote
Sorry for being such a css-idiot.
Every start is a hard start ;-)

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

Perhaps browser option "do not load images" enabled ? or your browser doesn't understand the Child attribute (character ">" like 'body > ul') in css files.
Code: [Select]
To begin with: Firefox 3.5 on XP SP3 with everything enabled
If you're using a Android Phone then it's handled automatically...
Code: [Select]
Got it.
Thanks for your help!

--max
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Quote
To begin with: Firefox 3.5 on XP SP3 with everything enabled
Got it... there's a standard css language and every browser manufacturer add his own commands to this standard.
Safari/WebKit (iPhone) added a css-command "webkit-border-image". FF has the same command, but another name for this ('-moz-border-image').
Welcome to web 2.0 ;-) . If you want to support both browsers (iPhone/FF), both command has to be in your css file.... ( in standard css it will be named 'border-image').
xpTouch is optimised for iPhone/iPod touch.... you will find the command 'webkit-border-image' in the css file. Just duplicate all 'webkit-border-image' entries and rename the new values to ''-moz-border-image''.

Quote
Thanks for your help!

np. You're welcome.

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

This is totally new to me... (didn't touch html for a few years).
Worked beautifully!
Thanks much!

FF has the same command, but another name for this ('-moz-border-image').
Welcome to web 2.0 ;-) .
Logged

Merv

  • Junior Woodchuck
  • **
  • Posts: 61

Just installed xptunes and it looks very useful ..but I have a problem in that the transport controls ie play. stop track skip + and - volume dont all display.Its random - somtimes three of the six display, next time you run it you might get 4 or 5, but never the same combination. The ones that dont show up display a small blue box with a question mark in it.

The other thing is the time to load the program is very long  2-3 minutes is that normal ? I've changed the port # , but no improvement.(I'm just testing so only have 10 CDs on there at the moment)

System is MC14 on XP Pro 1.8 core 2 duo 2 Gb ram, NET framework 3.5 sp1,  wifi from Apple Time Capsule.iphone 3GS Safari, latest firmware (non jailbreak)


Thanks
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Quote
Worked beautifully!
Hi Max,

good to hear ;-)

Just installed xptunes and it looks very useful ..but I have a problem in that the transport controls ie play. stop track skip + and - volume dont all display.Its random - somtimes three of the six display, next time you run it you might get 4 or 5, but never the same combination. The ones that dont show up display a small blue box with a question mark in it.
The other thing is the time to load the program is very long  2-3 minutes is that normal ?

Hi MC,
I've never heard about your problem before, so i think it should be something with your setup/environment.
Seems to me like connection problems. Normally the start of xpTouch should not take longer than 10 sec and to load a new new page about 1 sec. A small blue box with a question mark is shown, when a picture is not found or not transfered.
What happens, If you connect to xpTouch with a deskop PC and FF or Safari (you can't test xpTouch with IE)?... are your sure, that your iPhone is using your wlan connection correctly ?
Something special, like very big album cover arts or your files stored on a second pc/nas?

reagards,
Markus
 


maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

Same problem with Nokia 5800 built-in browser (never with Opera, but it has another problem : )
See pics:
"Left" and "Right" arrows present, "Back" button looks iPodish (Album art is ALWAYS missing):


"Left" and "Right" arrows missing, "Back" button looks textish (Album art is ALWAYS missing):


"Prev" and "-" buttons missing, "Back" button looks normal. LARGE album ard looks OK:



Just installed xptunes and it looks very useful ..but I have a problem in that the transport controls ie play. stop track skip + and - volume dont all display.Its random - somtimes three of the six display, next time you run it you might get 4 or 5, but never the same combination. The ones that dont show up display a small blue box with a question mark in it.
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

@Maxx & MC
could you please try this web page with your pocket browser:
http://dean.edwards.name/my/base64-ie.html

Do you see a picture ?

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

@Max:
Firmware V21.0.025 or greater installed ?
google search "Nokia 5800 Browser does not show some MIME-types of type image correctly" or http://mobile.allaboutsymbian.com/news/item/9337_The_Nokia_5800_moves_ahead-now.php

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

31.2.101

@Max:
Firmware V21.0.025 or greater installed ?
google search "Nokia 5800 Browser does not show some MIME-types of type image correctly" or http://mobile.allaboutsymbian.com/news/item/9337_The_Nokia_5800_moves_ahead-now.php

Logged

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

Yes, both browsers (built-in and Opera) render the picture OK.
Don't know if it's important - they both show that picture binary/sharp, while on a desktop browsers (FF and IE) the picture looks fuzzy

@Maxx & MC
could you please try this web page with your pocket browser:
http://dean.edwards.name/my/base64-ie.html

Do you see a picture ?

Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

ok, next try:
http://www.stardev.de/xptunes/base64.html

Did you see all pictures, or is one missing ?

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

All are missing in the built-in browser.. : (
Opera, however,  shows all of them correctly

ok, next try:
http://www.stardev.de/xptunes/base64.html

Did you see all pictures, or is one missing ?
Logged

Merv

  • Junior Woodchuck
  • **
  • Posts: 61

All are rendered in both tests on the iphone
Logged

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

Messiahs,
I have been looking at integrating EventGhost and found a, hopefully small, roadblock. EventGhost only detects track changes from MC.

Not knowing how your code works and how the MC commands are stored but I'm hoping this is not too large feature request...

Is there a way that you can automatically send EG a status for all commands sent from xpTunes? This way an EventGhost plugin could be written to read the commands and act upon them for more complex EG automation.

I'm hoping you can simply write a function to send corresponding EG status for every web page command sent?
Logged

g5

  • Recent member
  • *
  • Posts: 6

Wanted to try xpTunes today however in xpTunes.exe I have only option to change port while IP address has drop down list with two predefined options 'auto' or 192.168.1.101. Trying to connect to http://192.168.1.101:8081/ or http://192.168.1.101:8082/... etc from other computer or iTouch does not work. Am I doing something wrong?

thanks
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

@Livin
You mean commands like "play", "stop", "pause"... or more commands & additional data ?

@g5
1.) Did you try to connect to xpTunes on the same pc on which xpTunes is running currently?
2.) WebServer is started ? (Button "Start Server" should switch to "stop Server").
3.) for testing -> disable firewall
4.) 192.168.1.101 is the correct ip of your pc ?

g5

  • Recent member
  • *
  • Posts: 6

Thanks, Messiahs, for getting back to me

RE:
1.) Did you try to connect to xpTunes on the same pc on which xpTunes is running currently?
>>>Yes, tried to connect to machine running xpTunes.exe

2.) WebServer is started ? (Button "Start Server" should switch to "stop Server").
>>>Yes.

3.) for testing -> disable firewall
>>>Firewall was disabled in win7

4.) 192.168.1.101 is the correct ip of your pc ?
>>>To be honest I forgot to check on my router but still it was the only option available to me. I could not enter any other IP address in xpTunes even if I wanted because it is drop down list of set values ('auto' and 192.168.1.101)
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Quote
1.) Did you try to connect to xpTunes on the same pc on which xpTunes is running currently?
>>>Yes, tried to connect to machine running xpTunes.exe
what happens, when you start a browser on this PC and enter the address ?

Quote
...but still it was the only option available to me
that's absolutely ok. xpTunes must have the same ip like your pc, so you can't enter a ip.

g5

  • Recent member
  • *
  • Posts: 6

Got it working - thanks. Turns out computer was acting out, could not ping it...

btw - I decided to import couple of songs into MC while connected with xpTunes. The action has crashed MC and xpTunes could not see any music until computer reboot...
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Quote
Got it working - thanks.
Good to hear. have fun.
btw. if MC crashes normally a restart of xpTunes should be enough to establish to connection between xpTunes and MC again.


Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

You mean commands like "play", "stop", "pause"... or more commands & additional data ?

Yes.

Also, I'm trying to make a home page to trigger "Activities" but I cannot get xpTunes to send EventGhost commands (all apps are on the same system). Hoping you can look the code over...

Code: [Select]
<html>
<head>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<script type="text/javascript" src="../globals/js/xptunes.js"></script>
<style type="text/css">
body {
-webkit-user-select: none; /* controls whether the user is allowed to select the  text of the element. */
-webkit-text-size-adjust: none; /*size adjustment for displaying text content in Safari on iPhone. none=the text size is not adjusted */
background: #111111;
color:white;
}

body > * {
display: none;
position: absolute;
margin: 0;
padding: 0;
left: 0;
top: 0px;
width: 100%;
min-height: 480px;
}

body > *[selected="true"] {
display: block;
}
h2 {
text-align: center;
margin: 8px 0px 00px 0px;
}
table{
border-width: 0px;
border-spacing: 10px;
border-style: solid;
border-collapse: separate;
background-color: #000000;
text-align:center;
width: 100%;
text-decoration: none;
color: #ffffff;
font-size: 18px;
font-weight: bold;
table-layout: fixed
}
table td{
  height: 50px;
border-width: 3px;
border-style: solid;
border-color: #888888;
background-color: #303030;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
table td.selected  {
color: #bbccdd;
background-color: #000000;
border-color: #dddddd;
}
table img{
height:40px;
vertical-align: middle;
}

#Activities table{
height: 460px;
border-spacing: 30px;
}
#Activities td{
font-size: 24px;
}

</style> 
<script type="text/javascript">
window.onload=startup
// detect iPhone browser
var agent=navigator.userAgent.toLowerCase();
var is_iphone = (agent.indexOf('iphone')!=-1);
if (is_iphone) {var browser = "iphone";}

// execute on startup. add diferents events depending on browser type.
function startup(){
var x = document.getElementsByTagName("td");
for (i = 0; i < x.length; i++) {
if (browser == "iphone") {
x[i].ontouchstart = doStartThing;
x[i].ontouchend = doEndThing;
}
else {
x[i].onmousedown = doStartThing;
x[i].onmouseup = doEndThing;
}
}
document.onmouseup = ButtonReleased;
document.ontouchend = ButtonReleased; 
}

function doStartThing() {
var egevent = this.getAttribute("egevent");
if (egevent) {TriggerEvent(egevent)};
this.className="selected";

}

function doEndThing() {
var jump = this.getAttribute("jump");
var sendcmd = this.getAttribute("sendcmd");
if (jump) {
changeToPanel(jump);
};
this.className=""; 
}

function Request(eventname){
var xmlHttp = null;
var dateObject = new Date();

try
{
// Firefox, Opera 8.0+, Safari, IE7
xmlHttp = new XMLHttpRequest();
}
catch (e)
{

try
{
// IE 6
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
// IE 5
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
}

xmlHttp.open('GET', "empty?" + eventname + "&_id" + dateObject.getTime(), true);
xmlHttp.send(null);
return false;
}

function TriggerEvent (eventname){
Request(eventname + "&withoutRelease")
;
return false;
}

function ButtonReleased() {
Request("ButtonReleased");
return false;
}

// Navigation between panels
function getSelectedPanel() {
var x = document.getElementsByTagName("div");
for (i = 0; i < x.length; i++) {
if (x[i].getAttribute('selected')=='true') {return x[i] }
}
}

function changeToPanel(panelId) {
var fromPanel = getSelectedPanel();
var toPanel = document.getElementById(panelId);
if (fromPanel) fromPanel.removeAttribute('selected');
toPanel.setAttribute('selected','true');
}
</script>
</head>
<body>
    <div id="Activities" selected="true">
<h2>Activities</h2>
<table>
<tr>
<td egevent="WatchTV" onclick="triggerEventGhost('test');setActiveZone('0');callUrl('queue.html')";>Watch TV</td>
</tr>
<tr>
<td egevent="WatchDVD" jump="DVD">Watch DVD</td>
</tr>
</table>
   </div>
</body>
</html>
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

I think you have to modify this:
Code: [Select]
<script type="text/javascript" src="../globals/js/xptunes.js"></script>
to
Code: [Select]
<script type="text/javascript" src="../xpTouch/js/iui.js"></script>
<script type="text/javascript" src="../xpTouch/js/xptunes.js"></script>



Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

I added the line you suggested bit I still cannot get xpTunes to send EG a command.

I have tried these commands...

*this works*      
                <td egevent="WatchTV" onclick="callUrl('../xpTouch/queue.html')">Watch TV queue</td>   

*these don't work*
      <td egevent="WatchTV" onclick="triggerEventGhost('test')">Watch TV eg1</td>
      <td egevent="WatchTV" onclick="triggerEventGhost('Main.test')">Watch TV main</td>
      <td egevent="WatchTV" onclick="triggerEventGhost('test');">Watch TV eg</td>

... EG does not log anything from these buttons.

does your function automatically add 'Main' to the event being sent?
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

try:
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta id="viewport" name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=0;"/>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>

<style type="text/css">
body {
-webkit-user-select: none; /* controls whether the user is allowed to select the  text of the element. */
-webkit-text-size-adjust: none; /*size adjustment for displaying text content in Safari on iPhone. none=the text size is not adjusted */
background: #111111;
color:white;
}

body > * {
display: none;
position: absolute;
margin: 0;
padding: 0;
left: 0;
top: 0px;
width: 100%;
min-height: 480px;
}

body > *[selected="true"] {
display: block;
}
h2 {
text-align: center;
margin: 8px 0px 00px 0px;
}
table{
border-width: 0px;
border-spacing: 10px;
border-style: solid;
border-collapse: separate;
background-color: #000000;
text-align:center;
width: 100%;
text-decoration: none;
color: #ffffff;
font-size: 18px;
font-weight: bold;
table-layout: fixed
}
table td{
  height: 50px;
border-width: 3px;
border-style: solid;
border-color: #888888;
background-color: #303030;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
table td.selected  {
color: #bbccdd;
background-color: #000000;
border-color: #dddddd;
}
table img{
height:40px;
vertical-align: middle;
}

#Activities table{
height: 460px;
border-spacing: 30px;
}
#Activities td{
font-size: 24px;
}

</style> 
<script type="text/javascript">
function triggerEventGhost(value) {
command('triggerEventGhost', value, '', false);
}

function command(action, value, subvalue, synchron) {
// sends a synchron/asynchron command to xpTunes server
//request
var url='';
value = encodeURIComponent(value);
/* prevent cache with new Date().valueOf() */
if( typeof(subvalue) !== null && typeof(subvalue) !=='undefined') {
url = 'control.cgi?command=' + action + '&value=' + value + '&subvalue=' + subvalue +'&preventCache=' + new Date().valueOf();
}else{
url = 'control.cgi?command=' + action + '&value=' + value + '&preventCache=' + new Date().valueOf();
}

    if (window.XMLHttpRequest) { // Mozilla,  Safari, IE7...
http_request = new XMLHttpRequest();
        if (http_request.overrideMimeType) {
http_request.overrideMimeType('text/xml');
        }
    }else if (window.ActiveXObject) { // IE6
        try {
            http_request = new ActiveXObject('Msxml2.XMLHTTP');
        }catch (e){
try {
http_request = new ActiveXObject('Microsoft.XMLHTTP');
            } catch (c) {}
        }
    }

    var ret;

if (http_request) {
http_request.onreadystatechange = function (){
if (http_request.readyState == 4) {
if (http_request.status == 200) {
var ret = commandCallback(http_request.responseText);
return ret;
}
}
};
http_request.open('GET', url, true);

}
http_request.send(null);
    return ret;
}


function commandCallback(jsonArr) {
//callback from xpTunes Server
//response 2. step
if(jsonArr.length > 0){
try{
var jsonObjArr = eval('(' + jsonArr + ')');
}catch(zyy){
}
setTimeout(iui.updateMsgCommand, 400,'');
for (var b = 0; b < jsonObjArr.length; b+=1) {

started = true;

try{
var responseTyp = jsonObjArr[b].response;
var val = jsonObjArr[b].value;

if(responseTyp =='playerstate'){
try{
checkPlayerState(val);
}catch(r){}
}

else if(responseTyp =='inittrackinfo') {
try{
setNewTrackValues(val);
saveNewFileInfos(val);
}catch(c){}
}

}catch(z){}
}
}
started = false;
}
</script>
<title>EG Test</title>
</head>
<body>
    <div id="Activities" selected="true">
<h2>Activities</h2>
<table>
<tr>
<td onclick="triggerEventGhost('WatchTV');">Watch TV</td>
</tr>
<tr>
<td onclick="triggerEventGhost('WatchDVD');">Watch DVD</td>
</tr>
</table>
   </div>
</body>
</html>

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

that worked... was the script you included new or is /globals/js/xptunes.js not being read?

I have the index.html I'm using in xpTunes/html/remote - this should work, correct?
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

that worked... was the script you included new or is /globals/js/xptunes.js not being read?
some parts are copied from /xpTouch/js/xpTunes.js (/globals/js/xptunes.js doesnt have the required function "triggerEventGhost"). All other stuff you will not need (i think)

Quote
I have the index.html I'm using in xpTunes/html/remote - this should work, correct?
you can call it like you want (but index.html is a standard name for a main page).. you can connect to your page by "http://ip:port/remote/index.html"

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

some parts are copied from /xpTouch/js/xpTunes.js (/globals/js/xptunes.js doesnt have the required function "triggerEventGhost"). All other stuff you will not need (i think)
you can call it like you want (but index.html is a standard name for a main page).. you can connect to your page by "http://ip:port/remote/index.html"


right, I was just curious as to why it was not working using the ./js include?

Also, do you have any plans to build a jukebox-like interface (e.g. combining a few items from the BW skin on a single screen) for touch screen use?

Here's one I built a long time ago using totally different backend to give you an idea of the main screen...



Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Quote
Also, do you have any plans to build a jukebox-like interface (e.g. combining a few items from the BW skin on a single screen) for touch screen use?
not in the near future. I'm now working on a new trackinfo screen and on the picture issue (Nokia phone).

g5

  • Recent member
  • *
  • Posts: 6

Very good stable experience so far with xpTunes - thanks Markus. Have a few quick questions:

1. What are the limitations of a free version? I am testing at the moment both MC14 and xpTunes so have only about 18 albums imported and noticed that selecting All Titles displays only first 2 pages of titles in alphabetical order (20 in total).

2. Are other skins included in download and if so - how to try them?

3. How one can change number of items displayed per page (pages albums, artists, titles, etc)?

thanks a lot
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Quote
Very good stable experience so far with xpTunes

good to hear. thx.

Quote
1. What are the limitations of a free version?
The only limitation is that the free version only shows 20 tracks.

Quote
Are other skins included in download and if so - how to try them?
All available skins are included in the free version. I'm now working on a better track info skin/plugin (lastFM support and so on).

Quote
How one can change number of items displayed per page (pages albums, artists, titles, etc)?
just open the .html file and change showmaxitems to a greater number.




g5

  • Recent member
  • *
  • Posts: 6

Thanks Markus. Sorry if this has been already covered but how do I switch between skins?

ps. possible feature - add simple settings page (or at least config file) where non-web savvy people can set font size, number of items per page, etc...
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Quote
covered but how do I switch between skins?
Just go to the main menu (http://yourIP:yourPort) and choose one skin.

Quote
possible feature - add simple settings page

i think this will not be possible....

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865

Hi Markus,
I answered via PM - here's for others to know - no, the built-in web browser of Nokia 5800 (S60v5) cannot handle any of those pictures.
Opera Mobile 10 beta 2, however, can show all of them and works nicely with xpTunes (I like the clean look of the built-in browser better, though).
I tested 2 more browsers - Skyfire and Digia@Web - neither of them could handle the base64 pictures and totally screwed up xpTune's layout.
Looks like Opera Mobile is the best browser for S60v5.

--max
(p.s. just paid for the full version. thanks for a great piece of software!)

@Max
next try:
http://www.stardev.de/xptunes/base64_2.html
Logged

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

Messiahs,
I've been having issues with MC14 crashing, for several releases now. I have tried to get EventGhost to start it but problems there too. Starting MC with EG gives me this error: "media center installed for a different operating system"

I have verified that if I run mc14.exe /Power it start perfectly fine, no error.

Can you add a routine in xpTunes to check every 5 mins or so to see if MC is running, if it is responding and if not started, start it - if it is not responding kill the process and restart? This would really help!

thx!
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71422
  • Where did I put my teeth?

Can you add a routine in xpTunes to check every 5 mins or so to see if MC is running, if it is responding and if not started, start it - if it is not responding kill the process and restart? This would really help!
It's probably not a good idea to mask the problem.  If it's a problem with MC, we will fix it.
Logged

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

Jim,
I agree it should be fixed IF it is an MC problem, I'm not sure it is. Though the feature is still need in xpTunes since, as you know, apps crash... sometimes it is their fault and sometimes it is the OS or or apps that cause them to crash. So to safeguard against all possibilities if xpTunes watches MC and EventGhost or <fill in your favorite watchdog app here> watches xpTunes all should be fine.

I mainly use MC as a background app to run my whole house music. I'm going to setup a 21" multi-touch touchscreen LCD to use MC 'jukebox' style - I have not gotten to it yet (I already have the monitor). It is important in both cases that MC is always running.
Logged

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

Messiahs, & Jim,
I'd REALLY appreciate if you can try to find a fix and/or work around for this - xpTunes and/or MC cannot be launched with EventGhost. (no issues with other apps and EG - I start several using EG)

Tests, Results, Observations...
- xpTunes DOES start but is not usable. ThexpTunes  process loads (shows in Process Mgr), xpTunes tray icon does not show, and xpTunes tries to start MC but MC throws that darn "...different operating system" "Please reinstall Media Center"
- manually starting xpTunes and/or MC is never a problem
- maybe the issue is user context but I have EG start many apps, and many people use EG to do so daily and I've never seen anyone have an issue with any other apps with EG.

This is killing me. MC is way unstable on my system when idle... never an issue when in use, strange, I know.
Logged

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

Update #3 - FOUND WORKAROUND...

Once I set xpTunes to 'Windows XP SP3' Compatibility Mode everything works as expected.

So, there is definitely some issue with xpTunes & MC14.exe - with Windows 7 (maybe just x64).

Anyway... maybe you guys can figure it out. Either way, if the watchdog functionality was built-into xpTunes it would also solve the issue.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71422
  • Where did I put my teeth?

Messiahs,
Matt said this recently in another thread:
Quote
About a month or so ago, we disabled redirection.  Previously, registry writes to HKLM and disk writes to C:\Program Files\... would get redirected by Windows so your code might think they worked.  But then your code wouldn't find what it wrote if the program were run elevated since then you'd be looking at the real HKLM and not the pretend redirected one.

So make sure you open HKLM as read-only or you might get failures.

Disabling this redirection actually caused us a recent bug as well because we were writing to HKLM for remote controls.  But in the long run, it's better to fix these issues than depend on Windows compatibly redirection, especially since the redirection can lead to really confusing scenarios if you mix running elevated and not elevated.

Could it be related?

Jim
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

Hi Jim & Livin,

just tested with MC 14.131 and win7 (x64) (it's my development environment)... no problems (without EventGhost). I don't see a reason why EventGhost should change this.
I only use regKeys to read startup settings (like IP and Port), so i don't think redirection is a problem.

I want to switch to a fulltime-plugin in future... so watchdog functionality can't be implemented.

Markus

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

@Livin
tested EventGhost (r1387) and MC.... everything works fine.

Do you have special settings ?

 

ninekit

  • Recent member
  • *
  • Posts: 15

Hi, may I ask how can I play a web stream (internet radio) imported as an album or playist with xpTunes?

I can double click and play with the JR interface but though visible in xpTunes using iPod Touch, tapping on it won't play.

Pls. kindly help.

Regards,
ninekit
Logged

Messiahs

  • Galactic Citizen
  • ****
  • Posts: 432

hi ninekit,

Quote
how can I play a web stream

this is available in the next version (hope i can release it next month).

regards,
Markus

Livin

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 63
  • Change this by choosing profile

Hi Jim & Livin,

just tested with MC 14.131 and win7 (x64) (it's my development environment)... no problems (without EventGhost). I don't see a reason why EventGhost should change this.
I only use regKeys to read startup settings (like IP and Port), so i don't think redirection is a problem.

I want to switch to a fulltime-plugin in future... so watchdog functionality can't be implemented.

Not sure but a fulltime plugin MIGHT ok or better even then separate... depends on how it reacts if MC hangs. If there is a way to use EventGhost as the watchdog (as I do for other things), if MC did not respond (would need some keep alive type check in MC) then EG could kill the process and restart.

possible?


Quote from: Messiahs
@Livin
tested EventGhost (r1387) and MC.... everything works fine.

Do you have special settings ?

No special settings.
Logged

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865
Re: xpTunes - for Wii
« Reply #598 on: February 22, 2010, 12:34:23 pm »

have anyone cooked a wii skin up yet?


Yep, this is very cool, I'm doing this as well.

But only a good skin is needed (and I'm not a very creative person).
Somebody wants to create a WII skin or a skin that will fit a flat TV ?
Logged

Robo983

  • World Citizen
  • ***
  • Posts: 196
xpTunes - Genre/Artists/Album hierarchy
« Reply #599 on: February 23, 2010, 08:36:43 am »

...Ok I give up...I keep searching the forum to see if this has been answered:

- Why does selecting a Genre show all the songs in that Genre?
- Can xpTunes be set to view Genre/Artists/Albums hierarchy with the ability to drill down to track level and add to que?

Sorry to who ever started those questions for my not giving credit but I still haven't seen it address. I am still on the Trial and this is one thing that is bugging me.
Logged
Pages: 1 ... 8 9 10 11 [12] 13 14 15   Go Up