### Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
0 Members and 1 Guest are viewing this topic.

## Re: foo_onewaysync

##### Reply #300 – 2019-08-15 05:12:57
Decoding of the original flac file (D:\Music\FLAC\2019\Captain Kirk\Jurassic Dark [EP]\02 - Katvealue.flac) failed. Without looking at the file I can not say more. Can you upload the file somewhere for further analysis? Maybe send me the link via PM.

I have uploaded the file, I will send it to you in a PM.

I reinstalled the stable version of foobar and tried this test again. The console does contain more information when Im using 1.4 which may be of help! I tested this with two different encoders (which are working with the same switches from cmd.exe), and also tried testing it against a local harddrive (to rule out any android/mtp related issues). For some reason %in% and %out% are not passing the paths/filenames? Maybe I am using a conflicting extension?

Console Output using LAME

foo_ows: Using encoder lamev0 with file ext mp3
encoder cmd line c:\tools\lame\lame.exe --vbr-new -h -V 0 -r -s %sr% %in% %out%
foo_ows: Converting file. Commandline: c:\tools\lame\lame.exe --vbr-new -h -V 0 -r -s 44100  ""  ".mp3"
foo_ows: Error: Conversion thread exit code -1. Converter output follows:
Could not find ".mp3".
Can't init infile '.mp3'

Console Output using oggenc2

foo_ows: Using encoder OGG with file ext ogg
encoder cmd line c:\tools\oggenc2.exe  -q 5 --raw --resample %sr% %in% %out%
foo_ows: Converting file. Commandline: c:\tools\oggenc2.exe  -q 5 --raw --resample 44100  ""  ".ogg"
foo_ows: Error: Conversion thread exit code -1073741819. Converter output follows:
foo_ows: End of converter output

## Re: foo_onewaysync

##### Reply #301 – 2019-08-23 20:28:16
Converting the file works for me with foobar v1.3.5. I can not reproduce the issue.
The flac is decoded to a temporary file. After that the temporary file is passed to the encoder (such as lame, oggencode etc.). In your case, the temporary file was not generated. This can happen if the file is faulty, but this is not the case.
Please make sure that your computer is running stable, and is not low on hard drive space or RAM.

## Re: foo_onewaysync

##### Reply #302 – 2019-08-24 19:05:40
Very odd.

I re-imaged my laptop and reinstalled foobar2k + components from scratch.. seems to work now.

## Re: foo_onewaysync

##### Reply #303 – 2019-08-25 14:39:32
Doe's OWS work with portable version of fb2k? When I want to convert flac files, I get Could not load info (Object not found) from: "C:\Users\marek\AppData\Local\Temp\OWS3F56.tmp.mp3" and  Could not update tags (Object not found) on: "C:\Users\marek\AppData\Local\Temp\OWS3F56.tmp.mp3" errors. Could I change location of temp files to my portable folder or somewhere else?

## Re: foo_onewaysync

##### Reply #304 – 2019-08-31 10:49:53
Sounds like this issue, see here for a solution.

## Re: foo_onewaysync

