Coder Social home page Coder Social logo

Comments (23)

gokadzev avatar gokadzev commented on May 28, 2024 1

no, only in the backup, that's why I can understand why it is repeated several times in the backup in favorites and in search history , more if I make the backup after delete all search history.

If it's only in backup file content and it doesn't affect data when you restore in the app, then there's nothing to worry about

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024 1

well I have a backup of 15 songs in favourites and it grow from 20kb to 600kb, why as much information about.
Its not possible use json or yaml instead of hive format to store backups?
It would more clear and really less space of storage

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024 1

ok thanks

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024 1

very nice to heard that
thank you very much

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024

same for me with android 13

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

It works, you just need to choose "Documents" folder, otherwise it won't work because of Android 13 restrictions.

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

In other thing when I make the backup in android 8 it works but the file have too much information. I deleted search history, cache and all, and it repeats the same line several times. https://pastebin.com/y1AZ2yAL This is the backup with 5 song marked favourite and after clean cache and search history

About that, don't edit backup content. it's not cache, the app doesn't backup cache, all these info are user and settings info.

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024

yes, but in other apps I have in android 13 when they need to store something it ask for permission to write in the folder and it writte without problem in any folder of the phone.
In other case I think @calatorius is refering that deleting history search and only having 5 songs is a lot of information repeated, I see the same template in my case. Why if history search is deleted appears repeated many times the same entry?

from musify.

calatorius avatar calatorius commented on May 28, 2024

Yes, I was refering at the amount of the same data repeated when I deleted the search history.
And like it said by @marcossmtp perhaps if the app get the permission of storage and not media it allows to choose the folder to download songs and backups.

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

About repeating data I need more information, because I really didn't understand the problem. About access on other folders too, I prefer to follow Android restrictions and give app control on folders according to the android rules, we already had some permission and download connected issues and I don't want to mess up things again.

from musify.

calatorius avatar calatorius commented on May 28, 2024

About repeating data I need more information, because I really didn't understand the problem. About access on other folders too, I prefer to follow Android restrictions and give app control on folders according to the android rules, we already had some permission and download connected issues and I don't want to mess up things again.

This two screenshots are after clear history search and the song destiny is all I have onlv added one time to favorites.
Screenshot_20230629-214355_MiXplorer
Screenshot_20230629-214438_MiXplorer

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

About repeating data I need more information, because I really didn't understand the problem. About access on other folders too, I prefer to follow Android restrictions and give app control on folders according to the android rules, we already had some permission and download connected issues and I don't want to mess up things again.

This two screenshots are after clear history search and the song destiny is all I have onlv added one time to favorites. Screenshot_20230629-214355_MiXplorer Screenshot_20230629-214438_MiXplorer

Does it show this song several time in the app after restoring this backup file too?

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024

no, only in the backup, that's why I can understand why it is repeated several times in the backup in favorites and in search history , more if I make the backup after delete all search history.

from musify.

calatorius avatar calatorius commented on May 28, 2024

yes its my case too

from musify.

calatorius avatar calatorius commented on May 28, 2024

ok, it was only curiosity about the reason of that.
Thanks

from musify.

calatorius avatar calatorius commented on May 28, 2024

i use mixplorer to edit the file, and the file is 21.3kb that matchs with the text that shows, and it would be too much for no history search and only 5 songs in favorites.
But I'm with you that if not affected at the app only all is ok.

from musify.

calatorius avatar calatorius commented on May 28, 2024

yes, I'm in the same oppinion.

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

I will definitely review the backup implementation and everything to check if I missed anything. If I find nothing, then I will think about a new solution.

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

Backed up 2 liked songs (+2 recently played songs), and the backup file is 1.39KB. It's possible that JSON or YAML files will be bigger than that due to additional symbols and other factors.

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

That's it, all necessary changes are made. Backup file size will be less than half of current file size in the next release.

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024

Backed up 2 liked songs (+2 recently played songs), and the backup file is 1.39KB. It's possible that JSON or YAML files will be bigger than that due to additional symbols and other factors.

json and yaml has the advantage of clear format to read it and can access your data more easier than with hiven database format, but probably it fill more space about symbols.
yaml is really a very human readable format.
But it was only a idea if database app continues with problems with the backup. Happy to heard that all is ok.
Thanks one more time

from musify.

gokadzev avatar gokadzev commented on May 28, 2024

Backed up 2 liked songs (+2 recently played songs), and the backup file is 1.39KB. It's possible that JSON or YAML files will be bigger than that due to additional symbols and other factors.

json and yaml has the advantage of clear format to read it and can access your data more easier than with hiven database format, but probably it fill more space about symbols. yaml is really a very human readable format. But it was only a idea if database app continues with problems with the backup. Happy to heard that all is ok. Thanks one more time

I'm sure it will lead to lots of problems, including instability and I/O issues. Otherwise, I would definitely consider this feedback and implement it. Since the whole app is working with this implementation without any major problems, it's better if we leave it as it is.

from musify.

marcossmtp avatar marcossmtp commented on May 28, 2024

Backed up 2 liked songs (+2 recently played songs), and the backup file is 1.39KB. It's possible that JSON or YAML files will be bigger than that due to additional symbols and other factors.

json and yaml has the advantage of clear format to read it and can access your data more easier than with hiven database format, but probably it fill more space about symbols. yaml is really a very human readable format. But it was only a idea if database app continues with problems with the backup. Happy to heard that all is ok. Thanks one more time

I'm sure it will lead to lots of problems, including instability and I/O issues. Otherwise, I would definitely consider this feedback and implement it. Since the whole app is working with this implementation without any major problems, it's better if we leave it as it is.

ok
the important thing is that things works not the method used to work.
So, It's nice that the backup now works correctly now.

from musify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.