Author Topic: How to add new media types and formats?  (Read 6209 times)

grindy

  • Newbie
  • *
  • Posts: 7
    • View Profile
How to add new media types and formats?
« on: June 13, 2007, 08:50:47 pm »
Linuxmce is workin pretty good so far.  i got fglrx workin on an ati 9600xt.  UI1 works ok.  But how do i add new media formats to the database?  i got allot of tv shows in .rm (realmedia) format and i can't see them in an orbiter.  I downloaded realplayer just to have a player that can work...but how do i add them into the pluto media plug-in, so that i see them in the 'Video' filelist, and when i select one, it opens the proper player?  PLZ HELP!  THIS IS MY LAST BUG!  THEN IT"S PERFECT!  for now...

cckrobinson

  • Veteran
  • ***
  • Posts: 124
    • View Profile
Re: How to add new media types and formats?
« Reply #1 on: June 13, 2007, 11:00:35 pm »
As far as I know, xine is the only player that's supported.

You can add new media types by updating the pluto_main database and adding them to the MediaType table.  That should allow them to appear, but you won't be able to play them unless Xine can :(

sharlee_angelo

  • Guru
  • ****
  • Posts: 316
    • View Profile
Re: How to add new media types and formats?
« Reply #2 on: June 14, 2007, 09:23:03 am »
the bad news is that you can add .rm files in media directories but you will not see them in orbiter or in database. i've made the same thing with some .dts files and they were not listed in orbiter, even if i changed the extension from .dts to .mp3 ;D. it seems that UpdateMedia script scans and adds to the database only a few formats.
Read the F****** Logs!!!

joesixpack

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: How to add new media types and formats?
« Reply #3 on: June 14, 2007, 08:14:38 pm »
How do you update the pluto_main database? I want to assoc. *.iso files (dvd images) with the dvd player.

Juliet Smith

  • Regular Poster
  • **
  • Posts: 41
    • View Profile
Re: How to add new media types and formats?
« Reply #4 on: June 15, 2007, 09:31:26 am »
Do you know mysql? You can do that from the console:

mysql
use pluto_main
then run the update command for  mediatype table
UPDATE MediaTYpe SET Extensions = 'you add the new list of extensions' where PK_MediaType = '5' (for video)

You can also do that a lot easier with phpmyadmin:
install the package first:
sudo apt-get install phpmyadmin
then you can access it by typing in a browser: coreip/phpmyadmin

Juliet Smith

  • Regular Poster
  • **
  • Posts: 41
    • View Profile
Re: How to add new media types and formats?
« Reply #5 on: June 15, 2007, 09:34:40 am »
Forgot:
You connect to phpmyadmin with root and no password.