Monday, February 06, 2012   
  Search  
 PlatySoft Forum Minimize
 
  PlatyForum  Discussions  Scheherazade S6...  support for s60 v2 phones
Previous Previous
 
Next Next
New Post 5/20/2008 3:29 AM
  pvagner
9 posts
No Ranking


support for s60 v2 phones 
Hello,
Would this application run on older s60 v2 phones such as nokia N70? I think it can handle a lot of audio formats including MP3, MP4, WAV and AMR. The one I am not sure about is WMA. Newertheless an ability to resume where I have left off has always been my wish number 1 for any media player software.
If older phones are not supported because you have no such device to test with I'd be glad to try that on my N72. If it uses standard pys60 features this should not be a problem I assume.
The thing I am afraid of is whether you will be willing to publish the source code. You know the nature of python scripts...
 
New Post 5/21/2008 11:37 AM
  Platy
15 posts
No Ranking


Re: support for s60 v2 phones 
Dear pvangner,
I haven't tested it on a v2 yet, but I think it should work fine. as far as I know it's not using anything specific to v3. I would very much appreciate if you try it on your device. you need to download the s60v2 version of pys60 from sourceforge and then install the scheherazade lite version on top of it.
In regards to source code, I haven't decided yet. but I don't understand your concern about the nature of python scripts, would you collaborate on that?

Cheers,
Platy
 
New Post 5/21/2008 6:37 PM
  pvagner
9 posts
No Ranking


Re: support for s60 v2 phones 
Hello platy,
While waiting for your reply I have checked out python reference manual and verified with python 1.4.3 for v2 feature pack 3 phones that it can handle position within audio files. More concrete audio module has methods such as current_position() duration() and position(). These are new methods I think because they were not present in the 1.4.1 version of py s60.
Now back to topic: Your installer either full or lite version of scheherezade runs on s60 3rd edition phones only so I am unable to install it on older phone. In 3rd edition phones it is not possible to browse the system and resource folders where I think your application might be installed into. so I am unable to grab the source code and transfer it to the other phone. This is why I was mentioning nature of python scripts. When they are published they are in fact source code. With 3rd edition phones they are hidden but when you'll publish a version for 2nd edition phones anyone will be able to copy and look into the *.py files inside the phone.
While posting this message I have got an idea maybe it is possible to extract the files from the sis file on the PC and place them to the phone manually. I am going to wait for your reply perhaps you will be able to provide installer for 2nd edition phones or you can share the code so I can try doing that. If not I will be searching for the other options.
 
New Post 5/22/2008 6:51 AM
  pvagner
9 posts
No Ranking


Re: support for s60 v2 phones 
Modified By pvagner  on 5/21/2008 2:55:27 PM)
Hello again,
I think I am progressing slowly. I have managed to unpack your sis file and test the application on my N72.
I have nothing to publish atm because anyway I do need your permission.
Hopefully I can at least point out some differences between 3rd edition and 2nd edition phones dependant with your application I have noticed so far.
While path to the phone memory data folder is C:\Data on 3rd edition phones it's c:\Nokia on the older ones.
I think this can be worked around as follows:
[code]if e32.s60_version_info>=(3,0):
dataPath = "c:\\data"
else:
dataPath = "c:\\Nokia"[/code]
and then substituting it where possible as:
[code] def __init__(self):
global dataPath
self.logFileName = dataPath+"\\Scheherazade\\Scheherazade.Log"[/code]
Another minor issue I have noticed so far is that when exiting the application you are stopping the playback but sound object remains open. Here's your set_exit() method:
[code] def set_exit(self):
self.SaveAutoBookmark()
self.Stop()
self.exitflag=1[/code]
Next: the last line
[code]exit()[/code]
does not seem to pass. so I am always getting trace back on exit. Perhaps when the application is run directly not inside python shell this is no longer an issue. I am just saying I have noticed it.
One more: I think there will not be ability to play wma files on these phones. They do not have wma codec installed by default. After installing WMA plugin python can't play wma files although built-in media player can. This also needs investigation.
Finally there will perhaps be a feature loss comparing these 2 s60 editions. Py s60 for 2nd edition phones does not support ability to answer a call in its telephone module thus it won't allow a python application to track the state. I am going to see if I can find some other method for doing this.
I am still waiting for your explicit permission to play with your stuff and for creating a 2nd edition compatible version of your app.
 
New Post 5/22/2008 12:32 PM
  Platy
15 posts
No Ranking


Re: support for s60 v2 phones 
Ok,
You have our permission :)
Scheherazade was always supposed to be a free product. I guess the next step is to make it open source and let everyone to help with improvements. only problem is I had to learn Python and S60 stuff in one week and write this code, so it's not the best code I've written and needs some improvements here and there. feel free to send me back changes for now, I will submit it to (probably) sourceforge soon.

Cheers,
Platy
 
Previous Previous
 
Next Next
  PlatyForum  Discussions  Scheherazade S6...  support for s60 v2 phones

 Print