Re: Org and Multimedia..?

2022-12-12 Thread Ihor Radchenko
David Masterson  writes:

> Is it possible to attach (say) an image to a task?

> I'd like to use images to help explain tasks better (or just remind me
> what my intention was).  I imagine you could do something with file
> links, but is there a defined method?  Issues:

https://orgmode.org/manual/Attachments.html ?
Or just use file links to images stored alongside the org file in the
folder.

> 1. Directory structure containing Org / Media files
> 2. Syncing images with Org files to other systems
> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 

You can store attachments/separate files in "data/" or "images/" folder
near the Org file. Then, sync the files as usual.

I am not sure if BeOrg/Orgzly support inline images, but it is probably
the feature they are going to implement eventually.

> 4. Any add-on packages that would help

Looks like built-ins should be sufficient.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: Org and Multimedia..?

2022-11-30 Thread David Masterson
Marcin Borkowski  writes:

> On 2022-11-30, at 20:35, David Masterson  wrote:
>
>> Is it possible to attach (say) an image to a task?
>>
>> I'd like to use images to help explain tasks better (or just remind me
>> what my intention was).  I imagine you could do something with file
>> links, but is there a defined method?  Issues:
>>
>> 1. Directory structure containing Org / Media files
>> 2. Syncing images with Org files to other systems
>> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
>> 4. Any add-on packages that would help
>
> More like a PoC and/or potential source of inspiration than something
> genuinely useful, but let me plug this:
> https://mbork.pl/2018-08-18_Embedding_files_in_Org-mode_revisited

Hmm. The problem mentioned previously, though, is that the Org files
could become exceedingly huge as you import photos for your tasks.
Although it solves the sync issue (just sync as you did previously), the
sync times could become quite big.

-- 
David Masterson



Re: Org and Multimedia..?

2022-11-30 Thread David Masterson
Mark Barton  writes:

>> On Nov 30, 2022, at 11:35 AM, David Masterson  wrote:
>> 
>> Is it possible to attach (say) an image to a task?
>> 
>> I'd like to use images to help explain tasks better (or just remind me
>> what my intention was).  I imagine you could do something with file
>> links, but is there a defined method?  Issues:
>> 
>> 1. Directory structure containing Org / Media files
>> 2. Syncing images with Org files to other systems
>> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
>> 4. Any add-on packages that would help
>> 
>> -- 
>> David Masterson
>> 
>
> I use a link in my tasks in Org mode that will open a DEVONthink
> object. Which could be an image, pdf, email, or DEVONthink group
> related to my task. In my case DEVONthink runs on my Mac and ios
> devices, so that link works from Emacs org mode on the Mac as well as
> from BeOrg on ios.

Hmm.  I'll have to think about that, but DEVONthink is rather expensive.

> You might be able to do something similar with other software you have
> running your devices that allows a single link to work on all the
> devices.

I'll try to find simpler software that I can hook to Org / BeOrg.

> Mark

Thanks

-- 
David Masterson



Re: Org and Multimedia..?

2022-11-30 Thread Marcin Borkowski


On 2022-11-30, at 20:35, David Masterson  wrote:

> Is it possible to attach (say) an image to a task?
>
> I'd like to use images to help explain tasks better (or just remind me
> what my intention was).  I imagine you could do something with file
> links, but is there a defined method?  Issues:
>
> 1. Directory structure containing Org / Media files
> 2. Syncing images with Org files to other systems
> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
> 4. Any add-on packages that would help

More like a PoC and/or potential source of inspiration than something
genuinely useful, but let me plug this:
https://mbork.pl/2018-08-18_Embedding_files_in_Org-mode_revisited

Best,

-- 
Marcin Borkowski
http://mbork.pl



Re: Org and Multimedia..?

2022-11-30 Thread Mark Barton



> On Nov 30, 2022, at 11:35 AM, David Masterson  wrote:
> 
> Is it possible to attach (say) an image to a task?
> 
> I'd like to use images to help explain tasks better (or just remind me
> what my intention was).  I imagine you could do something with file
> links, but is there a defined method?  Issues:
> 
> 1. Directory structure containing Org / Media files
> 2. Syncing images with Org files to other systems
> 3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
> 4. Any add-on packages that would help
> 
> -- 
> David Masterson
> 

I use a link in my tasks in Org mode that will open a DEVONthink object. Which 
could be an image, pdf, email, or DEVONthink group related to my task. In my 
case DEVONthink runs on my Mac and ios devices, so that link works from Emacs 
org mode on the Mac as well as from BeOrg on ios.

DEVONthink is not free though. I used to use Omnifocus and it supported media 
in the tasks, but that quickly presented a new problem with syncing such large 
volumes of data. I also found that I needed that media as reference after the 
task was done, so I would have to store it else where too. That is when I took 
the advice and separated the tasks from the reference material from a storage 
perspective and integrated them with links instead. When I migrated to Emacs 
and Org mode, I used the same strategy of links.

Below is an example of such a link where I reference the email I sent to 
Shannon that is associated with the task.

 DONE Shared a copy of the Directory Inventory spreadsheet with Shannon.
CLOSED: [2022-11-30 Wed 11:53]
[[x-devonthink-item://%3C8403DA9F-CDFB-4A6F-9CC5-C33D88290E42%40disney.com%3E][directory
 inventory.eml]]

