Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 23:07
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Error message opening MP3 files in VLC under WINE **SOLVED**
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
liro

Joined: 28 Jul 2012
Posts: 149

PostPosted: Sat 29 Sep 2012, 00:42    Post_subject:  Error message opening MP3 files in VLC under WINE **SOLVED**  

I have Paint Shop Pro under WINE as the default image editor for JPG files in Puppy (Slacko 5.3.3), so when I click on a JPG file it automatically opens in this program through WINE. I did this by adjusting the "Run action" command for JPG files.

Using the same method, I tried to set the default MP3 player as VLC (already installed) under Wine. However, when I click on an MP3 file, I now get the following error message from VLC:

File reading failed:
VLC could not open the file "music\album\song.mp3". (%m)
Your input can't be opened:
VLC is unable to open the MRL 'file:///music/album/song.mp3'. Check the log for details.

The program does start though (when I click off the error message) and I can open the same MP3 manually via the program menu and it runs fine.

Does anyone know how I could bypass this error message and get MP3 files to run automatically with VLC?

Thanks.

PS: In case anyone was wondering, I have a specific reason for wanting to use the Windows version of VLC (not the Linux one or a different Linux audio player).

Edited_time_total
Back to top
View user's profile Send_private_message 
Burn_IT


Joined: 12 Aug 2006
Posts: 1033
Location: Tamworth UK

PostPosted: Sat 29 Sep 2012, 08:36    Post_subject:  

VLC is available to run directly under Puppy without needing Wine.

I'm fairly sure it is a quickpet, but I'm on a Work machine At the moment and cannot look.

_________________
I can't remember the last time I forgot something!
Back to top
View user's profile Send_private_message 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 839
Location: USA

PostPosted: Sat 29 Sep 2012, 10:32    Post_subject:  

Why use Wine? Wine is often incompatible with a lot of software.
_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
(Slacko) Puppy Arcade 11 on USB Stick
Back to top
View user's profile Send_private_message 
Burn_IT


Joined: 12 Aug 2006
Posts: 1033
Location: Tamworth UK

PostPosted: Sat 29 Sep 2012, 11:02    Post_subject:  

There are occasions when Linux does not have the tool/software with the features that a Windows utility has.
Wine then becomes extremely useful in the way that Cygwin is for Linux tools that have no equivalent under Windows.

_________________
I can't remember the last time I forgot something!
Back to top
View user's profile Send_private_message 
liro

Joined: 28 Jul 2012
Posts: 149

PostPosted: Mon 01 Oct 2012, 00:02    Post_subject:  

Thanks for the replies. As mentioned, I want to use the Windows version of this prog for a specific reason (I won't bore you with it here as it's kind of off-topic). Anyway, I'm now able to get MP3 files to open automatically with VLC under Wine, thanks to this solution kindly provided by MikeB via PM:

Go to Choices/Mime-types/audio_mpeg

Change the contents of this to:

#! /bin/sh

a=${1/\//Z:\\}
a=${a//\//\\}

wine "[location of vlc.exe]" "$a"

...and now it works fine =).
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0526s ][ Queries: 11 (0.0119s) ][ GZIP on ]