Jump to content

ExternalUrls not modified


PlutoIsAPlanet
Go to solution Solved by Luke,

Recommended Posts

PlutoIsAPlanet

Hi,

I'd like to wipe the external URL links from songs contained in a certain folder, as some are invalid (here's an example with a fake link):

image.png.8000e620c00b6140cde46640a9c9b5da.png

In the metadata:

image.png.f2e3b157a551737d4a8a44dbebeafec3.png

and reassign them after retrieving the correct data.

It seems, that the data is not getting updated and it doesn't matter if I post an emtpy array or modified data.
The item itself is getting updated, see the name of the song before:

image.png.7892d987787dcf755088c7a1abe482f7.png

and after posting the JSON (with the modified name and empty ExternalURLs array) using the method PostItemsByItemid

image.png.6760305a1425eabcf6620df40dc5229f.png

the result:

image.png.2cd33efc7462e9d8c4790f549cd24977.png

The external URL is still there. I tried modifying the existing URL:

image.png.a9e167762cdd92d242c529513df6e623.png

The original link is unchanged. Any ideas?

Link to comment
Share on other sites

PlutoIsAPlanet
14 hours ago, Luke said:

Hi, try updating the providerids instead.

Good morning Luke, that did the trick. Thank you 👍

It seems, like the ExternalURLs property is set, based on the ProviderIds content.
As the ExternalURLs also had a setter, I assumed that I could assign as such - I didn't see the connection between the two properties.

Have yourself a great weekend!

  • Thanks 1
Link to comment
Share on other sites

Quote

It seems, like the ExternalURLs property is set, based on the ProviderIds content.

Yes that is correct.

Link to comment
Share on other sites

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