You might be able to do something similar with other software you have running 
your devices that allows a single link to work on all the devices.

Mark




Org and Multimedia..?

2022-11-30 Thread David Masterson
Is it possible to attach (say) an image to a task?

I'd like to use images to help explain tasks better (or just remind me
what my intention was).  I imagine you could do something with file
links, but is there a defined method?  Issues:

1. Directory structure containing Org / Media files
2. Syncing images with Org files to other systems
3. In particular, syncing to smart phones (BeOrg, Orgzly, ...) 
4. Any add-on packages that would help

-- 
David Masterson



Re: Org and multimedia (tips?)

2022-05-04 Thread TRS-80
Juan Manuel Macías  writes:

> Hi all,
>
> I've been trying for a while to use Org also to store and org-anize the
> data of my music and video files, so that I can conveniently access them
> via helm-org-ql and play them using EMMS.

I mean, I love Org just as much as anyone else on this list, but it does
not strike me as the right tool for this job?

In my mind anyway, I think first -- especially since you are storing
your files on an SBC on the network -- about some network based music
player like mpd or Mopidy (there are others, too).

There are many interfaces to those, including some in Emacs (maybe even
within EMMS, if I am recalling correctly).

But then you can also access your music from outside Emacs, too.  And
without needing to hack something up / re-invent the wheel in Org.

However, if you like to hack something up in Org instead, by all means,
continue!  :)

Cheers,
TRS-80




Re: Org and multimedia (tips?)

2022-03-19 Thread Juan Manuel Macías
Max Nikulin writes:

> org-web-tools is an interesting project, but if you have access to
> files it should be easier to extract all meta information directly
> using e.g.
>
> exiftool -json file.mp3
>
> or another tool suitable to particular format. It seems emms has
> interface to various tools.
>
> P.S. You may try to adapt common LISP implementation of ID3 parser
> https://gigamonkeys.com/book/practical-an-id3-parser.html

Maxim, thanks a lot for the ideas. I take note. The reason for using
org-web-tools is that the web page that GNUMP3d serves is extremely
simple, with an alphabetical list of artists, titles, and links to the
.m3u to stream. The list is easily reusable in Org. In the end I managed
to write a function to create in each node a property drawer with
album title, date and artist, accessing each m3u and obtaining the
information with ffprobe (screenshot: https://i.imgur.com/1ALe4Ah.png).

Best regards,

Juan Manuel 



Re: Org and multimedia (tips?)

2022-03-18 Thread Max Nikulin

On 18/03/2022 05:44, Juan Manuel Macías wrote:


What I do is quite simple and rudimentary. For example, I have all my
music files stored on a hard drive on my Raspberry. As a media server I
use GNUMP3d, which is pretty clunky and outdated, but it works fine and
is very easy for me to administer. GNUMP3d serves a local web page with
the list of titles and artists. I convert that web to an Org node using
org-web-tools (https://github.com/alphapapa/org-web-tools), and some
extra elisp to clean up inconsistencies and format everything so that
each artist/title is a sub-tree. The process is not quite fine-tuned: I
have to see how labels and properties could be added automatically:
music gender, year, etc.
org-web-tools is an interesting project, but if you have access to files 
it should be easier to extract all meta information directly using e.g.


exiftool -json file.mp3

or another tool suitable to particular format. It seems emms has 
interface to various tools.


P.S. You may try to adapt common LISP implementation of ID3 parser 
https://gigamonkeys.com/book/practical-an-id3-parser.html





Org and multimedia (tips?)

2022-03-17 Thread Juan Manuel Macías
Hi all,

I've been trying for a while to use Org also to store and org-anize the
data of my music and video files, so that I can conveniently access them
via helm-org-ql and play them using EMMS. I was wondering if anyone is
trying this too, and thought maybe it would be nice to share tips and
hacks.

What I do is quite simple and rudimentary. For example, I have all my
music files stored on a hard drive on my Raspberry. As a media server I
use GNUMP3d, which is pretty clunky and outdated, but it works fine and
is very easy for me to administer. GNUMP3d serves a local web page with
the list of titles and artists. I convert that web to an Org node using
org-web-tools (https://github.com/alphapapa/org-web-tools), and some
extra elisp to clean up inconsistencies and format everything so that
each artist/title is a sub-tree. The process is not quite fine-tuned: I
have to see how labels and properties could be added automatically:
music gender, year, etc. I have also defined a new type of link to be
able to play the content (*.m3u) via EMMS[1], and I have also added a new
action to helm-org-ql. Finally, in another section I am also storing
links to radio stations, TV, single songs (captured with org-capture),
etc. I have also found 'sacad' useful for downloading the cover art
(https://github.com/desbma/sacad).

This is my system for organizing my media files in Org. If anyone is
interested, I can expand on specific details. And here, a couple of
screenshots:

https://i.imgur.com/NKybgPV.png

https://i.imgur.com/DtfoyZl.jpg

[1]
#+begin_src emacs-lisp
  (org-link-set-parameters
   "url-media"
   :follow (lambda (path) (emms-play-url path))
   :face '(:foreground "chocolate" :weight bold :underline t))
#+end_src

Best regards,

Juan Manuel