Skip to main content
Topic: foo_onewaysync (Read 40019 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_onewaysync

Reply #250
@theroelr issue is fixed with version 0.6.3

@daihen: Judging from your post it is for the greater good to remove this component: To delete files copied onto your device with this component check the 'delete unreferenced files' option and run the sync command. Then empty the synced playlists and sync again.

Re: foo_onewaysync

Reply #251
As awesome as it is I do not like the fact that I cannot copy all the files to the same folder; I mean they are separated by artist even if I titleformat only with _path. Good work indeed, anyway.
Yes, the avatar it is the cover of «The City» by Vangelis.

Re: foo_onewaysync

Reply #252
Works for me. %_path% might contain subfolders already! Instead try something like
Code: [Select]
%artist% - %title%
if you want to put all files in same folder. Also, disable the 'Create subfolder for each task' option.

Re: foo_onewaysync

Reply #253
Just discovered this component and it's great! One suggestion: add an option to include DSPs in a task.

Re: foo_onewaysync

Reply #254
Can't seem to get the "Delete unreferenced files" option to work at all, I still end up with the old files not on the playlist not being deleted at all.

Also how do I format filenames with spaces in them?
I want to get a format such as "track. artist - title" which I can do fine elsewhere in foobar, but in OWS filenames seem only scripted up to the first script element
ie for the above I would normally use "%track%. %artist% - %title%" but in OWS it results in a filename of eg "01.mp3".
If i use the %filename% script I get double "filename.mp3.mp3" but without the leading "tracknumber." even if it had one in the filename"



Re: foo_onewaysync

Reply #255
You helped fix an issue I was having once before, but now I am having a different issue, and I have no idea what is causing this,

Basically, what happens is this:
I want to sync a playlist with 97 songs in it, and have onewaysync start doing so. It begins converting the files and I can see them in the windows %temp% directory as
Code: [Select]
OWS1CA8.tmp.m4a
OWS1CD8.tmp.m4a
OWS1D27.tmp.m4a
OWS2DB6.tmp.m4a
OWS2DE6.tmp.m4a
OWS2E54.tmp.m4a
OWS3ACC.tmp.m4a
...
etc.

However, the strange thing is that about halfway into the sync, many of the .tmp.m4a files in the windows temp directory begin disappearing, before all of the songs have even been converted,
Therefore, only 36 of the 97 songs get synced, with the rest generating the following errors in two different error windows:
Code: [Select]
Could not load info (Object not found) from:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS1CA8.tmp.m4a"
Could not load info (Object not found) from:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS1CD8.tmp.m4a"
Could not load info (Object not found) from:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS1D27.tmp.m4a"
Could not load info (Object not found) from:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS2130.tmp.m4a"
...
etc
and
Code: [Select]
Could not update tags (Object not found) on:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS1CA8.tmp.m4a"
Could not update tags (Object not found) on:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS1CD8.tmp.m4a"
Could not update tags (Object not found) on:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS1D27.tmp.m4a"
Could not update tags (Object not found) on:
"C:\Users\Jmaeshawn\AppData\Local\Temp\OWS2130.tmp.m4a"
...
etc

I also tried a test sync using the mp3 conversion that is default with onewaysync, but have the same issues with it.

I'm guessing these errors are caused by the files that are in the %temp% directory disappearing before onewaysync has finished processing them, but do you know why this is happening now, even though it was working just fine before?

The only thing that's changed since the last time I synced is that there was a windows update that updated me to the latest Windows 10 build (I'm now on "Version 1803 OS Build 17134.228").

Would the Windows update cause this problem with onewaysync to suddenly arise, somehow? I updated the component to the latest 0.6.3a build just to see if it was some sort of compatibility issue between the new windows version and the previous version of onewaysync that I was using, but the problem remained.

Please help me with this. Thank you in advance.

Re: foo_onewaysync

Reply #256
@Erratic it works for me. Can you post the console log. Enable the 'Print additional debug info to console' option.

Re: foo_onewaysync

Reply #257
@jmaeshawn never seen this behavior. Maybe your harddrive is almost full, and windows starts to delete files in temp folder by itself?

Re: foo_onewaysync

Reply #258
@zimjo: I hadn't thought of that, but I think that may have been the problem...

In my case, my C:\ drive is a small 128GB SSD, which only had 10GB left on it. Because the windows %temp% directory defaults to the C: drive, it looks like files were getting deleted because of how onewaysync makes a copy of all 97 of the flac files, plus the completed converted mp3 or m4a files in the %temp% directory.

One thing that would help prevent things like this (for other people like me who use small SSDs as their system drive) would be if you added an option in the onewaysync settings so that a user could specify a path where the temporary files get stored. That way, a user could set the temp files to go to any directory they want to, otherwise onewaysync would default to "C:\Users\Name\AppData\Local\Temp" as usual if the user did not specify a different directory

Is it possible for you to add such an option?

Re: foo_onewaysync

Reply #259
Deactivate the Win10 feature 'storage sense'. This should fix your issue for now. I'll think about a better solution for future releases, such that you can reactivate it.

Re: foo_onewaysync

Reply #260
I didn't even know there was a "Storage sense" setting in Windows 10. Thank you for letting me know about it. I turned it off, and also turned off a seemingly related setting I found right under the Storage sense setting, labeled "Delete temporary files that my apps aren't using".

