How to get files in 'Audiobooks'
I have a few audio books on cd which I have uploaded onto my pc and then trasfered them onto my ipod but I can't figure out how to get them into the audiobook folder. It doesn't come up as a playlist. And it is kind of annoying when I have my ipod on shuffle and your bopping away to a cool song just for it to be followed by a random chapter from a book.
Please help if you can.
Varjak Paw answered my question under the
How do you designate an MP3 as an Audiobook instead of Music?
question.
Thanks, Varrjak
Similar Messages
-
How to get files into audiobooks on iPod
I would like to put some interviews and lectures on my iPod under the audiobooks section. I've been trying to figure out how to do this, but can't find the answer anywhere. What should I do in iTunes to make this work?
Hi. I have an awful lot of lectures, poems etc on my
HD, but itunes and ipod refuse to acknowledge them as
audiobooks, they appear in the normal music folder
instead (same goes for my videos, they are all in the
movies folder). Any ideas how to solve that?
best regards
ekmek
Audiobooks have to be in M4B (protected AAC) format to appear in the audiobooks category on an iPod. If you convert them to AAC from MP3 using iTunes, find the converted version (which will have the extension .m4a) and rename it .m4b (if you can't see the extension in My Computer in XP, you'll need to select "Tools," "Folder Options," "View," then uncheck the option that says "Hide extensions for known file types"). Then drag it to your iPod in iTunes. Keep in mind, transcoding it to AAC means a possible (although likely negligible) quality loss -- I listen to audiobooks in the car, so I don't really notice a difference (or much of one.)
a grey one Windows XP Pro it beeps at me -
How to get file from server while click on link
Hi,
i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
following is the Destination url that i gave for the item.
/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
please tell me how to get file from server while click on link.Ok I got your requirement now.
If you are getting file names from view attribute then you should not be adding destination URI property for the link.
Instead you can use OADataBoundValueViewObject API.
Try below code in your controller processRequest method:
I am assuming that you are using classic table.
Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
OATableBean tableBean =
(OATableBean)webBean.findChildRecursive("<table item id>");
OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
Regards,
Sandeep M. -
How to get file count in variable?
dear all,
how to get file count in variable?
regards
NaseerHi Nazeer ,
It wont take much time .. so simple :- )
Create one os comand step
( for unix) Use
wc -l filename.txt > someoutputfile.txt
Now the number of lines in your file will be there in the output file ( someoutputfile.txt )
Step2 :-
Now use Cezar's logic to fetch the variable value ( file count ) from the output file .. ( select value for a variable from a file )
This will not take eeven a second to finish the job.
Regards,
Rathish A M -
How to get file attribs - on any Mac
ok so if the Mac in question has Developer / Tools - yeah the GetFileInfo binary will work to get the Type and Creator code and other info.... since most Macs dont have this bulky download... how to get file attribute information via Terminal ? How to change it ?
Oddly enough I was just now playing around with a getinfo Applescript and studying the event log when I realized that it does return information about at least some of the attributes. I made the ones that it looks like you can get information about bold:
A Alias file
B Bundle
C Custom icon
D Desktop
E Hidden extension
I Inited
M Shared (can run multiple times)
N No INIT resources
L Locked
S System (name locked)
T Stationary
V Invisible
Z Busy
If you are interested see this thread:
http://discussions.apple.com/message.jspa?messageID=5261906#5261906
The SetFile function is actually available on any Mac that has a recent Tiger updater package installed. Thus I have copies in both the package updaters and the receipts for 10.4.7, .8, .9 and .10 in the /Library/Packages and /Library/Receipts folders. The SetFile command is in the Resources folder:
"/Library/Packages/MacOSXUpd10.4.10PPC.pkg/Contents/Resources/SetFile"
Control click on the .pkg file and select Show contents from the Contextual Menu to get there. Unfortunately I don't know of any way to use some other Terminal command to get information on all the attributes, except the GetFileInfo and using the Applescipt get info function.
Francine
Francine
Schwieder -
How to get File type icon for files store on Amazons3
Hi,
i want to know about how to get file type icons for files that we store on Amazons3.i am a devloper ,i want to make gui for accessing amazons3.
so ,i want to know about how to get file type icons for files that we store on Amazons3.
thanx in advance.hi,
have u heard amazon simple storage service,that provides storage space for
storing files, i am a devloper,i want to know the files that we store on amazon,how we can get file type icon for that files.
i want to sample code in java for this.
thanx in advance. -
How to get file line count.
Hey guys,
How to get file line count very fast? I am using BufferedReader to readLine() and count. But when dealing with big file, say several GB size, this process will be very time consuming.
Is there any other methods?
Thanks in advace!What I'd do is you create an infofetcher, register a listener, implement gotMore() and have that scan for '\n'
Some might suggest getting rid of the listener/sender pattern or use multiple threads to make ii faster. This might help a little, but only if your I/O is super-duper speedy.
you are welcome to use and modify this code, but please don't change the package or take credit for it as your own work.
InfoFetcher.java
============
package tjacobs.io;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Iterator;
* InfoFetcher is a generic way to read data from an input stream (file, socket, etc)
* InfoFetcher can be set up with a thread so that it reads from an input stream
* and report to registered listeners as it gets
* more information. This vastly simplifies the process of always re-writing
* the same code for reading from an input stream.
* <p>
* I use this all over
public class InfoFetcher implements Runnable {
public byte[] buf;
public InputStream in;
public int waitTime;
private ArrayList mListeners;
public int got = 0;
protected boolean mClearBufferFlag = false;
public InfoFetcher(InputStream in, byte[] buf, int waitTime) {
this.buf = buf;
this.in = in;
this.waitTime = waitTime;
public void addInputStreamListener(InputStreamListener fll) {
if (mListeners == null) {
mListeners = new ArrayList(2);
if (!mListeners.contains(fll)) {
mListeners.add(fll);
public void removeInputStreamListener(InputStreamListener fll) {
if (mListeners == null) {
return;
mListeners.remove(fll);
public byte[] readCompletely() {
run();
return buf;
public int got() {
return got;
public void run() {
if (waitTime > 0) {
TimeOut to = new TimeOut(waitTime);
Thread t = new Thread(to);
t.start();
int b;
try {
while ((b = in.read()) != -1) {
if (got + 1 > buf.length) {
buf = IOUtils.expandBuf(buf);
int start = got;
buf[got++] = (byte) b;
int available = in.available();
//System.out.println("got = " + got + " available = " + available + " buf.length = " + buf.length);
if (got + available > buf.length) {
buf = IOUtils.expandBuf(buf, Math.max(got + available, buf.length * 2));
got += in.read(buf, got, available);
signalListeners(false, start);
if (mClearBufferFlag) {
mClearBufferFlag = false;
got = 0;
} catch (IOException iox) {
throw new PartialReadException(got, buf.length);
} finally {
buf = IOUtils.trimBuf(buf, got);
signalListeners(true);
private void setClearBufferFlag(boolean status) {
mClearBufferFlag = status;
public void clearBuffer() {
setClearBufferFlag(true);
private void signalListeners(boolean over) {
signalListeners (over, 0);
private void signalListeners(boolean over, int start) {
if (mListeners != null) {
Iterator i = mListeners.iterator();
InputStreamEvent ev = new InputStreamEvent(got, buf, start);
//System.out.println("got: " + got + " buf = " + new String(buf, 0, 20));
while (i.hasNext()) {
InputStreamListener fll = (InputStreamListener) i.next();
if (over) {
fll.gotAll(ev);
} else {
fll.gotMore(ev);
InputStreamListener.java
====================
package tjacobs.io;
public interface InputStreamListener {
* the new data retrieved is in the byte array from <i>start</i> to <i>totalBytesRetrieved</i> in the buffer
public void gotMore(InputStreamEvent ev);
* reading has finished. The entire contents read from the stream in
* in the buffer
public void gotAll(InputStreamEvent ev);
InputStreamEvent
===============
package tjacobs.io;
* The InputStreamEvent fired from the InfoFetcher
* the new data retrieved is from <i>start</i> to <i>totalBytesRetrieved</i> in the buffer
public class InputStreamEvent {
public int totalBytesRetrieved;
public int start;
public byte buffer[];
public InputStreamEvent (int bytes, byte buf[]) {
this(bytes, buf, 0);
public InputStreamEvent (int bytes, byte buf[], int start) {
totalBytesRetrieved = bytes;
buffer = buf;
this.start = start;
public int getBytesRetrieved() {
return totalBytesRetrieved;
public int getStart() {
return start;
public byte[] getBytes() {
return buffer;
ParialReadException
=================
package tjacobs.io;
public class PartialReadException extends RuntimeException {
public PartialReadException(int got, int total) {
super("Got " + got + " of " + total + " bytes");
} -
How to get File name in Proxy program
Hi,
According to my business scenario, one XML file name comes from Legacy system and stores in a predefined directory. Now XI has to pick up that XML file and needs to call BAPI's which in turn updates the Target system ( SAP Tables).
Now my problem is , XML File name is a combination of three fileds those are DATE , OBJECTKEY AND WORKFLOWNAME.
Ex : YYYYMMDD_1234565789_WORKFLOWNAME.XML
DATE_OBJECTKEY_WORKFLOWNAME.XML
In proxy i need to get the file name and split into three fields ( those are DATE , OBJECTKEY AND WORKFLOWNAME ) which needs to send as import parameters in BAPI's.
So please let me know from anyone in this group how to get the file name in the proxy program.
Thanks & Regards
K. naveen KumarHi,
have a look at my new weblog:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
to see how you can access filename
Regards,
michal -
How to get file input stream from the client machine by JSF Fileupload API?
Dear Friends,
How to get the file input stream from the client machine by JSF HtmlFileupload or fileupload API. At present, if i execute the file upload code in the client machine, it is able to get the local path of the file and looking for the file in server machine. So i am getting FileNotFoundException.
E.g., If a file is located at client machine at following location means "C:\Test\Test.txt",
uploadClass.getFileuploadComponent().getFilename().toString() returns "C:\Test\Test.txt". But it is looking for that file in server and throwing FileNotFoundException.
Please post your replies soon.
Thanks,
JPDepends on which version of JSF you're using. If JSF 1.2, I wouldn't even bother trying to hack this into JSF itself unless you can use something like Seam 2 or richfaces.
http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_fileUpload.html
http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/controls.html#d0e29259 (look for s:fileUpload)
But if I were you, a simple non-jsf form with a servlet works best for taking file uploads.
As for JSF 2.0, there are other ways of getting it done.
http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html -
How to Get File type in webdynpro abap
Hi,
I am using File Upload UI element of webdynpro ABAP to upload data into SAP table. I want that the file type should only be tab delimited. How to get the file type to validate the same.
Regards,
Dhiraj Mehtahi,
just follow the link :
http://help.sap.com/saphelp_40b/helpdata/en/2a/fa02b7493111d182b70000e829fbfe/content.htm
Hope this will help u!!!
thanks & regards,
punit raval. -
How to get File object from Document Object . ?
In conventional Dom Parsing we pass file to DocumentBuilder to get Document Object .
File file = new File("c:\\MyXMLFile.xml");
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(file); // gOT Document here . My problem is how do i get File object back from Document . If i have Document object with mi.
Please consider above code as example i dont have File object in my code . i am using Xhive DB API where i get Document directly from API method .
I need to convert this Document to File to get size of file
Please suggest solution on this
Edited by: AmitChalwade123456 on Dec 5, 2008 6:10 AMHello Guys any views on this topic
-
How to get file names of processes
i am writing an application engine for monitoring ps jobs and processes i want to send an email to support group with log file if any process runs to error. Can anybody tell me how to get the log/trace files generated for each process. i tried many ways but did not get any clue would greatly appreciate for giving me information.
thanks
shivYes man it is possible, follow these steps if you want to automate process monitoring:
1. Create a view for retrieving all the processes which are errored in a specific time for example 180 minutes. You can use all the following record for various information about a process or job
PSPRCSRQST,PSOPRDEFN, PS_PRCSDEFN, PSPRCSPRFL, XLATTABLE_VW
2. Create a table to store the process instance which was last monitored
3. In application engine access the view which you have created in step 1, this view will give you all the processes which got errored out.
4. In application engine use SendMail function to send an email with the process instance details which are errored out.
5. After reading last row from the view update the table which you created in step 2 with the process instance you have read in last.
This design should be able to send an email to support group if the process is errored out.
Jayaprakash Tedla
Sr. Architect - PeopleSoft -
How to get File Reference of a properties file from EJB
Hi,
I am using Sun App server 7 with Oracle 9i. I am keeping all my SQL statements in a properties file from which I am loading it while making a database operation from Stateless beans. My problem is I am not able to get the reference of the properties file. Here is the code through which I am getting the SQL statements loaded to a cache.
String sqlFileName = "SQL.properties";
sqlCache.load(new FileInputStream(sqlFileName));
From the cache I am sending the SQL statement depending on the key value. But the problem is I have to keep the SQL.properties file on the App Server config directory of the instance where the server.xml file resides. Otherwise it is not able to find the properties file. But I don't want to put the properties file on the config directory of the server instance. Please help how to get the properties file from the packakge. My file is residing inside a package com.company.sql . Botht the properties file and the class accessing the file are residing in the same package. Please help how to get the reference of the file with out putting the file in the config directory.
Thanks
Amit PatnaikJust wanted to warn you of the hazards if you read a file from EJB
So please make sure that these hazards will not affect your application. However the solution suggested to use getResourceStream() concurs with ejbSpec
This snippet is from suns blueprint on ejb
Why can't EJBs read and write files and directories in the filesystem? And why can't they access file descriptors?
Enterprise beans aren't allowed to access files primarily because files are not transactional resources. Allowing EJBs to access files or directories in the filesystem, or to use file descriptors, would compromise component distributability, and would be a security hazard.
Another reason is deployability. The EJB container can choose to place an enterprise bean in any JVM, on any machine in a cluster. Yet the contents of a filesystem are not part of a deployment, and are therefore outside of the EJB container's control. File systems, directories, files, and especially file descriptors tend to be machine-local resources. If an enterprise bean running in a JVM on a particular machine is using or holding an open file descriptor to a file in the filesystem, that enterprise bean cannot easily be moved from one JVM or machine to another, without losing its reference to the file.
Furthermore, giving EJBs access to the filesystem is a security hazard, since the enterprise bean could potentially read and broadcast the contents of sensitive files, or even upload and overwrite the JVM runtime binary for malicious purposes.
Files are not an appropriate mechanism for storing business data for use by components, because they tend to be unstructured, are not under the control of the server environment, and typically don't provide distributed transactional access or fine-grained locking. Business data is better managed using a persistence interface such as JDBC, whose implementations usually provide these benefits. Read-only data can, however, be stored in files in a deployment JAR, and accessed with the getResource() or getResourceAsStream() methods of java.lang.Class.
Hope this info helps! -
How to get file name on the base of extension
hi
reply me
how to get the filename on the base of extension from the
current directory......
for example
i create file with the "igg" extension and save in the folder
where the exe file of director save....
i want when exe run then exe file read filename of the
define( "igg" ) extension with out path just name of the file with
igg extension
tel me how
regards
farhana khanHere's a solution that requires no xtras:
on GetFilesWithExtension(aFolderPath, aExtension)
-- INPUT: <aFolderPath> should be a valid string
folder path
-- <aExtension> may be a string file extension,
without the
-- dot. For example: "txt" or "igg"
-- OUTPUT: Returns an error symbol or a linear list of file
names
-- in the given folder. If an extension is given, only
-- files with the given extension will be listed. If not,
-- all files and folders will be listed.
vFileList = []
if not stringP(aFolderPath) then
return #stringPathExpected
end if
vIgnoreExtension = not stringP(aExtension)
vDelimiter = the itemDelimiter
the itemDelimiter = "."
n = 0
repeat while TRUE
n = n + 1
vFileName = getNthFileNameInFolder(aFolderPath, n)
if vFileName = "" then
exit repeat
end if
if vIgnoreExtension then
vFileList.append(vFileName)
else if the last item of vFileName = aExtension then
vFileList.append(vFileName)
end if
end repeat
the itemDelimiter = vDelimiter
return vFileList
end GetFilesWithExtension
You can also use
Buddy API's baFileList,
which allows you to do wildcard searching. -
Hi ,
How to get the file encoding type,
for example file is saved with the .txt and encoding is utf-8 and another file is saved .txt with encoding is ascii,
actually before reading the file i want idetify the encoding type
please help me it is very urgent for me..
thanks in advanceAs there is no established regime for signing most encoding types, the only way to do this is to start parsing the file in one encoding, see if you get something that makes sense, and if not try another encoding, and so on. I.e. you have to code it yourself and even then it is not usually reliable. Sorry.
Drake
Maybe you are looking for
-
HT1655 My computer is not recognizing my 4th generation Ipod shuffle
My computer is not recognizing my new 4th generation IPOD Shuffle
-
Sending the fault message payload to sender using BPM.
I have the scenario where BPM splits a file into multiple record and each record calls webservice. For a successfull call a success response is generated by web service . For a failed transaction a fault message is sent back which needs to be deliver
-
Form9i about username and password in URL
hi all i need to hide the user name and password that comming in URL "http://192.168.1.100:8888/forms90/f90servlet?form=C:\ver6\MODULE1.fmx&userid=SCOTT/TIGER@orcl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES" Pleas
-
How get DOCTYPE name when parsing XML Doc?
My XML document has this: <!DOCTYPE Users SYSTEM "Users.dtd" []> So the name of this document's type is "Users", i.e. it is a Users document. However, I cannot figure out how to get that during parsing! I have set the following (and implemented all t
-
Netconfig job on the interface level
I am trying to create a netconfig job to remove ip helpers from my vlan interfaces. Is this possible? How can this be accomplished? Thank you for your input.