how to make emms recognise *.ogv files?

View: New views
6 Messages — Rating Filter:   Alert me  

how to make emms recognise *.ogv files?

by TheGZeus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Most of my movie collection is in this format, so the defaults are kinda...
-- TheGZeus: Proof of Ferocious Will --


_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help

Re: how to make emms recognise *.ogv files?

by leon-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-03-16 04:42 +0000, A.W. wrote:
> Most of my movie collection is in this format, so the defaults are kinda...

I think it is entirely up to the underlying player you are using.

--
.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.

               www.git-scm.com
    git - the one true version control system



_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help

Re: how to make emms recognise *.ogv files?

by Tassilo Horn-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"A.W." <gzeusmants@...> writes:

Hi!

> Most of my movie collection is in this format, so the defaults are kinda...

The extension has to be added to the calls of
`define-emms-simple-player' for all players that support that format,
i.e. mplayer, vlc, xine and maybe others.  If you use the git version of
emms you could add it yourself and send us a patch.  If not, I can do it
for you.  What's your preference?

Bye,
Tassilo
--
VI VI VI - The Roman Number Of The Beast


_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help

Re: how to make emms recognise *.ogv files?

by Tassilo Horn-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"A.W." <gzeusmants@...> writes:

Hi!

> Most of my movie collection is in this format, so the defaults are
> kinda...

Here's a patch which enables ogv files for Xine, VLC and MPlayer.  I
tried to push it to savannah, but it always said

  fatal: The remote end hung up unexpectedly

Michael, do you know what's wrong?

Anyway, here it is:

--8<---------------cut here---------------start------------->8---
From 81d6a87677856282914d094b6c5c616a1b51704d Mon Sep 17 00:00:00 2001
From: Tassilo Horn <tassilo@...>
Date: Mon, 16 Mar 2009 09:16:34 +0100
Subject: [PATCH] Added "ogm" extension to VLC, MPlayer and Xine.

---
 lisp/emms-player-mplayer.el |    2 +-
 lisp/emms-player-vlc.el     |    2 +-
 lisp/emms-player-xine.el    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/emms-player-mplayer.el b/lisp/emms-player-mplayer.el
index a843b25..295c437 100644
--- a/lisp/emms-player-mplayer.el
+++ b/lisp/emms-player-mplayer.el
@@ -37,7 +37,7 @@
   (concat "\\`\\(http\\|mms\\)://\\|"
           (emms-player-simple-regexp
            "ogg" "mp3" "wav" "mpg" "mpeg" "wmv" "wma"
-           "mov" "avi" "divx" "ogm" "asf" "mkv"
+           "mov" "avi" "divx" "ogm" "ogv" "asf" "mkv"
            "rm" "rmvb" "mp4" "flac" "vob" "m4a" "ape"))
   "mplayer" "-slave" "-quiet" "-really-quiet")
 
diff --git a/lisp/emms-player-vlc.el b/lisp/emms-player-vlc.el
index 2865110..9a42434 100644
--- a/lisp/emms-player-vlc.el
+++ b/lisp/emms-player-vlc.el
@@ -33,7 +33,7 @@
   (concat "\\`\\(http\\|mms\\)://\\|"
   (emms-player-simple-regexp
    "ogg" "mp3" "wav" "mpg" "mpeg" "wmv" "wma"
-   "mov" "avi" "divx" "ogm" "asf" "mkv"
+   "mov" "avi" "divx" "ogm" "ogv" "asf" "mkv"
    "rm" "rmvb" "mp4" "flac" "vob" "m4a" "ape"))
   "vlc" "--intf" "rc") ; these are never used
 
diff --git a/lisp/emms-player-xine.el b/lisp/emms-player-xine.el
index dd83308..de86059 100644
--- a/lisp/emms-player-xine.el
+++ b/lisp/emms-player-xine.el
@@ -38,7 +38,7 @@
   (concat "\\`\\(http\\|mms\\)://\\|"
           (emms-player-simple-regexp
            "ogg" "mp3" "wav" "mpg" "mpeg" "wmv" "wma"
-           "mov" "avi" "divx" "ogm" "asf" "mkv"
+           "mov" "avi" "divx" "ogm" "ogv" "asf" "mkv"
            "rm" "rmvb" "mp4" "flac" "vob"))
   "xine" "--no-gui" "--no-logo" "--no-splash" "--no-reload" "--stdctl")
 
--
1.6.2
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo


_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help

Re: how to make emms recognise *.ogv files?

by Michael Olson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tassilo Horn <tassilo@...> writes:

> "A.W." <gzeusmants@...> writes:
>
> Hi!
>
>> Most of my movie collection is in this format, so the defaults are
>> kinda...
>
> Here's a patch which enables ogv files for Xine, VLC and MPlayer.  I
> tried to push it to savannah, but it always said
>
>   fatal: The remote end hung up unexpectedly
>
> Michael, do you know what's wrong?

Patch applied.

Check your .git/config file.  It should look like this:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = ssh://USERNAME@.../srv/git/emms.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master

The "url = ssh://..." part is the most important thing to note (replace
USERNAME as appropriate).

--
|       Michael Olson  |  FSF Associate Member #652     |
| http://mwolson.org/  |  Hobbies: Lisp, HCoop          |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'


_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help

Re: how to make emms recognise *.ogv files?

by Tassilo Horn-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Olson <mwolson@...> writes:

Hi Michael,

>>> Most of my movie collection is in this format, so the defaults are
>>> kinda...
>>
>> Here's a patch which enables ogv files for Xine, VLC and MPlayer.  I
>> tried to push it to savannah, but it always said
>>
>>   fatal: The remote end hung up unexpectedly
>>
>> Michael, do you know what's wrong?
>
> Patch applied.

Thanks.

> Check your .git/config file.  It should look like this:
>
> [core]
> repositoryformatversion = 0
> filemode = true
> bare = false
> logallrefupdates = true
> [remote "origin"]
> url = ssh://USERNAME@.../srv/git/emms.git

Argh, some (long forgotten) time ago I've cloned the repository anew,
but using git://.  Thanks for the pointer.

Bye,
Tassilo


_______________________________________________
Emms-help mailing list
Emms-help@...
http://lists.gnu.org/mailman/listinfo/emms-help