Jump to content
simonbs

YouTube workflow

Recommended Posts

Hey Simonbs, would it be possible to / could you add a search for the uploads from subscriptions on youtube as well ? http://www.youtube.com/feed/subscriptions/u'>http://www.youtube.com/feed/subscriptions/u

 

Or would that be a big mess of authentification an passwords ? 

That’s definitely possible but as you mention this would require some configurations and authentication. I would like to keep this workflow very easy to use and therefore I don't think that I will include this yet. Hopefully Alfred will some day include a way to do "workflow wide" configurations from within the workflow editor. I have suggested that here. http://www.alfredforum.com/index.php?/topic/174-configurations-in-a-workflow/

Share this post


Link to post

This is a spectacular workflow, thank you!

 

I am having an odd error when attempting to access a channel where it starts double-typing each letter.  Any idea what could be causing that?

 

alfredimage.PNG

Share this post


Link to post
This is a spectacular workflow, thank you!

 

I am having an odd error when attempting to access a channel where it starts double-typing each letter.  Any idea what could be causing that?

 

I have seen that before, however, I am not able to reproduce the issue. Do you have the latest version of Alfred (b79)? If not, download it from here and see if that helps. http://media.alfredapp.com/v2beta/

Share this post


Link to post

This issue has been raised and accepted as a bug in the appropriate topic. Andrew is on it ^^

 

I did a very similar workflow last week for the website predb. You can find it on the alftp repository ;)

Share this post


Link to post

Holy hell, this workflow went through a lot of updates. I'm so glad it did, its such a useful one. Great job, and please keep'em coming. I wish I knew how to make this stuff so I didn't have ask or wait for someone to do it. 

 

Thanks again. 

Share this post


Link to post

Just a note to those who really enjoy this workflow, since QuickLook was added to Alfred 2, you can now "preview" the videos. Once you have actual videos listed as results, if you press Shift, it will open the url to the video page in QuickLook, allowing you to watch the video without ever opening a browser. Which makes it much more useful in my opinion.

Share this post


Link to post

Just a note to those who really enjoy this workflow, since QuickLook was added to Alfred 2, you can now "preview" the videos. Once you have actual videos listed as results, if you press Shift, it will open the url to the video page in QuickLook, allowing you to watch the video without ever opening a browser. Which makes it much more useful in my opinion.

 

Woaaah!! That's magic! Really cool. Thanks for the tip  :)

Share this post


Link to post

Woaaah!! That's magic! Really cool. Thanks for the tip  :)

 

It won't work for al data but if you have the arg to a result set as a URL you can quicklook that, or, if you set the result type=file, you can quicklook the file (assuming it supports quicklook).

 

Just as a side note, you can do that anywhere with URLs. So if you just pop up Alfred and type alfredapp.com and press Shift it will quicklook the URL as well. This has been around for a while (since 1.x) but I don't think a lot of people realized it

Share this post


Link to post

good workflow, and I added to the list http://www.alfredworkflow.com/#YouTube

Thanks, that's cool. Didn't know about your site. That's a great initiative. Any chance you can add my other workflows?

https://github.com/simonbs/alfred-cloudapp-workflow

https://github.com/simonbs/alfred-safari-tabs-workflow

https://github.com/simonbs/alfred-movies-workflow

https://github.com/simonbs/alfred-tweetbot-workflow

Share this post


Link to post

 

sure, so nice.

Please can you submit those workflows here:

http://www.alfredworkflow.com/submit-alfred-workflow/

and they will be listed immediately.

Share this post


Link to post

Hi I don't know if the Author of the workflow still receives notifications of this thread let alone even reply, but just recently used this workflow, it was working fine for around 30 mins then suddenly I did a search and it comes up with "No results found" then under it "I'm really sorry that you had to experience this.".

 

If this has happened to anyone and managed to fix it, it would be great.

I have tried removing the workflow and re-installing it but that did not seem to work.

Share this post


Link to post

Hi I don't know if the Author of the workflow still receives notifications of this thread let alone even reply, but just recently used this workflow, it was working fine for around 30 mins then suddenly I did a search and it comes up with "No results found" then under it "I'm really sorry that you had to experience this.".

 

If this has happened to anyone and managed to fix it, it would be great.

I have tried removing the workflow and re-installing it but that did not seem to work.

 

Hi Shanxs,

 

Recently YouTube changed their API. Due to the changes, the workflow no longer works. I would love to update this workflow to accomodate the changes but right now, I don't have the time. The workflow is open sourced on Github and I will be happy to merge the changes, if someone takes the time to fix it. Actually, it shouldn't be too difficult to make the changes. I recently updated one of our commercial apps to the new YouTube API.

 

Best regards,

Simon Støvring

Share this post


Link to post

Oh okay, thank you for the super quick reply. I did not think you would reply so quickly so I sent an email as well regarding this comment (feel free to ignore it). It would be great if someone could help fix this awesome workflow. TYVM

Share this post


Link to post

Hi I greatly appreciated your workflow in the past. I tried to fix it but the problem doesn't seem to come from the YouTube API, but maybe I'm wrong. Here's my results so far.

 

If I visit a YouTube page, pause the video, and type the following code in the console, it works (the video plays):

var player = document.getElementById('movie_player');
player.startVideo();

When I type 'ytp' in the alfred bar though, the video doesn't play, and the console outputs 'Uncaught error: getPlayerState() not a function.' I checked on the API, the functions getPlayerState() and pauseVideo() are still there and are the same. The problem I found is that somehow the line 'var player = document.getElementById('movie_player');' in the Alfred workflow doesn't change the player variable. I tested this by typing 'player' in the Chrome console. It outputs a different default player object, for which of course there's no getPlayerState, etc. functions.

 

My conclusion was that... I was confused. I thought maybe the default player object already present is 'protected' and can't be overridden when Alfred executes the javascript code?

 

If you can get this action (ytp) to work, I am willing to update the rest of the workflow. 

 

Thank you very much.

Edited by alfo3311

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...