Feature #445

Add support for configurable player

Added by Hammel over 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:06 Jun 2015
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:Configuration
Target version:PiBox - 0.11.0
Severity:03 - Medium

Description

This will allow use of xine for home media use while keeping omxplayer for RPi use.


Related issues

Related to VideoFE - Feature #450: Add support for file type specific video players. Closed 19 Jun 2015

Associated revisions

Revision b4d1bead
Added by Hammel about 2 years ago

RM #445, RM #450: Add support for file type specific players, and thus configurable players.

Revision fbd2e936
Added by Hammel about 2 years ago

RM #445, RM #450: Fix segfaults in config file parsing. Add embedded option to allow using on the desktop too. Add support for multiple players.

Revision 95cf5e33
Added by Hammel about 2 years ago

RM #445, RM #450: Add embedded option to allow using on the desktop too. Add support for multiple players.

Revision a0608c53
Added by Hammel about 2 years ago

RM #445, RM #450: Add embedded option to allow using on the desktop too. Add support for multiple players.

Revision f954247c
Added by Hammel about 2 years ago

RM #445, RM #450: Add parse function for converting a command string into args for execve.

Revision 2cded3b4
Added by Hammel about 2 years ago

RM #445, RM #450: Add parse function for converting command string to args for execve.

Revision 137bea50
Added by Hammel about 2 years ago

RM #445, RM #450: Fix incorrect handling of home key configuration.

History

#1 Updated by Hammel over 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 20

This is already in the code, configurable through the config file as "player=<cmd>". I need to test this with xine as the player. However, to test it I need a configurable tree to search for the db. This is hardcoded in videofe.c:main(). If I make it configurable then I can search /movies for the movie db and have VideoLib create it there. An even simpler test would be to symlink the Mobile tree to ~/Movies and just create the db in Mobile.

So:
  1. Make top of db tree configurable via the config file.
  2. symlink /movies/Cinema-3/Mobile ~/Movies
  3. Have VideoLib scan ~/Movies/Mobile

Then I can test videofe on the desktop with a configurable player and db tree.

#2 Updated by Hammel over 2 years ago

The code changes that make dbTop configuration are in my sandbox. But I need to be on galileo to test them.

#3 Updated by Hammel about 2 years ago

  • % Done changed from 20 to 50

This feature is extended by the use of multiple player types from RM #450. Still needs to be tested after VideoLib is extended to scan for multiple format types.

#4 Updated by Hammel about 2 years ago

  • Priority changed from Urgent to Immediate
  • Severity changed from 02 - High to 03 - Medium

#5 Updated by Hammel about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Tested, committed and pushed changes to support configurable players. Multiple players are supported based on video format.

Closing issue.

Also available in: Atom PDF