Help - Search - Members - Calendar
Full Version: foo_sendtodevice
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4
cwbowron
QUOTE(Fest @ Mar 31 2007, 12:38) *

QUOTE(cwbowron @ Mar 30 2007, 21:23) *

whats your lame command line look like?


C:\Programs\Foobar\Lame\lame.exe" --vbr-new -V 0


Is that exactly what you have, because you seem to be missing a " at the begininng.
John Doe
bug with folder names including brakets "[]"?

recreate:
- name a folder "[folder 01]"
- inside create another folder "folder 02" without brakets
- point foo_sendtodevice to that folder (D:\[folder 01]\folder 02\)
- send a file to "folder 02"

> in my case foo_sendtodevice created a new folder in the root directory ignoring the "[folder 01]" (D:\folder 02\filename.ext).

Can anyone confirm this?


JD
kabuki
QUOTE(John Doe @ May 9 2007, 13:23) *

bug with folder names including brakets "[]"?

recreate:
- name a folder "[folder 01]"
- inside create another folder "folder 02" without brakets
- point foo_sendtodevice to that folder (D:\[folder 01]\folder 02\)
- send a file to "folder 02"

> in my case foo_sendtodevice created a new folder in the root directory ignoring the "[folder 01]" (D:\folder 02\filename.ext).

Can anyone confirm this?

JD

I can confirm this...

then, I've tried with D:\'['folder1']'\folder2\filename.ext and it works like you want.
zachastrife
QUOTE(kabuki @ May 9 2007, 13:47) *

QUOTE(John Doe @ May 9 2007, 13:23) *

bug with folder names including brakets "[]"?

recreate:
- name a folder "[folder 01]"
- inside create another folder "folder 02" without brakets
- point foo_sendtodevice to that folder (D:\[folder 01]\folder 02\)
- send a file to "folder 02"

> in my case foo_sendtodevice created a new folder in the root directory ignoring the "[folder 01]" (D:\folder 02\filename.ext).

Can anyone confirm this?

JD

I can confirm this...

then, I've tried with D:\'['folder1']'\folder2\filename.ext and it works like you want.

Well. It is perfectly normal behavior so just do as kabuki said.

(in foobar titleformatting brackets means "show this text if the tags that are between the brackets exists", in your case no tags so no text)
Jimmy_Neuron
Hi cwbowron,

Is it possible to create scripts that convert APE tags into ID3V2 tags on the destination files? Would be great for the mp3 files managed by foobar that have no readable meta data in the mp3 players...
Chaser
With using Y:\%artist%\%album%\%tracknumber% - %title%.$ext(%_path%) and trying to send multiple files foo_sendtodevice first creates a new directory in %artist\%album% (i.e. Linkin Park\Meteora) that is called for example "01 - Foreword.ogg". That is annoying.

What I want to have is:
Create for each album a new folder. Put the songs in the respective folders.

What am I doing wrong?
cwbowron
QUOTE(Chaser @ May 23 2007, 16:15) *

With using Y:\%artist%\%album%\%tracknumber% - %title%.$ext(%_path%) and trying to send multiple files foo_sendtodevice first creates a new directory in %artist\%album% (i.e. Linkin Park\Meteora) that is called for example "01 - Foreword.ogg". That is annoying.

What I want to have is:
Create for each album a new folder. Put the songs in the respective folders.

What am I doing wrong?


There could be a problem with some of the titles containing the | character.
Chaser
Do you need more information? Can I help somehow?

Apart from that: Are you willing to improve this?
cwbowron
QUOTE(Chaser @ May 24 2007, 01:33) *

Do you need more information? Can I help somehow?

Apart from that: Are you willing to improve this?


Well, if its the | problem, its been fixed in the dev version, but I havent released a new version lately.

And if it is that problem, just wrap your whole target device inside a replace function like this: $replace(old_string,|,-)
hybridfan
This is actually an unecessary plugin if you use copy, move or rename feature this can be set up to do the very same thing, I use foobar to copy my music to my Rio Carbon, it works a treat and you can save the preset.
cwbowron
QUOTE(hybridfan @ Jul 16 2007, 07:36) *

This is actually an unecessary plugin if you use copy, move or rename feature this can be set up to do the very same thing, I use foobar to copy my music to my Rio Carbon, it works a treat and you can save the preset.


Can copy, move or rename output a m3u along with the files or transcoded to mp3 on the fly?
start78
sendtodevice copies the files in the same order as they are sorted in the playlist. Since 0.9 the f2k build in copy funktion handles the files in alphabetical order. My old mp3 porty and my Nokia mobile both play the files in the order they where copied to the flash storage.

