bigreader Posted January 16, 2013 Share Posted January 16, 2013 Is it possible to add a search for channels? (e.g. "v" might give results for "Vlogbrothers", "Vsauce", "Vechz" and so on) Link to comment
simonbs Posted January 16, 2013 Author Share Posted January 16, 2013 Is it possible to add a search for channels? (e.g. "v" might give results for "Vlogbrothers", "Vsauce", "Vechz" and so on) Great idea. I just put it into the latest version. Download it here and use the "youtubec" keyword Link to comment
Florian Posted January 17, 2013 Share Posted January 17, 2013 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 Or would that be a big mess of authentification an passwords ? Link to comment
simonbs Posted January 17, 2013 Author Share Posted January 17, 2013 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/ Link to comment
simonbs Posted January 22, 2013 Author Share Posted January 22, 2013 I have updated the workflow to use autocompletion. The commands are now "youtube" for a quick and dirty search and "yt" for full functionality. Type "yt" to show autocompletions. Grab the latest version here. Link to comment
wickemu Posted January 22, 2013 Share Posted January 22, 2013 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? Link to comment
simonbs Posted January 22, 2013 Author Share Posted January 22, 2013 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/ Link to comment
wickemu Posted January 22, 2013 Share Posted January 22, 2013 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/ Apparently I did not, and downloading it solved the problem. Thanks!! Link to comment
Florian Posted January 22, 2013 Share Posted January 22, 2013 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 Link to comment
morphorod Posted February 15, 2013 Share Posted February 15, 2013 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. Link to comment
jdfwarrior Posted February 26, 2013 Share Posted February 26, 2013 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. Link to comment
simonbs Posted February 26, 2013 Author Share Posted February 26, 2013 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 Link to comment
jdfwarrior Posted February 26, 2013 Share Posted February 26, 2013 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 Link to comment
npeeps Posted February 27, 2013 Share Posted February 27, 2013 I'm getting a blocked plug-in error when I try this. Does anyone have a solution for this? Thanks! Link to comment
hzlzh Posted March 23, 2013 Share Posted March 23, 2013 good workflow, and I added to the list http://www.alfredworkflow.com/#YouTube Link to comment
simonbs Posted March 23, 2013 Author Share Posted March 23, 2013 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 Link to comment
hzlzh Posted March 23, 2013 Share Posted March 23, 2013 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 sure, so nice. Please can you submit those workflows here: http://www.alfredworkflow.com/submit-alfred-workflow/ and they will be listed immediately. Link to comment
hzlzh Posted March 23, 2013 Share Posted March 23, 2013 I like your Tweetbot Workflow, smoothly. Link to comment
FiXER Posted March 29, 2013 Share Posted March 29, 2013 Some of the author names are not displayed correctly http://cl.ly/image/1Q3O0s011h0z Link to comment
politicus Posted May 11, 2015 Share Posted May 11, 2015 Due to Youtube Data API changes, it is not working anymore. Link to comment
Shanxs Posted October 24, 2015 Share Posted October 24, 2015 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. Link to comment
simonbs Posted October 24, 2015 Author Share Posted October 24, 2015 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 Shanxs and alfo3311 2 Link to comment
Shanxs Posted October 24, 2015 Share Posted October 24, 2015 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 Link to comment
alfo3311 Posted October 29, 2015 Share Posted October 29, 2015 (edited) 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 October 29, 2015 by alfo3311 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now