Menu

Getting DiscoDune to work

Wacko37
2012-11-17
2013-12-12
  • Wacko37

    Wacko37 - 2012-11-17

    boblemar,

    As requested i have brought the discussion to this forum.

    I have got discodune to build the library...(Thanks). when i hit publish... should i see any changes in the discodune(publish) folder ??

    I don't see any change in this folder...

    Also i'm guessing on my Dune player i need to access my Nas via SMB.... navigate to the DiscoDune(publish) folder and select a certain file??

    I apologise for the NOOB questions

     
  • boblemar

    boblemar - 2012-11-19

    No problem to help you.
    I would be proud someone else but me use discodune.
    To answer your questions :
    - yes, when you click on publish, there may be changes in the publish folder... but it can take some minutes.
    I suggest you try to publish to a local folder (c:\tmp on windows or /home/user/tmp on GNU/Linux for instance). You should see changes in this folder.
    If this works, you should try to open your NAS publish path using a file explorer and try to create a folder in it to be sure you have write rights.

    • From your dune player, you need to access (I do it via smb) the publish folder. That should be enough...
     

    Last edit: boblemar 2012-11-19
    • Wacko37

      Wacko37 - 2012-11-24

      Sorry mate.... but i cant get the library to publish at all.

      have tried everything you suggested but no luck.

      my "publish path" is in the same location as my "music folder" Path so I know there is no problem with Java accessing this location.

      I have also tried a folder on my Windows PC and still no look.

      Sadly I am giving up (as I do not have the skills to complete) but I will watch closely for any updates.

       
  • boblemar

    boblemar - 2012-11-24

    It is a really bad idea to choose to publish in the same directory than the music folder... because discodune delates everything in the publish folder before publishing.
    I think, you are luky this didn't work : if it had worked it would have deleted all your music (I should have a verification for this) !
    Can you give me your discodune.properties file for me to have a look ?
    could you also test in console mode to see if there is something in the output ?
    java - jar discodune.jar process-no-ui verbose
    I m sure the solution is near...

     
  • Balazs

    Balazs - 2013-04-10

    Hi!

    I need some guidance how to setup DiscoDune so that it access the music files stored in a NAS through SMB protocol.

    Example path is: smb://music\:wasmyfirstlove@192.168.20.100/music/

    smb:// --> ok, we use SMB protocol, right?

    And what is the story with the remaining of the path with the IP address and the "\"-s and "/"-s?
    Do I always have to specify an IP? (the IP of the NAS?)

    Ok I found some guideance --- will try soon:
    Access path from dune = smb://username:password@192.168.1.??/Multimedia/Music

    Thanks,
    Balazs

     

    Last edit: Balazs 2013-04-10
    • boblemar

      boblemar - 2013-04-10

      You're welcome ;)
      I think the '\' before the ':' is an error.
      If you don't want to use IP the NAS name should work as well.
      bblmr

       
  • Balazs

    Balazs - 2013-04-21

    Hi!

    I need some help to set up DiscoDune:

    Error #1:
    After manualy modifying the discodune.properties file like this:
    ...
    music-folder=\MYBOOKLIVE\Public\Shared Music\Electronic
    access-path-from-dune=smb://admin:not_public/MYBOOKLIVE/Shared Music/Electronic/
    publish-folder=\DUNE\STORAGE_f69ef\DiscoDune
    ...

    and staring DiscoDune from a command window ("java -jar discodune.jar") under win7/64, the tool starts but after calling up the "Configuration" window, my backslashes disappear from the input fields.
    (Example what I see: "Music folder path = \MYBOOKLIVEPublicShared MusicElectronic")

    I see Java exception when I try to save after putting back my backslashes. I send it to you via e-mail if it helps.

    Error #2:
    After correcting my backslashes, I can build my database, cool! .... but "publish" fails:
    process stops at 0%, nothing is get written into the DUNE folder, probably the publish folder is incorrect - or authorization issues? But discodune should recognize it and ask me to correct it.

    Thanks for the great tool anyway - I wish to use it some day :)))

    Cheers, and keep up the great work,
    Balazs

     
  • boblemar

    boblemar - 2013-04-24

    Hi !
    Have you corrected the backslashes for publish-folder too ?
    I believe you're on MS Windows and publish-folder should be \DUNE\STORAGE_f69ef\DiscoDune.
    If so, I think there is an authorization issue to this folder.
    If you run \DUNE\STORAGE_f69ef in a file explorer, it doesn't fail ?

     
  • benpearl

    benpearl - 2013-12-10

    Hi !

    First of all thanks for this brillant idea because I didn't found any simple solution to create music library on my dune before !

    I need help to publish my library.
    Actually discodune (3.0.0) success to scan my music folder and build the library, but when I want to publish it, the process stops without error message.

    To help, this is the content of the console (they are tests directories, both local, on my windows xp system). (I precise that I have absolutely no skills in java programming...) :

    D:\Downloads\discodune-3.0.0>java -jar discodune.jar process-no-ui verbose
    Discudune has started building the library
    Discodune is building the library (0 / 2 tasks done (0,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (0 / 3 tasks done (0,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (1 / 3 tasks done (33,33%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has built the artist "Aerosmith"
    Discodune is building the library (2 / 3 tasks done (66,67%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (2 / 4 tasks done (50,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has built the record "Aerosmith - 1973 - Dream On" (Aerosmith)
    Discodune is building the library (3 / 4 tasks done (75,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (3 / 5 tasks done (60,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (3 / 6 tasks done (50,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (4 / 6 tasks done (66,67%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (4 / 7 tasks done (57,14%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (4 / 8 tasks done (50,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (4 / 9 tasks done (44,44%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (4 / 10 tasks done (40,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (5 / 10 tasks done (50,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (5 / 11 tasks done (45,45%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (5 / 12 tasks done (41,67%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (5 / 13 tasks done (38,46%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (5 / 14 tasks done (35,71%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (5 / 15 tasks done (33,33%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (5 / 16 tasks done (31,25%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune is building the library (6 / 16 tasks done (37,50%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 07 - Pink Acoustic.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the artist
    "Aerosmith"
    Discodune is building the library (7 / 16 tasks done (43,75%) in 0:00:00 (estimation: 0:00:01 remaining)
    Discodune has added the track "Aerosmith - Dream On - 04 - Hole In My Soul.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the artis
    t "Aerosmith"
    Discodune is building the library (8 / 16 tasks done (50,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 10 - The Other Side.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the artist
    "Aerosmith"
    Discodune is building the library (9 / 16 tasks done (56,25%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 06 - Janie's Got A Gun.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the art
    ist "Aerosmith"
    Discodune is building the library (10 / 16 tasks done (62,50%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 01 - Dream On.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the artist "Aero
    smith"
    Discodune is building the library (11 / 16 tasks done (68,75%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 02 - Fallen Angels.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the artist
    "Aerosmith"
    Discodune is building the library (12 / 16 tasks done (75,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 03 - Fly Away From Here(1).mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the
    artist "Aerosmith"
    Discodune is building the library (13 / 16 tasks done (81,25%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 09 - Spiderman ThÞme.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the artis
    t "Aerosmith"
    Discodune is building the library (14 / 16 tasks done (87,50%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 08 - Rag Doll.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream On" of the artist "Aero
    smith"
    Discodune is building the library (15 / 16 tasks done (93,75%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune has added the track "Aerosmith - Dream On - 05 - I Don't Wanna Miss A Thing (Li.mp3" to the format "MP3" of the volume "Aerosmith - 1973 - Dream On" of the record "Aerosmith - 1973 - Dream O
    n" of the artist "Aerosmith"
    Discodune is building the library (16 / 16 tasks done (100,00%) in 0:00:00 (estimation: 0:00:00 remaining)
    Discodune library built in 0:00:00
    Discudune has started checking for modifications
    Discodune has checked record Aerosmith / Aerosmith - 1973 - Dream On (5 / 6 tasks done (16,65%) in 0:00:00 (estimation: 0:00:00 remaining). Should be published : true.
    Discudune has checked for modifications in 0:00:00
    Discodune has started publishing the library
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask.report(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at discodune.MusicLibraryPublisher.process(MusicLibraryPublisher.java:112)
    at discodune.Discodune.process(Discodune.java:222)
    at discodune.Discodune.main(Discodune.java:252)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
    Caused by: java.lang.NullPointerException
    at discodune.skin.Skin.copyFileOrResourceTo(Skin.java:521)
    at discodune.skin.Skin.copyRecordIconTo(Skin.java:555)
    at discodune.MusicFormat.publishToDune(MusicFormat.java:211)
    at discodune.MusicItemPublisherTask.computeTask(MusicItemPublisherTask.java:81)
    at discodune.MusicItemTaskWithPreliminaryTasks.call(MusicItemTaskWithPreliminaryTasks.java:88)
    at discodune.MusicItemPublisherTask.call(MusicItemPublisherTask.java:86)
    at discodune.MusicItemTaskWithPreliminaryTasks.call(MusicItemTaskWithPreliminaryTasks.java:1)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: input == null!
    at java.util.concurrent.FutureTask.report(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at discodune.MusicLibraryPublisher.process(MusicLibraryPublisher.java:112)
    at discodune.Discodune.process(Discodune.java:222)
    at discodune.Discodune.main(Discodune.java:252)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
    Caused by: java.lang.IllegalArgumentException: input == null!
    at javax.imageio.ImageIO.read(Unknown Source)
    at discodune.MusicFormat.buildBackgroundImage(MusicFormat.java:283)
    at discodune.MusicFormat.publishToDune(MusicFormat.java:219)
    at discodune.MusicItemPublisherTask.computeTask(MusicItemPublisherTask.java:81)
    at discodune.MusicItemTaskWithPreliminaryTasks.call(MusicItemTaskWithPreliminaryTasks.java:88)
    at discodune.MusicItemPublisherTask.call(MusicItemPublisherTask.java:86)
    at discodune.MusicItemTaskWithPreliminaryTasks.call(MusicItemTaskWithPreliminaryTasks.java:1)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Thanks,

    Ben

     
  • boblemar

    boblemar - 2013-12-10

    Thank you for (trying to) using discodune.
    It's been a long time since I touched the code...
    I looked at your issue. It seems record icon can't be copied, but I don't know why. Normally, if there is no icon, the defaut icon is used.
    Anyway, there was something not clean at this point. I did some changes (3.0.1). I'm not sure it will soluce your problem, but we'll go a little further.

    Let me know the results.

    bblmr

     
  • benpearl

    benpearl - 2013-12-12

    Hi

    I finally get it to work ! Best results and performance with linux (even with an older machine than with my iMac that blocked at the end of process), executing the .jar as root via the terminal. I have put my Dune to do that in slave USB because my Music folder is in the internal hard drive, and was published in an other folder of this same hard drive too.

    An advice for other users, be very careful by writing the correct paths for each folder, pay especially attention with slashes and backslashes (UNIX/windows systems).

    An other issue I get is that I can't write the "access-path-from-dune" beginning with "storage_name://". Hopefully the Dune considers it's the root of the same volume when the path is like "/all my media/my music". (It seems like it's because of my Dune player because I guess it should work ?)

    Finally I wanted to remote control it with Dune Media Controller app on android but for the moment it fails :
    - I can't see the captions of the playlist of a record, so I can't choose a song
    - When I click the empty place left (at the place of the playlist) it want to load the full playlist beginning by the first song (good point) but the Dune player stops because it say's it cant find the media url "storage_name://my storage name/my folder/my song.mp3".
    In fact this remote control app ask to get the folder by smb url, network folder, or storage name. There are no other options so I selected the storage name option, but it seems one more time to be a problem of my Dune player ...

    Thanks for reading.

    Ben

     

Log in to post a comment.