Jump to content


Photo

YouTube workflow

youtube workflow

  • Please log in to reply
44 replies to this topic

#1 simonbs

simonbs

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 January 2013 - 07:14 PM

Hi,

Just wanted to share the workflow I just created with other Alfred 2.0 beta testers. I hope that this is the right place to do so.

The workflow allows the user to search YouTube and have the results returned to Alfred and then choose a video to watch. Just type youtube followed by the query. For example, the below will search for Rebecca Black videos.

 

youtube rebecca black

 

You can downloaded the latest version here and the source code is available at GitHub.
Sk%C3%A6rmbillede%202013-01-13%20kl.%201


  • Weaselboy, Enhorn, drking and 7 others like this

#2 hollowm4n

hollowm4n

    Newbie

  • Member
  • Pip
  • 12 posts
  • LocationBelgium

Posted 13 January 2013 - 08:22 PM

Hey,

 

It's not working here.

I am not getting any results:

 

Schermafbeelding%202013-01-13%20om%2021.

 

Cheers



#3 Jono

Jono

    Member

  • Member
  • PipPip
  • 127 posts
  • LocationUK

Posted 13 January 2013 - 08:24 PM

This looks cool, but unfortunately doesn't work for me. If I type in a search (even the same search as your example) no results are shown.

 

Any ideas what I could try?

 


#4 simonbs

simonbs

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 January 2013 - 08:50 PM

Hey,

 

It's not working here.

I am not getting any results:

 

Schermafbeelding%202013-01-13%20om%2021.

 

Cheers

 

 

This looks cool, but unfortunately doesn't work for me. If I type in a search (even the same search as your example) no results are shown.

 

Any ideas what I could try?

 

 

I think this is because you don't have the gdata module for Python installed. I have rewritten parts of the workflow to pull the JSON feed from Google directly and not use the gdata module. Instead, the urllib and json modules are used and I bet you have these installed  :)

 

Could you try to download the workflow again from this link and reinstall it? Maybe you have to delete the previous and install the new. I don't know if Alfred will overwrite previous installations of a workflow. Please let me hear if it works  :)


  • hollowm4n likes this

#5 GamerChase

GamerChase

    Member

  • Member
  • PipPip
  • 101 posts

Posted 13 January 2013 - 08:51 PM

Maybe it self-destructed because of Rebecca Black? Just kidding. ;) Seriously though, props, if it works. Haven't tried it yet.
  • Vero likes this

twitter-follow.png


#6 Jono

Jono

    Member

  • Member
  • PipPip
  • 127 posts
  • LocationUK

Posted 13 January 2013 - 08:52 PM

That's it! Perfect, thanks  :D

 


#7 simonbs

simonbs

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 January 2013 - 08:55 PM

Maybe it self-destructed because of Rebecca Black? Just kidding. ;) Seriously though, props, if it works. Haven't tried it yet.

 

Haha, could be it  ;)

 

That's it! Perfect, thanks  :D

 

 

I'm glad to hear that it works!  :)



#8 hollowm4n

hollowm4n

    Newbie

  • Member
  • Pip
  • 12 posts
  • LocationBelgium

Posted 13 January 2013 - 09:10 PM

It's working now :D



#9 GamerChase

GamerChase

    Member

  • Member
  • PipPip
  • 101 posts

Posted 13 January 2013 - 09:20 PM

It works.  Nicely done.  :)


twitter-follow.png


#10 Pedro Lobo

Pedro Lobo

    Member

  • Member
  • PipPip
  • 171 posts
  • LocationPortugal

Posted 13 January 2013 - 10:02 PM

Nice workflow mate. I'm looking for all python ones to dissect and improve mine ;)



#11 simonbs

simonbs

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 January 2013 - 10:15 PM

Nice workflow mate. I'm looking for all python ones to dissect and improve mine ;)

 

I'm glad you liked it. Dissect it all you want  ;)



#12 simonbs

simonbs

    Member

  • Member
  • PipPip
  • 47 posts

Posted 13 January 2013 - 10:20 PM

I have just added the standard YouTube video feeds but I have not uploaded the workflow yet as I can't really figure out if it's worth including or if it's just too much unnecessary fucntionality. Maybe you guys can help me figure out?  :)

 

I have added the following eight standard feeds. Googles "Most linked" standard feed seems to be broken at the moment. It doesn't return any items and therefore I haven't included it.

 

What do you say? Is there any interest for adding this?

Sk%C3%A6rmbillede%202013-01-13%20kl.%202


  • MorseCode likes this

#13 viticci

viticci

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 13 January 2013 - 11:01 PM

Very nice. I think the YouTube feeds would be a good idea.



#14 Jono

Jono

    Member

  • Member
  • PipPip
  • 127 posts
  • LocationUK

Posted 14 January 2013 - 08:05 AM

Yea, it would be good to show them as kind of fallback searches before you typed in your own search.

 


#15 simonbs

simonbs

    Member

  • Member
  • PipPip
  • 47 posts

Posted 14 January 2013 - 10:22 AM

I just added eight standard feeds. It can be downloaded here  :)

 

The commands for the standard feeds are quite long but they are just meant to show up when typing "youtube" and then let you choose from the list.



#16 Jono

Jono

    Member

  • Member
  • PipPip
  • 127 posts
  • LocationUK

Posted 14 January 2013 - 11:00 AM

Thanks, working great here  :)

 


#17 MorseCode

MorseCode

    Newbie

  • Member
  • Pip
  • 13 posts

Posted 14 January 2013 - 01:44 PM

I just added eight standard feeds. It can be downloaded here :)

The commands for the standard feeds are quite long but they are just meant to show up when typing "youtube" and then let you choose from the list.
Sorry, meant to follow the topic and just ended up dong a repost. Will delete when I get to my Mac.

#18 viticci

viticci

    Newbie

  • Member
  • Pip
  • 8 posts

Posted 14 January 2013 - 06:04 PM

Yup, working well here as well. Idea: channels?



#19 Weaselboy

Weaselboy

    Member

  • Member
  • PipPip
  • 37 posts

Posted 14 January 2013 - 07:37 PM

Working perfectly here. Thanks Simon



#20 simonbs

simonbs

    Member

  • Member
  • PipPip
  • 47 posts

Posted 14 January 2013 - 09:23 PM

Yup, working well here as well. Idea: channels?

 

Good idea. Let's do that. Do you have an idea for the keyword? Maybe just "channel"?

 

 

Working perfectly here. Thanks Simon

 

Great! :-)


  • Weaselboy likes this



Also tagged with one or more of these keywords: youtube, workflow

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users