Jump to content

How to transfer favourites


Painkiller8818
 Share

Recommended Posts

Painkiller8818
1 hour ago, Luke said:

Hi, you can create a backup and then restore user data to a different user:

I don't wanna overwrite the whole playstates etc, i only wanna transfer the live tv favourites (also not the movie favourites)

 

so when i look at the text, i think this is not what i want and not really helpful:

 

grafik.png.e66e6f916ffe2fb7d310dd9709df6031.png

Link to comment
Share on other sites

Only way I can think of is hacking the backup userdata.  Copying your "isFavorite: true," items from your userdata to their userdata then Restore that users userdata.

I beautified the file to make it easier with a js plugin in notepad++.

Example I copied from one to another.

    }, {
        "Key": "309053",
        "PlaybackPositionTicks": 0,
        "PlayCount": 0,
        "IsFavorite": true,
        "HideFromResume": false,
        "Played": false,
        "RatingLastModified": "2021-01-28T01:56:16.0000000+00:00",
        "PlaystateLastModified": "2021-01-28T01:56:16.0000000+00:00"
    }

So depending on how many items you are talking about this can be a little bit of work.  But honestly do not know how the "Key" corresponds to actual item.

Link to comment
Share on other sites

Painkiller8818
10 hours ago, Happy2Play said:

Only way I can think of is hacking the backup userdata.  Copying your "isFavorite: true," items from your userdata to their userdata then Restore that users userdata.

I beautified the file to make it easier with a js plugin in notepad++.

Example I copied from one to another.

    }, {
        "Key": "309053",
        "PlaybackPositionTicks": 0,
        "PlayCount": 0,
        "IsFavorite": true,
        "HideFromResume": false,
        "Played": false,
        "RatingLastModified": "2021-01-28T01:56:16.0000000+00:00",
        "PlaystateLastModified": "2021-01-28T01:56:16.0000000+00:00"
    }

So depending on how many items you are talking about this can be a little bit of work.  But honestly do not know how the "Key" corresponds to actual item.

Ok thanks, i thought it would work out of the box but ok, i will check your suggestion and also will look in the database, maybe i can copy this with sql

Link to comment
Share on other sites

  • 5 months later...
svyaznoy362

Добрый день. Где хранится файлы избранного. У меня был сервер на debian себе сохранил все данные , резервное копирование не делал, сейчас сервер на synology , как мне восстановить избранное.

Link to comment
Share on other sites

8 hours ago, svyaznoy362 said:

Добрый день. Где хранится файлы избранного. У меня был сервер на debian себе сохранил все данные , резервное копирование не делал, сейчас сервер на synology , как мне восстановить избранное.

Hi, please take a look at our backup guide and let us know if this helps:

https://support.emby.media/support/solutions/articles/44001159936-backup

Thanks.

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
 Share

×
×
  • Create New...