Notices


Reply
Thread Tools
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#411
It seems, that len(self.__random_files) - 1) always has only
2 digits. I have emailed you this. I have to setup my SDK
again to debug this.

Edit:
I have got my SDK running again. I added a
print len(self.__random_files) - 1
to the code.
It starts always with 60. If I play other contend, and readd
the playlist again, then the values are correct (more than 1000).
Something lets the list decrease to only 60 items.
__________________
May the force be with us!

Last edited by mase; 2010-10-05 at 16:57.
 

The Following User Says Thank You to mase For This Useful Post:
Posts: 1,255 | Thanked: 393 times | Joined on Oct 2009 @ US
#412
Originally Posted by pycage View Post
Maybe we really have smaller collections. I have quite a lot of albums on my N900 but I'm not quite at 6000 songs yet.
Thanks for giving feedback on how MediaBox performs with this many songs. This needs to be fixed as I want MediaBox be able to deal with large collections.
For the time being, you can disable the automatic scan for changes on startup. That should help a bit.
I actually have over 7,000 songs spread across the sd and device. I turned off autoscan, but still same result. App is slow to start and there is at least 8 seconds delay (per song) when playing with shuffle. The video function works fine (a lot less files, of course).

Stock player and Canola have no lag / index issues, but I hope the indexing efficiency is fixed with Media Box, since the features are very nice.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#413
Originally Posted by mase View Post
It seems, that len(self.__random_files) - 1) always has only
2 digits. I have emailed you this. I have to setup my SDK
again to debug this.

Edit:
I have got my SDK running again. I added a
print len(self.__random_files) - 1
to the code.
It starts always with 60. If I play other contend, and readd
the playlist again, then the values are correct (more than 1000).
Something lets the list decrease to only 60 items.
I watched the random_files list after your mail, too, and I couldn't find anything weird about it. The random values were well distributed and indexes higher than 100 got chosen, too.

When you say it always starts with 60, do you mean it has 60 elements at the beginning? That would be really weird.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
jkq's Avatar
Posts: 251 | Thanked: 131 times | Joined on Oct 2009 @ USA
#414
Originally Posted by Rushmore View Post
I actually have over 7,000 songs spread across the sd and device. I turned off autoscan, but still same result. App is slow to start and there is at least 8 seconds delay (per song) when playing with shuffle. The video function works fine (a lot less files, of course).

Stock player and Canola have no lag / index issues, but I hope the indexing efficiency is fixed with Media Box, since the features are very nice.
pycage,

Is there anything those of us with large music collections can do to help you profile MediaBox to improve its performance?

I have around 1500 songs, and I notice heavy CPU usage when switching from track to track (random on, repeat off, if that matters).

As Rushmore says, the stock player doesn't seem to use the CPU as much while switching tracks.

-jkq
__________________
Class .. : Quiet One
Humor .. : [*********-] Alignment: Chaotic Good
Patience : [******----] Weapon(s): Python scripts
Agro ... : [***-------] Relic(s) : N900
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#415
Just use a huge playlist. Open and close the program
multiple times and resume playing. A fresh opened
playlist works normal. After resuming one time the
list seems only to have 60 items. The playlist itself
keeps complete. Just try out some different situations.
At the moment I am using the svn version.

I also noticed, that huge playlists or archives cause
heavy loading and make mediabox hang. Especially
updating the current title info and album art doesn't
work very well. Multiple track skipping causes problems.
__________________
May the force be with us!
 

The Following User Says Thank You to mase For This Useful Post:
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#416
Anybody got Mediabox working with headset-control?
__________________
May the force be with us!
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#417
Originally Posted by mase View Post
Anybody got Mediabox working with headset-control?
Are you talking about Bluetooth headsets?
I don't have one to test it, but didn't you report it to be working recently? Did it cease to work with an update?
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#418
Originally Posted by pycage View Post
Are you talking about Bluetooth headsets?
I don't have one to test it, but didn't you report it to be working recently? Did it cease to work with an update?
Bluetooth works erratically. The problems I had with it yesterday was for a while pushing the next-track button sent MediaBox into a frenzy acting as if the button had been pressed multiple times and making it play a fraction of a second of a song before skipping to the next, this went on for about 20 seconds until I pressed the stop button to put it out of its misery. Afterwards it worked correctly - until - the problems I'm having with it right now is that pushing next-track on the headset makes MediaBox skip to next track but doesn't play it, I have to press "play/pause" button twice to "stop" and "restart" play (I can do this either on the N900 or on headset).
 
Posts: 1,255 | Thanked: 393 times | Joined on Oct 2009 @ US
#419
Originally Posted by mase View Post
Just use a huge playlist. Open and close the program
multiple times and resume playing. A fresh opened
playlist works normal. After resuming one time the
list seems only to have 60 items. The playlist itself
keeps complete. Just try out some different situations.
At the moment I am using the svn version.

I also noticed, that huge playlists or archives cause
heavy loading and make mediabox hang. Especially
updating the current title info and album art doesn't
work very well. Multiple track skipping causes problems.
Seems perhaps a better fix would be for Media Box to emulate the same indexing process as the stock and Canola players do. Why do those players have zero problems with large libraries, but MB does? That is the only weak part of MB, but it is a killer for anyone with a lot of tunes

Canola is nice, since all you do is go into the file options and update the index by flagging device and sd card locations. Canola then merges both as one index. No constant to indexing and only takes twenty seconds for over 7,000 tunes that are spread across device and microsd. Update when you need to.

Shuffle is fast with stock and Canola as well, but features are nice with MB.

Last edited by Rushmore; 2010-10-07 at 13:20.
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#420
headphone-control works now. I did not notice, that the original
headphones provide a button. I thought, that it's only a clip. The
N82 headphones are completely incompatible with the N900.
My fault.
I also noticed, that syncing with gpodder works very nice in the
SVN. Nice work!
__________________
May the force be with us!
 
Reply

Tags
mediabox, pycage rules


 
Forum Jump


All times are GMT. The time now is 16:45.