Just because you don't need it, this plugin is not unnecessary! huh.gif
hybridfan
Sorry guys didn't realise it actually transcodes as well, seems like a good plugin sad.gif sorry
landy
under feature request on your website you list copying of albumart if your going to add that to future versions will you allow the user to set the name/size/format or just copy the art as is?
viniciusferrao
Is any way to use environment variables to set default mp3 conversion location?

Example:

%UserProfile%\Desktop\Music\Conversion

Thx!
RainDawg
Would there be a way to export a certain tag(s) to an external file? Clearly if you are able to transcode then it would be trivial to pass other arguments for output.

Basically, I have a portable mp3 player that supports scrolling lyrics, but cannot read them when they are embedded in file tags, but only when it exists in an external *.lrc file. I do not want to store lyrics in external files on my master audio library, so only want to pull that field out upon copying to my portable device.

Any suggestions?
MiSP
I have a HUGE feature request - support for devices that doesn't get a drive letter. My Creative Zen Touch doesn't get a drive letter, and is instead only listed as the name I've configured it with. I think it has to do with the PlaysForSure firmware. Is this possible at all? I see it's been up before...
Spirit_of_the_ocean
I have a request:
It would be pretty cool if you plugin could check if marked files have a special Codec and settings.
Maybe all files which are not mp3, V2 could be converted to the MP3-Player folder?
It would be cool if you could set those settings.
jenzore
I created a button to send my files to my mp3-player.
But somehow it just works for the active file not for selected files.

Here's my code:

CODE

