Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

help with curl needed

Featured Replies

Hi guys,

 

I am running plex on unraid successfully.

 

I use xbmc for local, and plex for remote playback. And I use trakt.tv to synchronize the watch status between the two.

 

The only issue I am having is that the trakt.tv plugin in plex does not have scheduled runs. I am trying to achieve that through curl as a cronjob.

 

I can run a trakt.tv sync by using the following link (took it from the plex web interface, replaced sensitive info with x's): http://192.168.1.xx:32400/web/index.html#!/servers/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/channels?key=%2Fapplications%2Ftrakttv&path=%2Fapplications%2Ftrakttv%2Fmanuallytrakt

 

Can a linux guru help me run this through curl so I can scheudle sync jobs? (If I simply paste it into a browser, it works)

 

When I try to do "curl http://192.168.1.xx:32400/web/index.html#!/servers/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/channels?key=%2Fapplications%2Ftrakttv&path=%2Fapplications%2Ftrakttv%2Fmanuallytrakt" I get the following error: "-bash: !/servers/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/channels?key=%2Fapplications%2Ftrakttv: event not found"

 

Thanks

you need to wrap the curl in quotes or escape the special characters used by the shell.

  • Author

Thanks

 

I had kept trying to wrap it in double quotes and kept getting the error

 

single quotes worked.

 

However, I guess the page requires javascript and curl doesn't do js

 

Thanks

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.