Jump to content

simonbs

Member
  • Posts

    48
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by simonbs

  1. Hey guys,

    great work ;)

     

    When I look for youtube videos, one the things I look at the most is the number of views, would it be easy for you to add that to the subtitle? 

     

    Cheers.

     

     

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

     

    There you go, both of you :)

     

    I have added the "channel" keyword for showing a users YouTube videos and a configuration in top of youtube.py to show the view count in the subtitle. I can't really figure out if the view count should be enabled by default. Personally, I like to keep it simple.

     

    You can download the updated workflow here.

  2. The problem with this approach is that if the article in your language has a different name it will not work. 

    I added a second workflow and modified the python to search the articles in dutch. Both workflows use the same keyword. This will give you results in both languages. The only issue with this approach is that I'm getting 2 dutch results on top, then several english results and afterwards the dutch results continue.

     

    Schermafbeelding%202013-01-14%20om%2015.

     

    That's right. If the articles haven't got the same name, my approach will not work.

     

    I have modified your Feedback class a bit to also set the 'valid' and the 'autocomplete' options. I hope that's all right. I have uploaded it here.

  3. I can't get the autocomplete flag working. Am I doing something wrong or is this not supported yet? This is what I am doing.

    When an invalid result is chosen, the Alfred window will disappear.

    { "uid": "someUID",
       "title": "Demo Title",
       "subtitle": "",
       "valid": "no",
       "autocomplete": "Demo Title",
       "icon": "icon.png" }
  4. It's not added as a workflow after I rename the zip file to "filename.alfredworkflow". Am I missing something? :-)

     

    The ZIP archive is not right. Download the ZIP from GitHub, unpack it and open the folder it creates. Select the files icon.png and info.plist and compress those. Now, change the extension of your new archive to alfredworkflow.

  5. Hello,

     

    I quickly put together a workflow for controlling Tweetbot which I wanted to share  :)

     

    The workflow uses the Tweetbot URL scheme.

     

    Currently, the following commands are supported. Parameters in brackets are optional and parameters in square brackets are required. When an account name can be specified and none is specified, the current account will be used.

    • t (message) Posts a new tweet.
    • tt (account name) Shows the timeline of specified account.
    • tu [screen name] Shows the user profile of the user with the specified screen name.
    • tmm (account name) Shows the mentions for the specified account. (Note: This command is ‘tmm’ because by default OS X will replace ‘tm’ with ™)
    • tr (account name) Shows the retweets which appears in the accounts timeline.
    • tdm (account name) Shows the direct messages that the account has received.
    • tl (account name) Shows the lists that the account owns.
    • tf (account name) Shows the tweets the account has marked as favorited.
    • ts (account name) Searches using the specified account. (Note: Sadly this doesn’t seem to work with the ‘query’ parameter on OS X)
    • tfo [screen name] Follows the user with the specified screen name.
    • tun [screen name] Unfollows the user with the specified screen name.

    You can download it by following this link or grab the source code at GitHub.

     

    alfred-tweetbot-workflow.png

  6. That is correct. That will not work currently. However, I'm not sure I agree that it should be changed as that action is meant for searching. If you want to open a specific URL, you could just use an AppleScript.

     

    In the current version of Alfred 2.0 you can just add an AppleScript as action and set the contents of the ActionScript to:

    on alfred_script(q)
      open location q
    end alfred_script

    This only works if the URL contains http:// but you can make sure that's add in your trigger or modify the AppleScript to add it if necessary.

  7. Something I would like is if the icon parameter could take a URL to an image and load it asynchronously.

    Been working on an extension of the spotify workflow and it's search, and have Alfred showing album covers in the results, but would be nice not having to download and store the thumbs before returning the search results to Alfred.

     

    That would be very good to have.

  8. 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

  9. 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  :)

  10. 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

×
×
  • Create New...