LinuxMCE Forums
May 18, 2013, 07:34:00 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2 3
  Print  
Author Topic: Finally, you can play your AVI/MP3 file and view your pics directly from CD/DVD  (Read 5306 times)
Itsik
Guru
****
Posts: 158


View Profile
« on: March 10, 2009, 09:00:59 pm »

After a lot of blood sweat and tears, you can insert a data CD/DVD and view/play it's content without the need to copy the files to your storage.
Once you eject the dvd, the content, that was added automatically to your DB gets removed.
There are some limitations that need to be addressed and as my coding abilities are pretty limited, I'm still struggling with them and any help would be greatly appreciated.
Instructions
1. On your core, stop the media director.
2. Copy the Disc_Drive file to "/usr/pluto/bin" as root (Backup the original file first).
3. Copy the libDisc_Drive_Functions.so file to "/usr/pluto/lib", again as root (once again, backup your original file).
4. Restart your media director.

You can now insert any data disc into your core and after a few seconds it's content will apear on the appropriate media list (video/audio etc...) on the core as well as all your MD's. Clicking on it will play it with the appropriate player.

Limitations

1. This is a x86 ver. I don't have a 64 system to compile it on.
2. When you insert the disc on the core, you can view it on any MD in the house. It won't work if you try to put the disc on an MD.
3. The disc can only be ejected using the "manage drives" menu for now. Pressing the button will not release the disc.

Hopefully, these limitations will be fixed soon and this will become fully functional.

I hope you find this useful.

Itsik
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #1 on: March 10, 2009, 09:43:00 pm »

Applause for Itsik!
Logged
seth
Guru
****
Posts: 478


A day w/o LinuxMCE is like a day w/o sunshine!


View Profile
« Reply #2 on: March 12, 2009, 04:59:40 pm »

 Huh
Hmm. I wonder if this also works with USB pen drives. I should try this when I get home tonight.

I'll post back.

Great find Itsik!

Regards,

Seth
Logged

".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth
jondecker76
Alumni
wants to work for LinuxMCE
*
Posts: 763


View Profile
« Reply #3 on: March 12, 2009, 05:48:28 pm »

Itsik - excellent work, we've been needing this!

You should put your source up, or at least a diff so that:
A) You could get some peer review and feedback
B) See why it only works on the core (with LMCE's internal structure, it should have worked everywhere, as the core and MD's all use the same packages)
C) Ensure it makes its way into 0810
D) Others with 64 bit architecture can try to compile and report their success
E) Remain in compliance with GNU

Again, excellent work, a lot of people have a need for this.
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #4 on: March 12, 2009, 07:47:27 pm »

Huh
Hmm. I wonder if this also works with USB pen drives. I should try this when I get home tonight.

I'll post back.

Great find Itsik!

Regards,

Seth

Seth - LMCE already works with pen drives just fine! Plug it in, let LMCE pnp it as an internal drive, then say use LMCE structure. It will set up the folders. Then do a reload. From then on, whenever you plug that thumb drive into that MD it will recognise it and scan any media in the folders into the database and you can play it like any other media source. The issue here is media on a CD or DVD just as media files rather than a proper CD or DVD audio/video disk.... optical drives are managed by the Disk_Drive device, and it only expects proper audio/video disks...
Logged
Itsik
Guru
****
Posts: 158


View Profile
« Reply #5 on: March 13, 2009, 12:10:51 am »

Thnx guys.  Smiley
As my internet connection is a bit shaky this week it's not vary easy to upload anything. I'll do my best upload the sources this week end.
I'll post here once it is uploaded.

Itsik
« Last Edit: March 13, 2009, 12:13:07 am by Itsik » Logged
Itsik
Guru
****
Posts: 158


View Profile
« Reply #6 on: March 14, 2009, 08:26:54 am »

I opened a trac ticket and attached the source files as well as a diff.
It is located at http://svn.linuxmce.org/trac.cgi/ticket/142.

Itsik
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #7 on: March 16, 2009, 11:02:13 pm »

way to go itsik!
Logged

rock your home - http://www.agocontrol.com home automation
Itsik
Guru
****
Posts: 158


View Profile
« Reply #8 on: March 23, 2009, 09:17:18 am »

Thnx Hari  Smiley
Any one had a chance to test it/fix it ?
I'd love to recieve some feedback.

Thnx
Itsik
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2412



View Profile WWW
« Reply #9 on: March 24, 2009, 01:13:53 am »

i'm not at home till next weekend..
Logged

rock your home - http://www.agocontrol.com home automation
purps
NEEDS to work for LinuxMCE
***
Posts: 1269


If it ain't broke, tweak it


View Profile
« Reply #10 on: August 30, 2009, 12:34:26 am »

I couldn't get this to work  Sad

I followed the steps here. The CD I tried definitely works. At first I thought it might be because I don't usually run the MD on my core, but I tried it with the MD running as well. Movie just doesn't appear in my video list on my (separate) MD.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
Itsik
Guru
****
Posts: 158


View Profile
« Reply #11 on: August 30, 2009, 06:47:31 am »

Did you insert the cd into your core or an MD ?
This feature currently works using the core/hybrid optical drive only (the content can be accessed from any where).
We're currently working on getting it to work on MD's as well.
 
Itsik
« Last Edit: August 30, 2009, 06:50:53 am by Itsik » Logged
dlewis
Guru
****
Posts: 401


View Profile
« Reply #12 on: August 30, 2009, 08:37:00 am »

seriously nice work...
Logged
purps
NEEDS to work for LinuxMCE
***
Posts: 1269


If it ain't broke, tweak it


View Profile
« Reply #13 on: September 01, 2009, 08:57:40 am »

I inserted it in my core - I browsed to the CD in KDE desktop and played the movie just to make sure everything was working. I then did a proper reset and tried again - nothing.

Any ideas would be much appreciated - this is something that I have wanted to do for a very long time. I take it other people have had success?

To replace the 2 files, I browsed to them in dolphin, copied them to a backup folder, and then I did a "sudo dolphin", deleted the files, and then cut + paste the downloaded ones into the appropriate location - is there any crime in doing it like this?
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
Itsik
Guru
****
Posts: 158


View Profile
« Reply #14 on: September 01, 2009, 11:53:15 am »

Basically, if everything is done correctly, when you insert the disc, you need to wait a few secs after which the files on your disc will apear in their appropriate media windows on every MD (mp3 under audio, avi under video etc.) from that point on, you treat them just like any other media file.

1. Did you stop your Media Director BEFORE copying the files (on the LinuxMCE launch manager there's a button to stop the MD) ?
2. Is your core 32bit or 64 ?

Itsik
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!