Use Tasker to control Symfonium

I set up Tasker to trigger a library sync in Symfonium. As the documentation was not clear to me and as it took me some time to get it running, I want to share my configuration as an example so maybe it might be helpful for someone else to.

Link to the docs:

2 Likes

Thanks. I had been doing it through Autoinput manually.

I had similar issues with the documentation but ended up finally getting it to work. My settings look identical to yours but it still seems to be hit or miss if it actually runs or not. Often, I find the task doesn’t doesn’t run at all even after a few days (scheduled to run every 4 hours). Have you run into this issue at all?

I didn’t notice issues so far, but I don’t use it for very long yet. What exactly is not running? The Tasker task itself?
Does it fail only when it should run automatically, or also when running the task manually?

I can run manually. Just fails when it’s supposed to run automatically.

@vbs

What are you usually for your event trigger here .

I thought I had it working with the event “File Modified” using my music folder, but it won’t run consistently either.

Thanks

I am using it to run a sync every 24h like this:

But actually, I don’t really know if it works 100% of the cases. I tested it like 5 or 6 times (adding a favorite and checking the next day if it got synced to the phone). But hard to say if it is really bulletproof.

Ideally, it would work with the trigger “File Modified”, but that will only work if an entire folder is modified. I’ve tested it by moving individual files around, and it doesn’t work.

If I find a way to make that work, I’ll let you know, but for now, I’ll just stick with doing it manually with Autoinput. That one works flawlessly.

Which file(s) do you want to observe for modification exactly?

My use case is that I want changes done on the server (Jellyfin) to be synchronized to the phone.

Mine are just local files stored on my device…

/Music and the 139+ subfolders/subfolders/subfolders below

I did make changes this morning to the tags on about 40 files, and even though there wasn’t a folder change, I guess that was a big enough mod to the folder mod event trigger in Tasker that it did automate the sync.

But additions to the library one at a time, will never trigger.

You know, in further testing this morning, I don’t think this api call works at all.

I added a new music file manually, and ran this intent manually, and then looked in the smartlist “Recently Added” and no new files.

Running the sync manually added the file, just as it should have to the Recently Added…

Test yours manually, and see if you can confirm?

When I run the API call and then switch over to Symfonium, I can see it running the sync.

Btw: some client actions (e.g. flagging a favorite) on the device do not need a resync for me. Flagging a favorite does appear instantly on the server without manual interaction.
I never tagged files on my phone, tho.

Perhaps this works differently local device compared to a media server…

All I know is when I add a song, and I run that api, I’d expect to see that song refreshed on Symfonium’s DB, and I don’t see it.

Anyway, as I said, running it with tasker and auto input is bulletproof.

Thanks

If only there was a way to open issues with logs and details :wink:

Alright, alright, we were just having a nice discussion, and here you are!! :slight_smile:

I’ll open an issue, Mr. Developer!! :slight_smile:

Bit of a related question - from my testing, it seems I need to grant Tasker permission to run both user-defined and its own tasks, in order for the sync call to work.

Does that sound right? And is it a security risk at all?

Been running it for a while with no issues. I think Tasker is probably one of the most upfront about how it uses your data of all apps you could work with.

I’m sure the app in and of itself is fine, I was more questioning whether it really did need the permission to run its own tasks as well as user-defined ones - and whether that could be opening a possible attack vector for 3rd parties.

Trying to use the new API call to sync playlist Thumbnails, and no joy.

Anyone here kindly look and see if I have something basically wrong in my tasker setup?

Thanks