//added MP3-Player option

            $button2(10,$eval($getpvar(TopAlign1)+$getpvar(TopAlign2)+110),0,0,180,20,
            '$font($getpvar(font),$getpvar(fontsize),$getpvar(shcolor),$getpvar(color1))$ifequal($getpvar(lang),1,Send Active File to Mp3-Player,Insert Spanish Text here)',
            '$font($getpvar(font),$getpvar(fontsize),$getpvar(shcolor2),$getpvar(color2))$ifequal($getpvar(lang),1,Send Active File to Mp3-Player,Insert Spanish Text here)',Send to Device/Default,TOOLTIP:""
Hacko
Hi!

I might be looking into the MTP issue the next days. I won't make any promises - but if somebody else tries to do the same thing: Please contact me, maybe we can learn from each other wink.gif

Thanks!
Hacko
Hi!

So now I have looked into the MTP issue for a few hours... It is WAY more complicated than usual file copying.
I see no justification for putting so much effort into something for achieving such a simple goal (like copying a file from A to B).

I can see why many manufacturers prefer the MTP approach. It takes the burden of tag scanning, cover art, folder traversing, playlist parsing, etc. from the player to the application.

I can also see now, why MTP is not especially liked around here wink.gif
wizel
QUOTE(Hacko @ Aug 31 2007, 17:26) *

Hi!

So now I have looked into the MTP issue for a few hours... It is WAY more complicated than usual file copying.
I see no justification for putting so much effort into something for achieving such a simple goal (like copying a file from A to B).

I can see why many manufacturers prefer the MTP approach. It takes the burden of tag scanning, cover art, folder traversing, playlist parsing, etc. from the player to the application.

I can also see now, why MTP is not especially liked around here wink.gif

Bad news then....
I was really exited when I saw your first post.

Question: is this so much different from the iPod?. There is a foo_pod plugin available, thay may be help tfor inspiration.
bubbleguuum
Great plugin !! I use it to copy and transcode files to my PSP.

Minor request: make the call to lame for transcode not block foobar UI
wizel
cwbowron, would it be possible to add an option to copy the picture from the folder to the device?
I used this external application http://www.anythingbutipod.com/forum/showthread.php?t=7228 but will simplify dramatically the process to have it integrated.
Basic idea is to copy folder.jpg to same folder where music is been copied.
cwbowron
Release 1.1.1

* replace | with _ to avoid problems
* copy album art option - contribution from Hanno Stock
jenzore
QUOTE(jenzore @ Aug 26 2007, 05:07) *

I created a button to send my files to my mp3-player.
But somehow it just works for the active file not for selected files.

Here's my code:

CODE

//added MP3-Player option

            $button2(10,$eval($getpvar(TopAlign1)+$getpvar(TopAlign2)+110),0,0,180,20,
            '$font($getpvar(font),$getpvar(fontsize),$getpvar(shcolor),$getpvar(color1))$ifequal($getpvar(lang),1,Send Active File to Mp3-Player,Insert Spanish Text here)',
            '$font($getpvar(font),$getpvar(fontsize),$getpvar(shcolor2),$getpvar(color2))$ifequal($getpvar(lang),1,Send Active File to Mp3-Player,Insert Spanish Text here)',Send to Device/Default,TOOLTIP:""



Any idea? I didn't figure it out yet.
kabuki
QUOTE(cwbowron @ Sep 7 2007, 16:36) *

Release 1.1.1

* replace | with _ to avoid problems
* copy album art option - contribution from Hanno Stock


thx you for the update, and thx Hanno Stock for the copy of album art.

Do you both think it will be possible in a future
-to use metadatas for the name of image to be copied, something like %album%.jpg...?
-to copy "windows hidden files" (my "folder.jpg" have an 'hidden' attribute, so copy does not work) it works wink.gif
-to use path... ex: "\cover\front.jpg"
-using also "*.jpg" to copy all images
-and multiple choise : "folder.jpg;cover\front.jpg;cover\back.jpg"

Cheers
wizel
Just came from a long WE and found the update.

Thanks both cwbowron and Hanno Stock for the copy album art option.
kabuki
Hi,
Maybe I ve found a bug (sorry if this have been already reported)

When I select few tracks to be sent to, like 4 or 5 albums, everything is correct,
but if i select a big number of tracks (idk exactly from how much tracks the problem appears) all my tracks are copied in a wrong folder named with .mp3 at the end.

Maybe then, i am the only one who have this problem... could you tell me?


Example with this:
CODE
M:\Music\%genre%\$if2(%album artist%,%artist%)\$if(%date%,%date%-,)$if2(%album%,'Singles')\%tracknumber%. %title%.$ext(%_path%)


With few tracks i have:
M:\Electronic\Aphex Twin\2001-Drukqs\
then the tracks :
1. blabah.mp3
2. blobloh.mp3
3. etc...

M:\Rock\The Rolling Stones\1969-Let It Blood\
then the tracks
1. gfhehe.mp3
2. etc...



With a lot of tracks
M\Electronic\Aphex Twin\2001-Drukqs\1. blabah.mp3 (as a folder contening tracks that follow)
then all tracks of all albums selected are included in this root folder, and they are not renamed:
Aphex Twin - Drukqs - 1 - blablah.mp3
Aphex Twin - Drukqs - 2 - blobloh.mp3
...
The Rolling Stones - Let It Bleed - 1 - 1. gfhehe.mp3
etc...


I would be very thanksfull for help or advice.
Cheers
kabuki
OK lol,
I answer to myself.
It was not the number of track selected what causes the mess.
I found the guilty... damn Richie Hawtin (aka Plastikman) and his tracks named with '***'.
So it was not a bug.
Pfff.... wink.gif
Maybe you should also add '*' to be replaced or delete when found in a trackname.
Bye
Chase
QUOTE(kabuki @ Sep 29 2007, 09:32) *

OK lol,
I answer to myself.
It was not the number of track selected what causes the mess.
I found the guilty... damn Richie Hawtin (aka Plastikman) and his tracks named with '***'.
So it was not a bug.
Pfff.... wink.gif
Maybe you should also add '*' to be replaced or delete when found in a trackname.
Bye




I also had this same problem. I concluded it was the number of songs I selected, but it would make sense that special characters could break it, too. It usually happened when I added a lot of items to a playlist to export to my flash player. Usually a few thousand songs or more. I never had the problem when it was a single album, but I haven't tried it with items with '*' in the name (or maybe just didn't notice).

In retrospect, it probably was my Aphex Twin discog that broke it, since I also have some Plastikman on there. wink.gif

Thanks for the info, Kabuki. I know what to avoid adding now, if this is the case.
apfel
Is it possible to add a feature to send folder.jpg with the mp3 files, too?
... and maybe to scaling down the folder.jpg and rename it to cover.bmp?

Edit: Had an old built, sorry.
But second feature would be great.
lo-fi
foo_run services doesn't seem to work in the "Process destination files with:" option.
Are they supported?
cwbowron
Release 1.2.2

* if there's more than 10 files to convert, don't list all of them.
* replace * in filenames with _
plum
This is going to seem like a strange request, but...

I keep all my albums in compressed in rar archives. Is it possible to get your plugin to unrar or unzip the tracks from the archive and then copy the uncompressed tracks to the device?

I'm thinking probably not, but would appreciate your thoughts.
start78
QUOTE(plum @ Dec 14 2007, 08:06) *

I keep all my albums in compressed in rar archives.


Why?
Storing mp3s or any other already compressed audio formats in rar-archives doesn't save hdd-space (in worst case it even needs more than uncompressed).
And if you have wav-files compressed in rar: wav is not a format for audio archiving. FLAC would be a better choice because it supports tags and is especially designed for compressing audio.

I know it's your choice but perhaps until now nobody told you that it doesn't make sense at all. At least i don't know any case where compressing audio-files in rar containers would be a clever solution.


AFAIK foobar supports reading archives. Is there a special reason for using foo_sendtodevice instead of foobars own converter/file util?

Slotos
QUOTE(start78 @ Dec 14 2007, 14:34) *

At least i don't know any case where compressing audio-files in rar containers would be a clever solution.

Continuous sharing on ed2k net is usual reason for storing albums in single-file container.
apfel
@cwbowron Could you add skip feature?
e.g.: If song contains tag skip=1, then dont send this song to device.
cwbowron
QUOTE(apfel @ Dec 17 2007, 14:59) *

@cwbowron Could you add skip feature?
e.g.: If song contains tag skip=1, then dont send this song to device.



I want to keep this component fairly simple, so I dont plan to add features like that. I think its best to let other components generate the list of items to copy, and have sendtodevice simply copy the items.
start78
Can you think of a way making something like that possible through title formating?

Actually i don't need foo_sendtodevice any longer because the handling order in foo_fileops changed back to f2kv0.8 style in the newest f2kv0.9.5b8 (files are now handeled in the order of the playlist instead of alphabeticaly).

But i really liked this plugin because it was easy to use. If you need reencoding or playlist-generation, foo_sendtodevice is your plugin!
MiSP
QUOTE(start78 @ Dec 18 2007, 10:43) *

But i really liked this plugin because it was easy to use. If you need reencoding or playlist-generation, foo_sendtodevice is your plugin!

Only problem is, it won't work with PlaysForSure devices. It would have been perfect if not for that...
hick
Request: In the Copy Cover art section there's a place to put the cover source filename you want to transfer. It would be nice if there was a second (optional) box if you want to use an alternate destination filename. This would allow you to, for example, keep your covers as folder.jpg and transfer them as album_art.jpg to your sansa device that expects to see files with this alternate name.
Hakubo
QUOTE(hick @ Dec 28 2007, 20:57) *

Request: In the Copy Cover art section there's a place to put the cover source filename you want to transfer. It would be nice if there was a second (optional) box if you want to use an alternate destination filename. This would allow you to, for example, keep your covers as folder.jpg and transfer them as album_art.jpg to your sansa device that expects to see files with this alternate name.
I'd like to see that option, too.
spacefish
I've been looking for a Winamp replacement since 5.5x crashes constantly now under Vista x86. The only thing that keeps me still using it is Winamp's AutoFill (portable) functionality, whereby the player will add tracks to the portable automatically (by pressing a button) based on a certain criteria defined in the configuration dialog (e.g. rating >= "3" AND lastplay ISEMPTY; AutoFill albums only; etc.) and the plugin allows transfer by filename (e.g. H:\<Album>\<filename>). Does this Foobar plugin have those capabilities? If not, would they be something you would consider adding in the future? Foobar looks like my best bet for a replacement player but ultimately my switching depends on the portable functionality.

Thanks! smile.gif
alkasar
QUOTE(kabuki @ Sep 8 2007, 20:40) *


thx you for the update, and thx Hanno Stock for the copy of album art.

Do you both think it will be possible in a future
-to use metadatas for the name of image to be copied, something like %album%.jpg...?
-to use path... ex: "\cover\front.jpg"
-using also "*.jpg" to copy all images
-and multiple choise : "folder.jpg;cover\front.jpg;cover\back.jpg"

Cheers

+1

any chance to see this imporved ?
worst case could be to support copy of *.jpg

(Thx for you great work)


l.s
Using this plugin, I personally miss two features:

1. The possibility to define a list of file formats that get copied and only the remaining once would get transcoded (or vice verca).

2. An option to chose the encoding used. Would it not be possible to use the allready there converter compontent to handle that part?

Regards, Lars
Anas
This program is great if offers all the functionallity I need, except... wink.gif
It would be great if the program was able to automatically use the next preset in the list, if the previous one did not work.
This is because I've got different usb devices I copy music on and they have different drive letters, when I plug them.

Thanks a lot cwbowron for this very useful plugin and please consider my request. smile.gif
TedFromAccounting
Where can I get the latest version? The version on the site is from December of 2006, and the changelog on the site only goes up to 1.1.0?
Squeller
I'm also interested. I found 1.1.2 here.
Squeller
Some remarks:

1. Can the plugin be made more responsive? After choosing "yes" after the mp3 conversion question, fb2k is unresponsive for a couple of seconds, I guess it copies stuff to %temp%. Then the lame thread starts, but fb2k cannot be used all the time.

2. Why restrict it to mp3? My target devices (a lot do) also play AAC files. A converter like command line would be nice...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.