WM6 Mobile and Opera Mobile 9.5

Quicker and broader support forum. Requires payment prior to posting.
Forum rules
You have to buy access to post at this forum. Click here: http://www.kplaylist.net/buysupport.php

WM6 Mobile and Opera Mobile 9.5

Postby jmelhus » Thu Nov 13, 2008 12:11 am

Hi Aba,

There is no rush into this, thought it would be nice if you could look into this when you have the time.

It seems to be some kind of bug, either in Opera or Kplaylist. I'm trying to access Kplaylist from my mobile, it works fine to load one song with M3U-playlist into Coreplayer, but pressing the "album"-button gives me an error. Seems like the M3U-file gets messed up. This is the error:
Code: Select all
<!DOCTYPE HTM protocol not supported!


This is the working M3U-file (single song selected):
Code: Select all
#EXTM3U
#EXTINF:246,Air - Venus
http://**************/**********/index.php?streamsid=1170&c=1-28844&stag=2d5f1b493382ac42&file=.mp3


This is the non-working M3U-file (album button pressed):
Code: Select all
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>| kPlaylist</title>
      <!-- kp build 502 -->
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
      <link href="/kplaylist/kptheme/relay/css/kplaylist.css" rel="stylesheet" type="text/css"/><script type="text/javascript" src="prototype.js"></script>   <script type="text/javascript">
   <!--
   KPlaylist =
   {
      init : function()
      {
                  setInterval('KPlaylist.CAction.showStream()', 6000);
                           setInterval('KPlaylist.MessageAction.showMessage()', 5000);
               }
   }
   KPlaylist.Shout =
   {
      submitMessage :  function(object)
      {
         new Ajax.Request('/kplaylist/index.php', {method:'post',parameters:'action=sendshout&shoutmessage=' + encodeURIComponent(object.value),onSuccess:function(request) { KPlaylist.MessageAction.showMessage(); object.value = ''; object.focus(); }});
      }
   }
   function submitSelected()
   {

AND SO ON....




My client:
HTC Diamond
WM6
Opera Mobile 9.5



My server setup:
Kplaylist 1.8.502
Use EXTM3U feature: YES
Playlists inline: YES
Playlist: M3U
Send file extension: YES
Write ID3v2 with stream: YES
Apache HTTPD 2.2.8 + Openssl 0.9.8g
MySQL 5.0.51a
PHP 5.2.5
PHP settings:
max_execution_time 3600 3600
max_input_nesting_level 64 64
max_input_time 3600 3600
memory_limit 256M 256M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 200M 200M



Thanks! :)

Regards,

jmelhus
jmelhus
 
Posts: 128
Joined: Sat Jan 01, 2005 1:10 pm

Re: WM6 Mobile and Opera Mobile 9.5

Postby aba » Thu Nov 13, 2008 12:14 pm

jmelhus wrote:There is no rush into this, thought it would be nice if you could look into this when you have the time.

It seems to be some kind of bug, either in Opera or Kplaylist. I'm trying to access Kplaylist from my mobile, it works fine to load one song with M3U-playlist into Coreplayer, but pressing the "album"-button gives me an error. Seems like the M3U-file gets messed up. This is the error:
Code: Select all
<!DOCTYPE HTM protocol not supported!



That is strange. Can you try to play a few songs by using "selected" instead of album? By clicking any of these buttons, a
form will be submitted and a M3U file should be sent in return. If the form gets messed up, kP might believe it's a refresh
or another browser related event and that seems to be happening. Try also to uncheck 'Playlist inline' in Options, though
there is a slim chance that will help.
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Re: WM6 Mobile and Opera Mobile 9.5

Postby jmelhus » Fri Nov 14, 2008 1:47 pm

I tried to select one file, and play it by pressing the button "selected". Same issue there as well...
I also tried to remove "playlist inline", problem persist even with that setting removed.
jmelhus
 
Posts: 128
Joined: Sat Jan 01, 2005 1:10 pm

Re: WM6 Mobile and Opera Mobile 9.5

Postby jmelhus » Sun Nov 23, 2008 1:51 pm

So, what do you think? Is it a kplaylist problem, or Opera Mobile problem?
jmelhus
 
Posts: 128
Joined: Sat Jan 01, 2005 1:10 pm

Re: WM6 Mobile and Opera Mobile 9.5

Postby aba » Wed Dec 03, 2008 12:59 pm

jmelhus wrote:So, what do you think? Is it a kplaylist problem, or Opera Mobile problem?


Did you configure Opera to launch Coreplayer for M3U files? If so, could you try to
download an M3U file manually and try to open it the player?
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Re: WM6 Mobile and Opera Mobile 9.5

Postby jmelhus » Sun Dec 14, 2008 1:47 pm

Hi again,

Sorry for the delay... I tried what you mentioned, that didn't work either... Any other suggestion? Maybe there is something in the script that could be changed?

For the fun of it, I tried to use Jinzora, to see if that was able to load the playlist properly in Coreplayer. It was, but I personally think Kplaylist is much better, and would prefer to use that one... But as far as I know, it loads the M3u much the same? So since that worked on the same setup (wm6 and opera mobile), there is something in the script that could be changed to make it work?
jmelhus
 
Posts: 128
Joined: Sat Jan 01, 2005 1:10 pm

Re: WM6 Mobile and Opera Mobile 9.5

Postby aba » Mon Dec 22, 2008 11:22 pm

jmelhus wrote:Hi again,

Sorry for the delay... I tried what you mentioned, that didn't work either... Any other suggestion? Maybe there is something in the script that could be changed?

For the fun of it, I tried to use Jinzora, to see if that was able to load the playlist properly in Coreplayer. It was, but I personally think Kplaylist is much better, and would prefer to use that one... But as far as I know, it loads the M3u much the same? So since that worked on the same setup (wm6 and opera mobile), there is something in the script that could be changed to make it work?


Well, there is one thing you could try:

RewriteEngine on
RewriteCond %{REQUEST_URI} ^/music/.*
RewriteRule ^(.+) /index.php?path=$1

And then enable kP to use "virtual" links:

$cfg['filepathurl'] = true;
$cfg['filepathurlprepend'] = '/music';

Then the links will be virtual and look like a direct file url.
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Re: WM6 Mobile and Opera Mobile 9.5

Postby jmelhus » Wed Dec 31, 2008 1:33 pm

aba wrote: RewriteEngine on
RewriteCond %{REQUEST_URI} ^/music/.*
RewriteRule ^(.+) /index.php?path=$1


So I just enable mod rewrite in apache, put the codes you mentioned here in a htaccess file, and make the changes in the phpscript?

UPDATE: I tried the above, but couldn't make it work. It gave me the text image in stead of the imagecover itself. It didnt find the music files either. I used the prepend url "music". Gave me same url-results as described in this post, but didnt find the objects: viewtopic.php?f=1&t=1936&p=7149&hilit=filepathurl#p7138

Any ideas? Doesnt it matter what prepend url im using as long as it is the same in .htaccess file?
jmelhus
 
Posts: 128
Joined: Sat Jan 01, 2005 1:10 pm


Return to Express support



cron