##### Reply #305 – 2019-08-31 23:39:09
Ok, today I have used this very helpful plugin for the first time. And it works for me. Nice! Thank you zimjo!
One thing is confusing for me (maybe because of my insufficient linguistic level)... - the syntax for title-formatting scripts.
I would like to set the plugin so it changes the tracknumbers in the destination-folder (single folder) exactly like the order in the playlist - starting from 001 up to n. Have I explain understandably?
My question: is this possible with a script?
My used "Various Artists\%track% - %artist% - %title%.$ext(%_path%)" in the section "Tasks" works to that effect that the tracknumbers of the generating files all have numerics like its position on the albums. Thank you!! ## Re: foo_onewaysync ##### Reply #306 – 2019-09-01 18:01:37 What you are looking for is called %list_index%, see here. Unfortunately, it only works in playlist view, but NOT in OWS. ## Re: foo_onewaysync ##### Reply #307 – 2019-09-01 19:26:48 Ok. Is there a possibility to integrate the functionality in OWS? Otherwise we must re-tag all the files after the conversion for a correct playback in specified order. If I alone with the problem then maybe it would be more trouble than it's worth..... ## Re: foo_onewaysync ##### Reply #308 – 2019-09-01 19:56:08 The component generates a playlist at the target location. ## Re: foo_onewaysync ##### Reply #309 – 2020-01-23 21:43:05 Release 0.6.4 hopefully fixes these issues for good Unfortunately I'm having these same issues with version 0.6.4. It worked initially but now only works with very small playlists, not sure why. Temp files are deleted part way through conversion. ## Re: foo_onewaysync ##### Reply #310 – 2020-01-26 18:56:30 Check available space on your harddrive and also these settings from windows: 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". ## Re: foo_onewaysync ##### Reply #311 – 2020-03-05 21:48:53 First, thanks zimjo for the awesome plugin. Only wish I had found this sooner! I had some trouble figuring out how to use Opus, so hopefully this will help someone. To use opus, you must have "--raw" included as an option. For example: "C:\Program Files (x86)\foobar2000\encoders\opusenc.exe" --raw --bitrate 96 %in% %out% There is a minor issue using Opus though. A warning appears because sample rate is missing, but Opus does not require it, since it always uses 48kHz. The warning comes in two places: - console while converting: "foo_ows Warning: Sampling rate not specified during encoding! Please add %sr% to your encoder setting." - pressing OK after using "Edit Encoder": "Warning: Sampling rate not specified. Please add %sr% to encoder command, e.g. for lame '-s %sr%'. Not a big deal issue since it does not interfere with functionality at all. If converting a lot of tracks though, the entire console is filled with warnings. Thanks again! ## Re: foo_onewaysync ##### Reply #312 – 2020-03-28 11:42:33 Glad you find it helpful From the opusenc documentation: Quote --raw-rate N Set sampling rate for raw input (default: 48000). opusenc assumes raw input to have a samplerate of 48kHz. So, if the original file has a different sample rate, such as 44.1kHz or 96kHz, the resulting opus file will have wrong pitch. In your example the command line should read Code: [Select] "C:\Program Files (x86)\foobar2000\encoders\opusenc.exe" --raw --raw-rate %sr% --bitrate 96 %in% %out% ## Re: foo_onewaysync ##### Reply #313 – 2020-03-28 18:48:55 Ah now it makes sense. Everything I read said it always uses 48kHz, and people suggested not to mess with it, but now I realize that's only for the output. Also at least some of online documentation seems to be missing the --raw-rate option, but now I see it checking the actual opus help options from the command line. I already did that before but I must have overlooked it. It was "working" even without sample rate being specified, but who knows what it was doing. Thanks again! ## Re: foo_onewaysync ##### Reply #314 – 2020-05-12 15:03:52 Hi. I have been using Foobar with the iPod Manager for years to sync with my iPod. Now, I have a Samsung Galaxy A51. I was wondering if this plug-in could synchronize my music collection to my phone? And/or is there a better way to do this? ## Re: foo_onewaysync ##### Reply #315 – 2020-05-15 17:23:50 Been using this for quite a while alongside Syncthing for putting files onto my phone. One pretty major reoccurring problem I face is that the wrong album art gets applied to entire albums at a time Updated a few weeks ago when I lost my output drive, continues to happen on clean exports My first look at this before I purchase MediaMonkey or some other commercial software. What is SyncThing? ## Re: foo_onewaysync ##### Reply #316 – 2020-07-17 16:57:50 Hi, trying to familierize myself with fb2k for syncing SD / usb cards for my car. I tried the monkey thing for a while, but it was sketchy. OWS looks like the ticket. I have it syncing, but I also want it to remove things I take out of my playlist. I have Delete unreferenced files checked and Show files removed since last sync checked. But, the files removed from the playlist remain in the destination after additional syncs. So, I check the log, and right after the last song copy, I notice: Deleting temporary files. foo_ows: Finished task 'New Task'. foo_ows: Reading from db. foo_ows: SQL error: no such table: OWS foo_ows: Attempting to copy file to foo_ows: Error: File not found Deleting temporary files. foo_ows: Done with command 'truck_sd_test'. foo_ows: Found 2 WPD devices. foo_ows: Found storage object 64sd\F: foo_ows: Found storage object Zune\Storage The two errors caught my attention. I'm not writing to the SD or the Zune. Truck-test just goes to a folder for testing purposes... OWS is 0.6.4, fb2k is 1.5.5 ## Re: foo_onewaysync ##### Reply #317 – 2020-07-20 02:47:19 Anyone have an idea about the errors? Maybe an idea why the unreferenced files weren't removed? ## Re: foo_onewaysync ##### Reply #318 – 2020-07-25 15:30:42 To my understanding, OWS converts music files into a temporary file and copies it all to the destination folder at the end of the operation (or in a similar sense). However, when an issue occurs or the destination device disconnects, the operation freezes or terminates prematurely, rendering all progress for naught. Is it possible to convert each file directly to the destination instead, like the default converter? ## Re: foo_onewaysync ##### Reply #319 – 2020-09-06 08:47:32 Quote from: g13092 foo_ows: Reading from db. foo_ows: SQL error: no such table: OWS Anyone have an idea about the errors? Maybe an idea why the unreferenced files weren't removed? The feature requires the database to be present. In your case the database is not found or empty. Probably because you moved the files without moving the database. ## Re: foo_onewaysync ##### Reply #320 – 2020-09-06 09:03:40 To my understanding, OWS converts music files into a temporary file and copies it all to the destination folder at the end of the operation (or in a similar sense). However, when an issue occurs or the destination device disconnects, the operation freezes or terminates prematurely, rendering all progress for naught. Is it possible to convert each file directly to the destination instead, like the default converter? What action do you expect upon removal of device? OWS copies all files belonging to one playlist in one go. I do not have the time nor the motivation to change this at the moment. As conversion is done very quickly by CPUs nowadays, this is also not a big issue. What is slow about OWS is copying to WPD devices and updating tags on normal devices. Nevertheless, all playlists that finished syncing before an interruption will be present at the destination. ## Re: foo_onewaysync ##### Reply #321 – 2021-02-11 14:34:28 Quote from: g13092 foo_ows: Reading from db. foo_ows: SQL error: no such table: OWS Anyone have an idea about the errors? Maybe an idea why the unreferenced files weren't removed? The feature requires the database to be present. In your case the database is not found or empty. Probably because you moved the files without moving the database. I have the same issue, but the database file does exist and is not empty (several kb). Copying files to the destination (my phone) works, but reading that file doesn't seem to. I just installed the component and everything worked right away, except for the file deletions after I remove things from the playlist. I did not move any files, and 'Delete unreferenced files' is checked. I tried removing the files from the destination manually and then re-sync but it still doesn't work. I'm using Windows 7. Log: foo_ows: Attempting to copy file wpd:\HTC One X\Internal storage\Music Sync\.ows_HTC.sqlite to C:\Users\MyName\AppData\Local\Temp\OWS65DC.tmp.sqlite foo_ows: Error: File not found wpd:\HTC One X\Internal storage\Music Sync\.ows_HTC.sqlite foo_ows: Syncing 'SYNC' to wpd:\HTC One X\Internal storage\Music Sync\%artist%_%album%_%discnumber%%tracknumber%. %title%.$ext(%_path%)
foo_ows: Using encoder lame with file ext mp3
encoder cmd line "D:\path\to\lame.exe" --vbr-new -h -V 4 -r -s %sr% %in% %out%
foo_ows: Attempting to copy file D:\Music\blahblahblah1.mp3 to wpd:\HTC One X\Internal storage\Music Sync\blahblahblah1.mp3
(...)
foo_ows: Attempting to copy file D:\Music\blahblahblah99.mp3 to wpd:\HTC One X\Internal storage\Music Sync\blahblahblah99.mp3
foo_ows: Attempting to copy file C:\Users\MyName\AppData\Local\Temp\OWS685D.tmp.m3u to wpd:\HTC One X\Internal storage\Music Sync\SYNC.m3u
Deleting temporary files.