Jump to content

Alfred Plex Workflow


Recommended Posts

Hello folks !

 

I am super happy to share with you my last project. This workflow allows you to search your media on plex using the API and perform actions on servers. If you want to know more, go to the Github repo https://github.com/BenjaminOddou/alfred-plex

List of dependencies : Python 3.6 and optionally VLC

 

Don't hesitate to share your feedbacks and thoughts 🙂

vlc.gif

Edited by BenjaminO
Link to comment
  • 7 months later...
  • 4 weeks later...

I am also having this issue. Here's the output from the debugger console. Not seeing an obvious error but I'm not a programmer. Thanks!

 

[14:32:36.424] Plex[Script Filter] Queuing argument '(null)'

[14:32:36.444] Plex[Script Filter] Script with argv '(null)' finished

[14:32:36.445] Plex[Script Filter] {"items": [

    {

        "title": "Plex Search",

        "subtitle": "Search medias throughout your servers",

        "arg": "_rerunSearch",

        "icon": {

            "path": "icons/base/folder.webp"

        }

    },

    {

        "title": "Plex Discover",

        "subtitle": "Search medias using discover",

        "arg": "_rerunDiscover",

        "icon": {

            "path": "icons/base/discover.webp"

        }

    },

    {

        "title": "Plex Accounts",

        "subtitle": "Manage your plex accounts",

        "arg": "_rerunAccounts",

        "icon": {

            "path": "icons/base/people.webp"

        }

    },

    {

        "title": "Plex Media Servers",

        "subtitle": "Manage servers and perform actions",

        "arg": "_rerunServers",

        "icon": {

            "path": "icons/base/servers.webp"

        }

    },

    {

        "title": "Plex Presets",

        "subtitle": "Manage presets to rapidly search medias",

        "arg": "_rerunPresets",

        "icon": {

            "path": "icons/base/preset.webp"

        }

    },

    {

        "title": "Plex Help",

        "subtitle": "Workflow configuration + filter & sort options",

        "arg": "_rerunHelp",

        "icon": {

            "path": "icons/base/help.webp"

        }

    }

]}

[14:32:39.428] Plex[Script Filter] Processing complete

[14:32:39.431] Plex[Script Filter] Passing output '_rerunAccounts' to Conditional

[14:32:39.431] Plex[Conditional] Processing complete

[14:32:39.432] Plex[Conditional] Passing output '_rerunAccounts' to Call External Trigger

[14:32:39.432] Plex[External] Processing complete

[14:32:39.432] Plex[External] Passing output '' to Arg and Vars

[14:32:39.432] Plex[Arg and Vars] Processing complete

[14:32:39.432] Plex[Arg and Vars] Passing output '' to Script Filter

[14:32:39.444] Plex[Script Filter] Queuing argument '(null)'

[14:32:39.641] Plex[Script Filter] Script with argv '(null)' finished

[14:32:39.642] Plex[Script Filter] {"items": [{"title": "Return", "subtitle": "Back to the Menu", "arg": "_rerunMenu", "icon": {"path": "icons/base/return.webp"}}, {"title": "Connect a new plex account", "subtitle": "Add a plex account and the connected plex media servers", "arg": "_rerun;None;1;new;None", "icon": {"path": "icons/base/new.webp"}}]}

[14:32:40.929] Plex[Script Filter] Processing complete

[14:32:40.934] Plex[Script Filter] Passing output '_rerun;None;1;new;None' to Split Arg

[14:32:40.935] Plex[Split Arg] Processing complete

[14:32:40.935] Plex[Split Arg] Passing output '_rerun;None;1;new;None' to Conditional

[14:32:40.935] Plex[Conditional] Processing complete

[14:32:40.935] Plex[Conditional] Passing output '_rerun;None;1;new;None' to Replace

[14:32:40.935] Plex[Replace] Processing complete

[14:32:40.935] Plex[Replace] Passing output 'None;1;new;None' to Call External Trigger

[14:32:40.935] Plex[External] Processing complete

[14:32:40.935] Plex[External] Passing output 'None;1;new;None' to Arg and Vars

[14:32:40.936] Plex[Arg and Vars] Processing complete

[14:32:40.936] Plex[Arg and Vars] Passing output '' to Script Filter

[14:32:40.941] Plex[Script Filter] Queuing argument '(null)'

[14:32:41.202] Plex[Script Filter] Script with argv '(null)' finished

[14:32:41.203] Plex[Script Filter] {"items": [{"title": "Return", "subtitle": "Back to the Menu", "arg": "_rerunMenu", "icon": {"path": "icons/base/return.webp"}}, {"title": "Connect a new plex account", "subtitle": "Add a plex account and the connected plex media servers", "arg": "_rerun;None;1;new;None", "icon": {"path": "icons/base/new.webp"}}]}

[14:32:44.563] Logging Started...

Link to comment

Hello @Aadako and @pbnjamguy, many thanks for your feedbacks. I just fixed this bug in the v2.2.2. It seems that when I implemented the new connection methods in the v2.2.0, I forgot to include the logic when no accounts.json was not found (happening on a fresh start). Please let me know if it is working on your side.

 

Link yo the new version : https://github.com/BenjaminOddou/alfred-plex/releases/tag/v2.2.2 (it should be updated soon in the Alfred Gallery)

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...