This seems to be a good temporary workaround for the problem, but I hope you can come up with a better, long-term solution for this, since I'm sure everyone else with similar setup as me (SSD users or people with smaller HDDs) will appreciate having this fixed, too.

Thank you in advance for your work.

Re: foo_onewaysync

Reply #261
As awesome as it is I do not like the fact that I cannot copy all the files to the same folder; I mean they are separated by artist even if I titleformat only with _path. Good work indeed, anyway.

Now we're talking! It copied all the files but if I am not wrong I can not press a playlist and then just copy the files. I must create a different task for different playlists, isn't? Thanks and regards.
Yes, the avatar it is the cover of «The City» by Vangelis.

Re: foo_onewaysync

Reply #262
You can, using the context menu command. You can also select multiple playlists per task.

Re: foo_onewaysync

Reply #263
Hi again, I am creating the wiki page of the component. I do not know if maybe you can revise the text before sending it or if you do not want any wiki. I have several questions. before sending it. I can post them here or send by PM. Regards.
Yes, the avatar it is the cover of «The City» by Vangelis.

Re: foo_onewaysync

Reply #264
Great idea! Post here or PM me, whatever you prefer.

Re: foo_onewaysync

Reply #265
*'''Save lossy files at lossless source path''':
The exact meaning and what is the point?

*'''Convert lossless files''':
What is the point?

*'''Show files removed since last sync''': the files that were removed after the previous sync will be added to a special playlist
On Foobar?

*'''Delete unreferenced files''':
Files that are not check to copy on the next sync will be erased on the destination device?

*'''Import files from device''':
Are they not already transferred?

*'''Delete files after successful import''':
Where and what is the point? Maybe if you do not want them on Foobar and you are only transferring them with the intention of erasing them after is done?

I hope they are not too complicated I have only to fix those things to finish the Wiki. Regards and thanks.
Yes, the avatar it is the cover of «The City» by Vangelis.

Re: foo_onewaysync

Reply #266
*'''Save lossy files at lossless source path'''
Stores converted files, so they do not need to be converted again. Useful for machines with weak CPU but lots of storage.

*'''Convert lossless files''':
What is the point?
Converting e.g. flac to mp3 or opus saves lots of storage space. If you have lossless files, such as e.g. flac, you probably do not need the same quality on your mobile player. Enabling this option will make OWS convert lossless files to another format, using the specified encoder in ows settings.

*'''Show files removed since last sync''': the files that were removed after the previous sync will be added to a special playlist
On Foobar?
Files deleted at the target location will be added to a special foobar playlist.

*'''Delete unreferenced files''':
Files that are not check to copy on the next sync will be erased on the destination device?
That is right.

*'''Import files from device''':
Are they not already transferred?
This is for people that use their device also as usb stick, or maybe the device is a mobile phone and they want to import images...  One can specify a general folder on the device and files within that folder will be copied. This can be any type of file, totally unrelated to foobar.

*'''Delete files after successful import''':
Where and what is the point? Maybe if you do not want them on Foobar and you are only transferring them with the intention of erasing them after is done?
See answer above.

Re: foo_onewaysync

Reply #267
Thanks; I will post the Wiki when done, I have to do a last couple of checks.
Yes, the avatar it is the cover of «The City» by Vangelis.


Re: foo_onewaysync

Reply #269
Hello,

First off, this plugin is an absolute godsend! Does everything foo_dop did, just for other devices! I thank you very much for creating it :)
I have a few questions regarding the plugin:
1. Is there a way to see a log of all the changes that were made in a sync? It would be very useful to me
2. For some reason, when converting files, once a folder has a question mark or a dot (could happen in more cases, those are the only ones I've seen so far) it would replace them with an underscore, unlike foobar's file operations feature, The question marks I can somewhat understand because they're an "illegal" character in folder names, but why replace the dots? As far as I know they're not illegal (as file operations can and does create folders with dots in the name)…

Thanks for all your work, and thanks in advance for any help regarding those questions :)

Re: foo_onewaysync

Reply #270
The closest thing to a log is what is written to the console. You can make this log more verbose in OWS's settings.
Regarding char replacement: Dots are replaced if they are the last character in a folder or if they are directly after a space. Also three subsequent dots are replaced.

Re: foo_onewaysync

Reply #271
Thanks tipar!  :D  If you don't mind I will share the link and credit you in the first post.

Re: foo_onewaysync

Reply #272
The closest thing to a log is what is written to the console. You can make this log more verbose in OWS's settings.
Regarding char replacement: Dots are replaced if they are the last character in a folder or if they are directly after a space. Also three subsequent dots are replaced.

Thanks for the reply!
For some reason I didn't notice the "additional debug info" option in the settings.
I assume there is no way to change how the chars are replaced without modifying the source code, right?

 

Re: foo_onewaysync

Reply #273
Why do you need to change how chars are replaced?
You're right, it cannot be done without modifying source code.

Re: foo_onewaysync

Reply #274
Why do you need to change how chars are replaced?
You're right, it cannot be done without modifying source code.

Well... I have some albums / songs with question marks and three subsequent dots in their titles, so I would have liked to have them similarly named to how foobar's file operations feature names them (as that's the standard for me and the way I've been using to sort my music accordingly until I came across your plugin).


 
SimplePortal 1.0.0 RC1 © 2008-2018