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

Re: foo_onewaysync

Reply #300
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
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
Very odd.

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

Re: foo_onewaysync

Reply #303
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
Sounds like this issue, see here for a solution.

Re: foo_onewaysync

Reply #305
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
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
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
The component generates a playlist at the target location.

Re: foo_onewaysync

Reply #309
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
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
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
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
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
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
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?

 
SimplePortal 1.0.0 RC1 © 2008-2020