Active Topics

 



Notices


Reply
Thread Tools
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#501
How must I use the simulator?
__________________
May the force be with us!
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#502
Settings -> Media Backends
There you can select the simulator for playing certain media formats.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following User Says Thank You to pycage For This Useful Post:
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#503
I have already selected the simulator. But now what?

Can you add a feature to automatically go online when
playing intermet or network content? I think, Maemo
provides an API for that. The most apps ask for the connection
to use.
__________________
May the force be with us!
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#504
I have used the same shuffle principle than you do in a C++ program I wrote
some time ago. But it is less good, when skipable. Reverse skipping to a
song played is not possible, because it is removed from the shuffle list.
What do you think about that:
All tracks are added to a list, and the list gets shuffled itself. Playing starts
from beginning. When adding more tracks, they will be appened to the end,
and the list gets shuffled again. Playing starts from beginning again.
When switching from and to continuous mode the current title could be
searched, and playing continues from that position.
To accelerate searching and other access, a small DB like sqlite or something
could be used. Using a DB lets the lists and state exist over a program restart
or even a reboot. Maybe cover art could be saved binary in the DB, but I don't
know exactly, if this will work (well).

On the other side: Doesn't MAFW provide a shuffle mode with a given playlist?
__________________
May the force be with us!
 

The Following User Says Thank You to mase For This Useful Post:
Posts: 364 | Thanked: 128 times | Joined on Sep 2010 @ Australia
#505
Originally Posted by pycage View Post
This could be a bug in the version in extras-testing.
If you run with
Code:
MediaBox -vvv | grep conn
do you see connection timeouts when this happens?
As it does time out, is there anything that can be done to prevent timeouts or to refresh the download?
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#506
Originally Posted by mase View Post
What do you think about that:
All tracks are added to a list, and the list gets shuffled itself. Playing starts
from beginning. When adding more tracks, they will be appened to the end,
and the list gets shuffled again. Playing starts from beginning again.
This sounds good, except when adding more tracks, only the unplayed remainder of the list should get shuffled in order to avoid playing the same track twice.

Originally Posted by mase View Post
When switching from and to continuous mode the current title could be
searched, and playing continues from that position.
Do you mean playing to be continued from that position in the already shuffled list? Assuming that continuous means non-shuffled.


Originally Posted by mase View Post
Maybe cover art could be saved binary in the DB, but I don't
know exactly, if this will work (well).
I wouldn't want to duplicate the cover art in a database. It can be fairly large, and if you have lots music, it can grow quite big.


Originally Posted by mase View Post
On the other side: Doesn't MAFW provide a shuffle mode with a given playlist?
MAFW does if MediaBox was using the unportable MAFW handling of playlists.
It's good enough for the built-in media player, because that only runs on the N900, but MediaBox doesn't use MAFW for handling playlists.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#507
Originally Posted by vivmak View Post
As it does time out, is there anything that can be done to prevent timeouts or to refresh the download?
It seems to be YouTube's behavior that it doesn't serve data as long as it thinks you already got enough for watching the video. They try to limit the download rate and maybe pause transmission occasionally.
There shouldn't be a timeout while waiting for data in MediaBox (only a connection timeout). That's the bug, and it will be fixed in the next version.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following User Says Thank You to pycage For This Useful Post:
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#508
I think, when adding more tracks to an shuffle playlist, the "shuffle session"
restarts. No matter if a track is played twice after that.
Yes, I mean playing to be continued from that position in the already shuffled
list, and the same from the non-shuffle list. Therefor a DB makes sense.
Using a list container would take too long, because of the iterating. Searching
in a DB takes as good as no time.

PS: Does Youtube search work for you?
__________________
May the force be with us!
 
Posts: 364 | Thanked: 128 times | Joined on Sep 2010 @ Australia
#509
[QUOTE=mase;848631]I think, when adding more tracks to an shuffle playlist, the "shuffle session"
restarts. No matter if a track is played twice after that.
Yes, I mean playing to be continued from that position in the already shuffled
list, and the same from the non-shuffle list. Therefor a DB makes sense.
Using a list container would take too long, because of the iterating. Searching
in a DB takes as good as no time.
Originally Posted by mase View Post
PS: Does Youtube search work for you?
For me it works, but for downloaded videos if I remove index and try reindexing it sometimes does not work
 
Posts: 140 | Thanked: 40 times | Joined on Sep 2010
#510
I have a problem with Video files on your Oct release. (ie: got some avi files, youtube dl via the mediabox) When i try to launch the video file, it launchs a black screen kinda like its about to start the video playback, but it than proceed to skipping to the next track as it seems like there was an error with the video therefore it skips to the next file. the mediabox do this for all my video files. i saw earlier that you recommended to restart, but that is a no go, as the problem still exist. thanks in advance
 
Reply

Tags
mediabox, pycage rules


 
Forum Jump


All times are GMT. The time now is 20:13.