After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644949 - Can't stream from vimeo servers
Can't stream from vimeo servers
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Movie player
unspecified
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-03-16 20:07 UTC by Bastien Nocera
Modified: 2011-03-17 01:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2011-03-16 20:07:08 UTC
This fails:
quvi http://vimeo.com/14912890 --exec "totem %u"

This works:
quvi http://vimeo.com/14912890 --exec "gst-launch playbin2 uri=%u"
Comment 1 Bastien Nocera 2011-03-17 01:09:10 UTC
This is due to totem_action_add_recent(), which will try to load all that data from the web server. But we already have it!


quvi http://vimeo.com/14912890
<snip>
{
  "host": "vimeo",
  "page_title": "Everything is a Remix Part 1",
  "page_url": "http://vimeo.com/14912890",
  "id": "14912890",
  "format_requested": "default",
  "link": [
    {
      "id": "1",
      "length_bytes": "38922376",
      "content_type": "video/mp4",
      "file_suffix": "mp4",
      "url": "http://vimeo.com/moogaloop/play/clip:14912890/3a30e30b7baf80ddf815b29e2e34fcc8/1300323994/?q=sd"
    }
  ]
}
Comment 2 Bastien Nocera 2011-03-17 01:10:48 UTC
It was also due to Totem not having a user-agent at all.
Comment 3 Bastien Nocera 2011-03-17 01:46:36 UTC
commit 73c71a93b5d157653fc2c361c673ea814cac5247
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Mar 17 01:42:34 2011 +0000

    main: Don't poke at web servers for info
    
    When loading videos from some websites, through quvi, we
    already have a lot of information about the file, so we
    don't really need to go and look for that information
    ourselves.
    
    We now store the content-type of the stream in question, and
    don't hit the web server to fill in GtkRecent if that's the case.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644949

commit 37ddeb0c2f6c63c2fd157df20b83298134124230
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Mar 17 01:12:01 2011 +0000

    backend: Never use an empty User-Agent
    
    Or some web services will kick us out without asking.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644949